* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 2.5em;
    color: #333;
    font-weight: 700; /* Usar un peso de fuente más grueso para que se vea impactante */
}

.logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

/* Sección principal */
.content {
    max-width: 800px;
    text-align: center;
}

.video-container {
    margin-bottom: 20px;
}

.video-container iframe {
    width: 100%;
    height: 400px;
}

.images-container {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.image-wrapper {
    width: 100%;
    max-width: 1024px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    text-align: center;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /*border-radius: 10px;*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

figcaption {
    margin-top: 10px;
    font-size: 1em;
    color: #555;
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    overflow: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

#caption {
    text-align: center;
    color: #fff;
    font-size: 1.2em;
    margin-top: 10px;
}

/* Botón para cerrar el modal */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
}

/* Responsividad */
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }

    .video-container iframe {
        height: 300px;
    }

    .images-container {
        flex-direction: column;
        align-items: center;
    }

    .images-container img {
        max-width: 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.7em;
    }

    .video-container iframe {
        height: 250px;
    }

    .logo {
        max-width: 120px;
    }
}
