@media (max-width: 1500px) {
    html, body {
        width: 100%;
        overflow-x: hidden; /* fuerza que no se pueda hacer scroll lateral */
        margin: 0;
        padding: 0;
      }
    
      *{
        box-sizing: border-box;
      }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
        
        background: #e1dfdf;
      }
    
      .navbar ul {
        flex-direction: column;
        gap: 25px;
        margin-left: 0;
        align-items: flex-start;
        
      }
    
      .navbar ul li {
        width: 100%;
        position: relative;
        display: block;
      }
    
      .navbar ul li.dropdown .dropdown-toggle {
        cursor: pointer;
        padding: 8px 12px;
        display: inline-block;
        color: rgb(82, 82, 82);
        font-weight: bold;
      }
    
      .navbar ul li.dropdown .dropdown-content {
        display: none;
        position: static;
        background-color: transparent;
        box-shadow: none;
        padding-left: 15px;
      }
    
      .navbar ul li.dropdown:focus-within .dropdown-content,
        .navbar ul li.dropdown .dropdown-toggle:focus + .dropdown-content {
    display: block;
    }
    
    .navbar ul li.dropdown .dropdown-content li a {
        font-size: 14px;
        padding: 6px 0;
        display: block;
    }
    
      @keyframes dropdownSlide {
        from {
          opacity: 0;
          transform: translateY(-5px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

    /* ===== BODY CONTENT ===== */
    .image-table {
        display: flex;
        flex-direction: column;
        gap: 30px;
        padding: 10px;
        width: 100%;
      }
    
      .image-table tr {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 60px;
      }
    
      .image-table td {
        width: 100%;
        display: flex;
        justify-content: center;
       
      }

    
      .image-card {
        width: 90%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
      }
    
      .image-card img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
      }

      .image-card .spirale {
        width: 100%;
        height: auto;
        object-fit: initial;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin-bottom: 20%;
        
        
      }
    
      .image-card .label {
        font-size: 20px;
        margin-bottom: 10px;
        font-weight: bold;
      }

      .image-table td{
        padding-bottom: 5vh;
      }
      
      /* Ajustes de contenido general */
      main.body {
        padding: 20px;
      }
    
    /* ===== FOOTER ===== */
    .footer {
      flex-direction: column;
      text-align: center;
      height: auto;
      padding: 30px 10px;
      gap: 30px;
    }
  
    .footer .info-box {
      font-size: 16px;
    }
  
    .footer .info-box img {
      width: 40px;
      height: 40px;
    }
  
    .copyright {
      font-size: 14px;
      padding: 12px;
      text-align: center;
    }
}

@media (min-width:1500px) and (max-width: 2000px) {
 /* =============================== */
/* Estilos Generales */
/* =============================== */
body {
  font-family: 'Times New Roman', Times, serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(90deg, #eff1f3, #dfe8f0, #f3f5f7);
  color: #333;
  overflow-x: hidden;
 
}

/* =============================== */
/* Navbar */
/* =============================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #e1dfdf;
  padding: 25px 20px;
}
.navbar .logo {
  color: rgb(133, 127, 127);
  font-size: 22px;
  font-weight: bold;
}
.navbar ul {
  list-style: none;
  display: flex;
  gap: 30px;
  padding: 0;
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.navbar ul li {
  position: relative;
}
.navbar ul li a {
  color: rgb(82, 82, 82);
  text-decoration: none;
  padding: 8px 12px;
  transition: 0.3s;
}
.navbar ul li a:hover {
  background-color: #f0eded;
  border-radius: 5px;
}
.navbar ul li.dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #faf9f9;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 10;
}
.navbar ul li.dropdown:hover .dropdown-content {
  display: block;
}
.navbar ul li.dropdown .dropdown-content li {
  padding: 8px 12px;
}
.navbar ul li.dropdown .dropdown-content li a {
  color: rgb(82, 82, 82);
  display: block;
}
.navbar ul li.dropdown .dropdown-content li a:hover {
  background-color: #f0eded;
}
.navbar ul li a.active {
  background-color: #e0e0e0;
  border-radius: 5px;
  font-weight: bold;
  color: #000;
}


/* =============================== */
/* Contenido del BODy */
/* =============================== */
.body {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
}
.image-table {
  width: 100%;
  text-align: center;
  border-collapse: collapse;
}
.image-card {
  max-width: 180px;
  margin: auto;
}
.image-card .label {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 8px;
  color: #222;
}
.image-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-card .spirale {
  width: 100%;
  height: 200px;
  object-fit: initial;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.image-table td{
 padding-bottom: 20vh;
}


/* =============================== */
/* Footer */
/* =============================== */
.footer {
  background: #e1dfdf;
  font-weight: bold;
  width: 100%;
  margin-top: 10px;
  color: rgb(16, 16, 16);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
  font-family: 'Times New Roman', Times, serif;
  z-index: 2;
}
.footer .info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 20px;
}
.footer .info-box img {
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.footer .info-box img:hover {
  transform: scale(1.1);
}
.footer-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.footer-link:hover {
  color: inherit;
  text-decoration: none;
}

/* =============================== */
/* Footer Bottom */
/* =============================== */
.copyright {
  background: linear-gradient(90deg, #eff1f3, #dfe8f0, #f3f5f7);
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-weight: bold;
  font-family: 'Times New Roman', Times, serif;
  font-size: 16px;
  color: #333;
  z-index: 2;
}

/* =============================== */
/* Animaciones */
/* =============================== */
@keyframes fadeInDown {
0% {
  opacity: 0;
  transform: translateY(-20px);
}
100% {
  opacity: 1;
  transform: translateY(0);
}
}

@keyframes fadeIn {
from {
  opacity: 0;
  transform: translateY(10px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

@keyframes fadeInUp {
0% {
  opacity: 0;
  transform: translateY(30px);
}
100% {
  opacity: 1;
  transform: translateY(0);
}
}

/* Aplicar fadeInDown a la navbar completa */
.navbar {
animation: fadeInDown 0.8s ease-out forwards;
}

/* Aplicar fadeIn escalonado a cada item del navbar */
.navbar ul li {
opacity: 0;
animation: fadeIn 0.6s ease forwards;
}
.navbar ul li:nth-child(1) { animation-delay: 0.2s; }
.navbar ul li:nth-child(2) { animation-delay: 0.3s; }
.navbar ul li:nth-child(3) { animation-delay: 0.4s; }
.navbar ul li:nth-child(4) { animation-delay: 0.5s; }
.navbar ul li:nth-child(5) { animation-delay: 0.6s; }
.navbar ul li:nth-child(6) { animation-delay: 0.7s; }
.navbar ul li:nth-child(7) { animation-delay: 0.8s; }
.navbar ul li:nth-child(8) { animation-delay: 0.9s; }

/* Animación a las tarjetas */
.card,
.card2 {
opacity: 0;
animation: fadeInUp 1s ease-out forwards;
}

/* Animación escalonada para que aparezcan suave una tras otra */
.card { animation-delay: 0.3s; }
.card2 { animation-delay: 0.4s; }

}


  