* {
  font-family: "Delius", serif;
  font-style: normal;
}
.carousel-img-size {
  height: auto;
  height: 100vh !important;
  justify-content: center;
  object-fit: cover;
}

@media (max-width: 768px) {
  .carousel-img-size {
    height: auto !important;
    object-fit: cover;
  }
}
.navbar {
  transition: background-color 1s ease, box-shadow 0.9s ease;
  backdrop-filter: blur(2px);
}

.navbar.navbar-expanded {
  background-color: #88bc19;
}

.navbar.scrolled {
  background-color: #88bc19;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-collapse {
  justify-content: center;
}

.navbar-nav .nav-link {
  font-size: 18px;
  font-weight: bold;
  color: white;
}

.navbar-nav .nav-link:hover {
  color: #007bff;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  opacity: 0;
  visibility: hidden;
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #88bc19;
  color: white;
}
@media (min-width: 768px) {
  .logo {
    margin-left: 100px;
  }
}

#imageModal .modal-dialog {
  max-width: 42%;
}

.custom-img {
  width: 100%;
  height: auto;
  border-radius: 15px;
}

#imageModal .modal-content {
  background-color: #f7f7f7;
  border-radius: 15px;
}

#imageModal .modal-header {
  background-color: #ffffff;
  color: white;
}

#imageModal .modal-body {
  background-color: #fff;
  padding: 20px;
}

.custom-img-container {
  background-color: #e0e0e0;
  padding: 20px;
  border-radius: 20px;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 768px) {
  #imageModal .modal-dialog {
    max-width: 100%;
  }

  .custom-img-container {
    padding: 15px;
    border-radius: 15px;
  }
}

.icon_whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  transition: transform 0.2s ease;
}

.icon_whatsapp img {
  width: 80px;
  height: 80px;
}

.icon_whatsapp:hover img {
  transform: scale(1.2);
}

.anuncio {
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3);
}

.anuncio-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 5px;
  border-radius: 10px;
  width: 40%;
  text-align: center;
}
.anuncio-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
}
.close {
  color: #000000;
  float: right;
  font-size: 30px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .anuncio {
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.3);
  }

  .anuncio-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 5px;
    border-radius: 10px;
    width: 80%;
    text-align: center;
  }
  .anuncio-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  .close {
    color: #000000;
    float: right;
    font-size: 30px;
    font-weight: bold;
  }
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
}

#request-certificates-modal {
  position: fixed;
  z-index: 1000000;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.3);
}

.request-certificates-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  width: 40%;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.request-certificates-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

/**/

.separador .col {
  width: 100%;
  height: 130px;
  align-content: center;
  margin: 10px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .separador .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 10px;
    font-size: 18px;
  }

  .separador .col img {
    max-width: 100%;
    height: auto;
  }
}

/**/

.servicios {
  background-color: #0494e6;
  padding-top: 20px;
  padding-bottom: 20px;
  color: white;
  justify-items: center;
}
.servicios h5 {
  text-align: center;
}

.servicios .card-img {
  width: 100%;
  height: 200px;
}

.servicios .card {
  border-radius: 25px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .col-md-3 {
    width: 100%;
    margin-bottom: 15px;
  }

  .card-body {
    padding: 10px;
  }

  h5 {
    font-size: 1.2rem;
  }

  .card-text {
    font-size: 0.9rem;
  }
}

/**/

.responsive-video-container {
  max-width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.dreams-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background-color: #d9f2ff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-image: url("/image/1.jpg");
  background-size: cover;
  background-position: center;
}

.text-section h1 {
  color: #007bff;
  font-size: 35px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  margin: 20px;
  text-align: left;
}

.video-section iframe {
  width: 700px;
  height: 450px;
  border-radius: 15px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .dreams-section {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url("/image/1.jpg");
  }

  .text-section {
    font-size: 1.5rem;
    text-align: center;
    flex: 1 1 100%;
  }

  .video-section iframe {
    width: 100%;
    height: 200px;
  }
}

/**/
.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

.events {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.card {
  margin: 15px 5px;
  border: 1px solid #ddd;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.3);
}
.card-img-top {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.card:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .carousel-inner {
    text-align: center;
  }
  .card-body {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .calendar-container {
    margin-top: 10px;
  }
  .calendar-text {
    font-size: 14px;
  }
}

/* Calendario */
.calendar-icon {
  width: 100px;
  height: 100px;
  background-color: #e0e0e0;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.calendar-header {
  background-color: #f44336;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.rings {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 9px;
}

.ring {
  width: 14px;
  height: 14px;
  background-color: #757575;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.calendar-body {
  flex-grow: 1;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.calendar-text {
  color: #212121; /* Gris oscuro */
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/**/
.aliados .col {
  width: 100%;
  height: 100px;
  align-content: center;
  margin: 15px;
}

.aliados h1 {
  margin-top: 20px;
  color: #0494e6;
}

@media (max-width: 768px) {
  .aliados .col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin: 10px;
    font-size: 18px;
    object-fit: contain;
  }

  .aliados .col img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }
}
/**/
.gallery-container {
  background-color: #0494e6;
  padding: 30px;

  color: white;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
/**/
.footer-custom {
  background-color: #88bc19;
  padding-top: 20px;
}

.footer-custom .copyright {
  margin-top: 15px;
}

.footer-logo {
  width: 100%;
  max-width: 150px;
  height: auto;
}

.footer-custom a.text-white {
  color: #ffffff;
  text-decoration: none;
}

.footer-custom iframe {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 100%;
}

@media (max-width: 768px) {
  .footer-custom iframe {
    height: 200px;
  }
}

/* From Uiverse.io by Praashoo7 */
.main {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.up {
  display: flex;
  flex-direction: row;
  gap: 0.4em;
}

.down {
  display: flex;
  flex-direction: row;
  gap: 0.4em;
}

.card1 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 60px 5px 5px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card2 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 60px 5px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card3 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 5px 5px 60px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card4 {
  width: 90px;
  height: 90px;
  outline: none;
  border: none;
  background: white;
  border-radius: 5px 5px 60px 5px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  transition: 0.2s ease-in-out;
}

.card1:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #cc39a4;
}

.card2:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #f70000;
}

.card3:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #395498;
}

.card4:hover {
  cursor: pointer;
  scale: 1.1;
  background-color: #25d366;
}

/**/
.school_supplies {
  width: 100px;
  height: auto;
  gap: 10px;
  position: fixed;
  bottom: 110px;
  right: 10px;
  z-index: 1000;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.folder {
  width: 80px;
  height: 90px;
  margin: auto;
  animation: float 2s infinite linear;
  position: relative;
  cursor: pointer;
}

.folder .top {
  background-color: #ff8f56;
  width: 60px;
  height: 12px;
  border-top-right-radius: 10px;
  cursor: pointer;
}

.folder .bottom {
  background-color: #ffce63;
  width: 80px;
  height: 60px;
  box-shadow: 5px 5px 0 0 #283149;
  border-top-right-radius: 8px;
  cursor: pointer;
}

.folder .title {
  font-size: 15px;
  font-weight: bold;
  text-transform: uppercase;
  color: #283149;
  text-align: center;
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}

@keyframes float {
  0% {
    transform: translatey(0px);
  }

  50% {
    transform: translatey(-15px);
  }

  100% {
    transform: translatey(0px);
  }
}

#anuncio_utiles {
  width: 500px;
  height: AUTO;
  background: #07182e;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1001;
  border-radius: 15px;
  padding: 10px;
  color: white;
  text-align: center;
  overflow: hidden;
}

#anuncio_utiles .card-content {
  padding: 10px;
}

#anuncio_utiles h2 {
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 19px;
}

#anuncio_utiles a {
  display: block;
  color: #f3f3f3;
  text-decoration: none;
  margin: 5px;
  font-size: 1.2em;
}

#closeAnnouncement {
  position: absolute;
  top: 5px;
  right: 10px;
  background: transparent;
  color: white;
  font-size: 15px;
  border: none;
  cursor: pointer;
  padding: 0;
  font-weight: bold;
}

@media (max-width: 768px) {
  #anuncio_utiles {
    width: 90%;
    height: auto;
    padding: 15px;
  }

  #anuncio_utiles h2 {
    font-size: 1.1em;
  }

  #anuncio_utiles a {
    font-size: 1em;
  }

  #closeAnnouncement {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  #anuncio_utiles {
    width: 90%;
    height: auto;
    padding: 10px;
  }

  #anuncio_utiles h2 {
    font-size: 1em;
  }

  #anuncio_utiles a {
    font-size: 0.9em;
  }

  #closeAnnouncement {
    font-size: 20px;
  }
}
