/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* Reiniciar Valores por Defecto del Navegador */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Serif', serif;
}

/* Section */
section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

/* Video Background */
section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Header */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5vw;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    letter-spacing: 1px;
    font-weight: 400;
    text-shadow: 0 0.3rem 0.3rem rgba(255, 255, 255, 0.5);
}

/* Estilos para la galería de imágenes */
.image-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px;
    width: 2080px;
}

.thumbnail-container-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 50%; /* Asegúrate de que el contenedor ocupe el ancho disponible */
    overflow: hidden; /* Oculta cualquier contenido que sobresalga */
    max-width: 100%; /* Limita el ancho máximo del contenedor */
}

.thumbnail-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth; /* Añade un desplazamiento suave */
    white-space: nowrap; /* Evita que las miniaturas se envuelvan */
    padding: 0 60px; /* Espacio adicional para las flechas */
    flex: 1; /* Permite que el contenedor crezca si es necesario */
    overflow: hidden;
}

.thumbnail {
    width: 70px;
    height: 75px;
    object-fit: cover;
    margin: 0 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.large-image-container {
    max-width: 50%;
    text-align: center;
    margin-top: 100px;
}

#largeImage {
    margin-top: -10%;
    margin-bottom: 20%;
    max-width: 100%;
    
}

/* Flechas para desplazamiento */
.arrow {
    background-color: #fff;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 11; /* Asegúrate de que las flechas estén por encima del contenedor */
    padding: 10px;
    margin: 0 5px;
    position: absolute;
}

.left-arrow {
    left: 0;
}

.right-arrow {
    right: 0;
}

/* Footer */
footer {
    background-color: #3333334b;
    color: white;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media only screen and (max-width: 600px) {
	section header {
		padding: 20px 50px;
	}    

    .image-gallery {
        max-width: 200%;
    }

    .large-image-container{
        margin-top: 20%;
    }

    .thumbnail-container-wrapper {
        margin-top: 5%;
    }
}
