body {
    font-family: "Helvetica", sans-serif;
    background-color: #fff;
    color: #000;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    margin-left: 200px;
    margin-right: 200px;
    flex: 1;
    padding: 20px;
    margin-top: 80px;
}

.main-content p {
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

.main-content h2 {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-top: 10px;
    line-height: 1.6;
}

/* Estilos de la galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Siempre 3 columnas */
    gap: 10px;
    justify-content: center;
    align-content: center;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Configuración de imágenes en la cuadrícula */
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    position: relative;
}

/* Hacer que una imagen en cada fila sea más alta */
.gallery-item:nth-child(2n + 1) { 
    grid-row: span 2; /* Cada 3 imágenes, una crece en vertical */
}

/* Ajustar algunas imágenes para variar el diseño */
.gallery-item:nth-child(4) {
    grid-column: span 2; /* Segunda fila, una imagen ocupa dos columnas */
}

.gallery-item:nth-child(6),
.gallery-item:nth-child(9),
.gallery-item:nth-child(12) {
    grid-row: span 2; /* En cada fila hay una imagen vertical */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Estilos para el lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 15px;
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}

.lightbox .arrow {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.lightbox .arrow.left {
    left: 20px;
}

.lightbox .arrow.right {
    right: 20px;
}

.language-switch {
   display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: black;
    max-width: fit-content;
    margin: 0 10% 0 auto;
}

.language-switch img {
    width: 20px;
    height: auto;
}
        }