/* estilos.css */

body {
    font-family: 'Raleway', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url("../img/unnamed%201.png");
    background-repeat: no-repeat;
    background-position: top right;
    background-attachment: scroll;
    background-size: 25%;
}

.container {
    max-width: 1500px;
    margin-right: 140px;
    padding: 0 30px;
}

.volver {
    font-family: 'Raleway';
    color: #FD8D00;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #FD8D00;
    padding: 5px 10px;
    background-color: transparent;
    text-align: center;
    display: inline-block;
    width: auto;
    white-space: nowrap;
    position: fixed;
    top: 20px;
    left: 20px;
}

.volver:hover {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #FD8D00;
}

h1, h2, h3, p {
    font-family: 'Raleway', sans-serif;
}

h1 {
    font-weight: 900;
    font-size: 40px;
    color: black;
}

h2 {
    font-weight: bold;
    font-size: 24px;
    color: #FD8D00;
}

h3 {
    font-weight: 500;
    font-size: 22px;
    color: black;
}

p {
    font-weight: 400;
    font-size: 18px;
    color: black;
    text-align: justify;
}

.section {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #FD8D00;
}

.section h2 {
    margin: 0;
    font-size: 1.5em;
    color: #FD8D00;
    font-family: 'Jubilat';
}

.button-toggle {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: #FD8D00;
    display: flex;
    font-family: 'Jubilat';
}

.button-toggle .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.content {
    display: none;
    padding: 10px 0;
    font-size: 0.9em;
    font-family: 'Libre Baskerville';
}

.flecha-obra {
    width: 15px;
    height: 10px;
}

.open {
    display: block;
    transform: rotate(180deg);
}

.fotito{
    height: 300px;
    width: 300px;
}

.video-container, .audio-container {
    text-align: center;
    margin: 20px 0;
}

.audio-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #f3f3f3;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    width: 350px;
    margin: auto;
}

audio {
    width: 79%;
    height: 50px;
}

.boton {
    font-family: 'Raleway';
    color: #FD8D00;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #FD8D00;
    padding: 5px 10px;
    display: block;
    width: 80%;
    max-width: 300px;
    margin: -2% 0%
}

.boton:hover {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #FD8D00;
}

@media (max-width: 768px) {
    .row {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .col-6, .col-12 {
        width: 100%;
        text-align: center;
    }

    .boton {
        width: 90%;
    }
}

.grid-gallery {
    display: grid;
    grid-auto-rows: 200px;
    gap: 1rem;
    grid-auto-flow: row dense;
}

@media all and (min-width: 320px) {
    .grid-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media all and (min-width: 768px) {
    .grid-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media all and (min-width: 1024px) {
    .grid-gallery {
        grid-template-columns: repeat(4, 1fr); /* Cambiado de 6 a 4 */
    }
}

.grid-gallery__item:nth-child(11n+1) {
    grid-column: span 1;
}

.grid-gallery__item:nth-child(11n+4) {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-gallery__item:nth-child(11n+6) {
    grid-column: span 2;
    grid-row: span 1;
}

.grid-gallery__item:nth-child(11n+7) {
    grid-column: span 1;
    grid-row: span 2;
}

.grid-gallery__item:nth-child(11n+8) {
    grid-column: span 2;
    grid-row: span 2;
}

.grid-gallery__item:nth-child(11n+9) {
    grid-row: span 2;
}

.grid-gallery__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-gallery__item {
    /* Añadir sombra y borde blanco a cada imagen */
    border: 10px solid white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* sombra leve */
}

/* Aseguramos que el título no forme parte del grid */
.gallery-section {
    margin-bottom: 2rem;
}
