@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .like-container {
        padding: 0.5em 1em;
    }
    .like-btn {
        font-size: 16px;
    }
}

.faustina-uniquifier {
    font-family: "Faustina", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
  }

  ::-webkit-scrollbar {
    width: 0px; /* Hace la barra de desplazamiento invisible */
    background: transparent;
  }

body {
    margin: 0;
    font-family: "Faustina", serif;
    background: #000000;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #00000081;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 0.5em 1em;
    z-index: 10;

    transition: all 0.3s ease;

}

.scrolled {
    background: rgba(0, 0, 0, 0.0); /* Más opaco al hacer scroll */
    padding: 0.1em 1em; /* Reduce su tamaño */
}

#photo {
    top: 0.5em;
    width: 10vw; /* Adaptable al tamaño de la pantalla */
    max-width: 10%; /* Límite máximo */
    min-width: 5%; /* Límite mínimo */
    height: auto;
    padding-right: 1em;
    
}

.menu-text {
    flex-grow: 1; /* Ocupa el espacio restante */
    text-align: right; /* Alinea a la derecha */
    font-size: 2em;
    padding-right: 2em;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 0.1em;
    padding: 1em 0em 0em;
    width: 100%;
    text-align: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0em; /* Espacio entre imágenes */

    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.image-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.like-container {
    position: absolute;
    bottom: 0em;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1em 2em;
    border-radius: 0em;
    display: flex;
    align-items: center;
}

.like-btn {
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 18px;
    cursor: pointer;
    margin-right: 5px;
}

.lazy-load {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}
