.navbar {
  transition:
    background-color 1s ease,
    box-shadow 0.9s ease;
  backdrop-filter: blur(1000px);
}

.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);
}
#request-CERTIFICADOS-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-CERTIFICADOS-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-CERTIFICADOS-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
}

.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;
  }
}
.school_supplies {
  width: 100px;
  height: auto;
  gap: 10px;
  position: fixed;
  bottom: 110px;
  right: 10px;
  z-index: 1000;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.svg-button {
  position: absolute;

  /* Posición encima de la carpeta */
  top: 0;
  left: 50%;

  transform: translateX(-50%);

  width: 100px;
  height: 70px;

  padding: 0;
  margin: 0;

  border: none;
  background: transparent;

  cursor: pointer;

  z-index: 1002;

  transition: transform 0.2s ease;
}

/* Imagen SVG */

.svg-button img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: contain;

  pointer-events: none;
}

/* Efecto al pasar el mouse */

.svg-button:hover {
  transform: translateX(-50%) scale(1.08);
}

/* Efecto al hacer clic */

.svg-button:active {
  transform: translateX(-50%) scale(0.95);
}

/* ==========================================
   CARPETA
   ========================================== */

.folder {
  width: 80px;
  height: 90px;

  position: absolute;

  bottom: 0;
  left: 50%;

  transform: translateX(-50%);

  animation: float 2s infinite linear;

  cursor: pointer;

  z-index: 1001;
}

/* Parte superior de la carpeta */

.folder .top {
  background-color: #ff8f56;

  width: 60px;
  height: 12px;

  border-top-right-radius: 10px;

  cursor: pointer;
}

/* Parte inferior de la carpeta */

.folder .bottom {
  background-color: #ffce63;

  width: 80px;
  height: 60px;

  box-shadow: 5px 5px 0 0 #283149;

  border-top-right-radius: 8px;

  cursor: pointer;
}

/* Texto de la carpeta */

.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;
}

/* ==========================================
   ANIMACIÓN DE LA CARPETA
   ========================================== */

@keyframes float {
  0% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-15px);
  }

  100% {
    transform: translateX(-50%) translateY(0);
  }
}

/* ==========================================
   VENTANA DE ANUNCIO
   ========================================== */

#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;
}

/* Contenido */

#anuncio_utiles .card-content {
  padding: 10px;
}

/* Título */

#anuncio_utiles h2 {
  font-size: 1.2em;

  font-weight: bold;

  margin-top: 10px;
  margin-bottom: 19px;
}

/* Enlaces */

#anuncio_utiles a {
  display: block;

  color: #f3f3f3;

  text-decoration: none;

  margin: 5px;

  font-size: 1.2em;
}

/* ==========================================
   BOTÓN CERRAR
   ========================================== */

#closeAnnouncement {
  position: absolute;

  top: 5px;
  right: 10px;

  background: transparent;

  color: white;

  font-size: 15px;

  border: none;

  cursor: pointer;

  padding: 0;

  font-weight: bold;
}

/* ==========================================
   TABLET / MÓVIL
   ========================================== */

@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;
  }
}

/* ==========================================
   MÓVILES PEQUEÑOS
   ========================================== */

@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;
  }
}
