*{
  text-transform: uppercase;
}

/*header*/

  main {
    height: 150vh;
    max-height: 100%;
    overflow-x: hidden;
    perspective: 1px;
    perspective-origin: center top;
    transform-style: preserve-3d;
    padding: 0 40px;
    background-color: #152f4f;
  }
  header {
    height: 80vh;
    background: url("/src/Images/Hotel\ expo-36.jpg");
    background-size: cover;
    background-position: center center;
    position: relative;
    vertical-align: top;
    transform-origin: center top;
    transform: translateZ(-1px) scale(2);
    max-height: 550px;
    max-width: 99.5%;
    text-align: center;

  }
  section {
    min-height: 200vh;
    background: white;
    transform: translateZ(0);
    padding: 10px 0;
  }
  h1 {
    font-size: 30px;
    font-weight: 400;
    padding: 10px 20px;
    color: #fff;
  }
  a{
    text-decoration: none;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  }

  .logo {
    width: 130px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    border: none;


  }
.titulo {
  text-align: center;
  font-size: 15rem;
  padding-top: 50px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

#inicio{
    color: #fff;
    font-size: 35px
    
}
#inicio:hover{
    color: #f6f6f4a3;
}
/* Contenido de Galeria*/

.contenedor {
  padding: 5rem;
}

.galeria {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}
img {
  height: auto;
  max-width: 550px;
  border: 1px solid #333;
  border-radius: 0.375rem;
}

.galeria img {
  transition: transform 0.5s;
}

.galeria img:hover {
  transform: scale(1.3);
}

a:link, a:visited, a:active{
    color: white;
    text-decoration:none;
}

.footer{
    background: #152F4F;
    color:white;
}  


/* Dispositivos con una anchura máxima de 767 píxeles */
@media only screen and (max-width: 767px) {
    main {
      font-size: 24px;
      padding: 0 20px;
    }
    
    header {
      height: 50vh;
      transform: none;
    }
    
    .titulo {
      font-size: 6rem;
      padding-top: 50px;
    }
    
    .contenedor {
      padding: 2rem;
    }
    
    .galeria {
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    img {
      max-width: 100%;
    }
  }
  
  /* Dispositivos con una anchura máxima de 480 píxeles */
@media only screen and (max-width: 480px) {
    .titulo {
      font-size: 4rem;
      padding-top: 30px;
    }
    
    .contenedor {
      padding: 1rem;
    }
    
    .galeria {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }