/* Estilos generales */

.header-content h1 {
  margin-bottom: 10px;
}

footer {
  background-color: #fff;
  color: black;
  text-align: center;
  /*padding: 0px 0;*/
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

.image-container {
  display: flex;
  margin: -10px;
}

.image-container a {
  position: relative;
  margin: 0;
  width: 260px;
  height: 650px;
  /*border-radius: 5px;*/
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white; /* Color de texto */
  transition: filter 0.3s ease-in-out;
}

.image-container a:hover {
  filter: brightness(100%);  
}

/* Estilos para el botón del pie de página */
.footer-button {
  width: 35.6px;
  height: 35.6px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px; /* Espaciado del botón respecto al borde del footer */
  border-radius: 50%; /* Forma circular del botón */
  background-color: #ccc; /* Color de fondo gris */
}

.footer-button svg {
  width: 70%; /* Tamaño del icono dentro del botón */
  height: auto;
  fill: #000; /* Color del icono */
}

/* Estilos responsivos */
@media (max-width: 768px) {

  body {
    margin: 0;
    font-family: gilroy, sans-serif;
  }

  header {
    background-color: #fff;
    color: black;
    text-align: center;
    padding: 20px 0;
    /*box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);*/
    top: 0; /* Lo coloca en la parte superior */
    width: 100%; /* Ancho completo */
  }

  .menu {
    display: flex;
    justify-content: center;
  }
  /* Nombre centrado */
  .name {
    font-size: 30px;
    font-weight: bold;
    white-space: nowrap;
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translate(-50%, -50%); /* Girar 270 grados */
    z-index: 99999;
  }

  .image-container img {
    width: 100%;
    height: auto;
  }

  .image-container a {
    width: 100%;
    max-width: 280px;
    height: auto;
    opacity: 1;
  }

  .image-container {
    flex-direction: column;
    align-items: center;
  }

  .button {
    opacity: 1;
  }
  .header-content {
    flex-direction: column;
  }

  .header-text {
    text-align: center;
  }
  .mobile {
    display: block; /* Mostrar imágenes móviles */
    margin: 10px;
  }

  .desktop {
    display: none; /* Ocultar imágenes de escritorio */
  }

  .button {
    background-color: #fcdd3f;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    width: 200px; /* Ancho del botón */
    height: 50px; /* Alto del botón */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    bottom: -70px; /* Posición inicial oculta */
    opacity: 0; /* Inicialmente oculto */
  }

  .image-container a .button {
    bottom: 20px; /* Posición visible al hacer hover */
    opacity: 1; /* Hacer visible al hacer hover */
  }

  .button:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    color: black; /* Cambiar el color al hacer hover */
    background-color: #fcdd3f;
  }

  .header-content, .footer-content{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .header-text h1, .header-text p {
    margin: 5px 0;
  }
  .image-container a {
    filter: brightness(100%);  
  }
}

/* Media query para escritorio */
@media (min-width: 769px) {

  body {
    margin: 0;
    font-family: gilroy, sans-serif;
    padding-top: 42px;
  }

  header {
    background-color: #fff;
    color: black;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0; /* Lo coloca en la parte superior */
    width: 100%; /* Ancho completo */
    z-index: 1000; 
  }


  .header-content, .footer-content{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /*  flex-direction: column;*/
  }

  .header-text h1, .header-text p {
    margin: 5px 0;
    float: left;
  }

  .menu {
    display: flex;
    justify-content: center;
  }

  /* Nombre centrado y girado */
  .name {
    font-size: 40px;
    font-weight: bold;
    white-space: nowrap;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(270deg); /* Girar 270 grados */
  }

  .image-container img {
    width: 100%;
    height: 90%;
    margin: 1px;
  }
  .mobile {
    display: none; /* Ocultar imágenes de escritorio */
  }

  .desktop {
    display: inline-block; /* Mostrar imágenes móviles */
  }

  .button {
    opacity: 0; /* Ocultar el botón por defecto en versiones de escritorio */
  }

  .image-container a:hover .button {
    opacity: 1; /* Mostrar el botón al hacer hover en versiones de escritorio */
  }
  .button {
    background-color: #fcdd3f;
    color: #000;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    width: 200px; /* Ancho del botón */
    height: 50px; /* Alto del botón */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    position: absolute;
    bottom: -70px; /* Posición inicial oculta */
    opacity: 0; /* Inicialmente oculto */
  }

  .image-container a:hover .button {
    bottom: 70px; /* Posición visible al hacer hover */
    opacity: 1; /* Hacer visible al hacer hover */
  }

  .button:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
    color: black; /* Cambiar el color al hacer hover */
    background-color: #fcdd3f;
  }

  .header-content{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
    /*  flex-direction: column;*/
  }

  .footer-content{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    /*  flex-direction: column;*/
  }

  .header-text h1, .header-text p {
    margin: 5px 0;
  }

  .image-container a {
    filter: brightness(50%);  
  }

  .logo {
    height: 50px; /* Ajustar el tamaño del logo según sea necesario */
    /*float: left;*/
    padding-right: 8%;
  }
}