html, body {
  max-width: 100vw;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  min-height: 100vh; /* Asegura que el cuerpo tenga al menos la altura del viewport */
  font-family: 'Century Gothic', sans-serif;
  display: flex;
  flex-direction: column;
  background-color: #f1f1f1;
}

/* Barra de navegación y menú hamburguesa */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 10000;
  cursor: pointer;
}

.bar {
  display: block;
  background-color: #000;
  height: 5px;
  width: 35px;
  margin: 6px 0;
  transition: 0.3s ease;
}

.nav-list {
  list-style: none;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.979);
  width: 100%;
  height: 100vh;
  top: 0;
  right: -200%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: right 0.3s ease;
  z-index: 9998;
}

.nav-list.active {
  right: 0;
}

.nav-list li {
  margin: 1rem 0;
}

.nav-list li a {
  color: #fff;
  text-decoration: none;
  font-size: 2rem;
  font-weight: 300;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease-in-out;
}

.nav-list li a:hover {
  color: #3498db;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
}

.menu-toggle.close .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
  background-color: #fff;
}

.menu-toggle.close .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.close .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
  background-color: #fff;
}

.container {
  display: flex;
  justify-content: center; /* Centra los bloques horizontalmente */
  align-items: center; /* Centra los bloques verticalmente */
  flex-wrap: wrap; /* Permite que los bloques se ajusten al tamaño de la pantalla */
  min-height: 100vh; /* Asegura que el contenedor ocupe al menos toda la altura de la ventana */
  width: 100%; /* Ocupa el ancho completo */
  padding: 0;
}


.block {
  margin: 70px;
  flex-basis: calc(22% - 40px); /* Ajusta el tamaño del bloque según el margen */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.block h2 {
  font-size: 50px;
  margin: 10px 0;
  text-align: center;
}

.block-left h2 {
  margin-top: 20px;
}


.block-center h2 {
  margin-bottom: 20px;
}

.block-right {
  display: flex;
  align-items: center; /* Centrado vertical */
  justify-content: center; /* Centrado horizontal */
  height: 100%; /* Ocupa toda la altura disponible del contenedor */
  padding: 0 20px; /* Añade padding horizontal si necesario */
}

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Asegura que todo el contenido interno también esté centrado verticalmente */
  width: 100%;
}

.block-right a {
  text-decoration: none;
  color: #000000;
  text-align: center;
  display: block;
  width: 100%;
  font-size: 120px; /* Tamaño de fuente para 'Catálogos' */
  padding: 15px 0; /* Agrega padding para un mejor efecto de clic */
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease; /* Suave transición para transform y color */
  border-radius: 8px; /* Añade bordes redondeados */
}


.block-right a:last-child { 
  font-size: 35px; /* Tamaño de fuente para 'SOLICITAR' */
}
.block-right a:hover {
  transform: scale(1.05); /* Aumenta ligeramente el tamaño */
  color: #0097B2; /* Cambia el color del texto */
  cursor: pointer; /* Cambia el cursor a tipo 'pointer' para indicar que es clickeable */
}

/* Footer Styles */
.site-footer {
  width: 100%;
  padding: 20px 50px;
  background-color: #88bccb;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  border-top: 1px solid #97979760;
  position: relative; /* Cambiado de 'fixed' a 'relative' */
  bottom: 0;
}

.footer-logo {
  width: 200px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  flex-grow: 1;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 10px 20px;
}

.footer-link {
  color: #000;
  text-decoration: none;
  margin-bottom: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: color 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.block img,
.block h2,
.block-right a {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards; /* Aplica la animación */
}

.block img {
  animation-delay: 0.5s;
}

.block h2 {
  animation-delay: 0.3s;
}

.block-right a {
  animation-delay: 0.3s;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .block {
      flex-basis: 45%;
  }

  .block-right {
      flex-basis: 100%;
      margin-top: 40px;
  }

  .block img {
      width: 90%;
  }

  .block h2 {
      font-size: 40px;
  }

  .block-right a:first-child {
      font-size: 90px;
  }

  .block-right a:last-child {
      font-size: 25px;
  }

  .footer-info p,
  .footer-legal {
      display: none;
  }

  .footer-links {
      flex-direction: column;
      align-items: center;
  }

  .footer-column {
      margin: 10px 0;
      align-items: center;
  }
}

@media (max-width: 768px) {
  .container {
      flex-direction: column;
      align-items: center;
      margin-top: 20px; /* Añade margen superior para dispositivos móviles */
  }

  .block {
      flex-basis: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 10px; /* Añade margen superior a cada bloque */
  }

  .block img {
      width: 80%;
  }

  .block h2 {
      font-size: 35px;
  }

  .block-right {
      flex-basis: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 20px; /* Reduce el margen superior entre bloques */
  }

  .block-right a:first-child {
      font-size: 70px;
  }

  .block-right a:last-child {
      font-size: 20px;
  }

  .site-footer {
      flex-direction: column;
      align-items: center;
      padding: 20px;
      margin-top: auto;
  }

  .footer-logo {
      width: 150px;
  }

  .footer-links {
      flex-direction: column;
      align-items: center;
      margin-top: 20px;
  }

  .footer-column {
      margin: 10px 0;
      align-items: center;
  }
}

@media (max-width: 576px) {
  .container {
      flex-direction: column;
      align-items: center;
      margin-top: 20px; /* Añade margen superior para dispositivos móviles */
  }

  .block {
      flex-basis: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 10px; /* Añade margen superior a cada bloque */
  }

  .block img {
      width: 70%;
  }

  .block h2 {
      font-size: 30px;
  }

  .block-right {
      flex-basis: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 20px; /* Reduce el margen superior entre bloques */
  }

  .block-right a:first-child {
      font-size: 60px;
  }

  .block-right a:last-child {
      font-size: 18px;
  }

  .site-footer {
      flex-direction: column;
      align-items: center;
      padding: 20px;
  }

  .footer-logo {
      width: 150px;
  }

  .footer-links {
      flex-direction: column;
      align-items: center;
      margin-top: 20px;
  }

  .footer-column {
      margin: 10px 0;
      align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
      flex-direction: column;
      align-items: center;
      margin-top: 20px; /* Añade margen superior para dispositivos móviles */
  }

  .block {
      flex-basis: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-top: 10px; /* Añade margen superior a cada bloque */
  }

  .block img {
      width: 60%;
  }

  .block h2 {
      font-size: 28px;
  }

  .block-right {
      flex-basis: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin-top: 20px; /* Reduce el margen superior entre bloques */
  }

  .block-right a:first-child {
      font-size: 50px;
  }

  .block-right a:last-child {
      font-size: 16px;
  }

  .site-footer {
      padding: 10px 20px;
      margin-top: auto;
  }

  .footer-logo {
      width: 120px;
  }

  .footer-links {
      margin-top: 10px;
  }

  .footer-link {
      font-size: 1rem;
  }
}

  
  
  
