*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --light-green-color: #4c960b;
    --black-color: #000000;
    --medium-gray: #D9D9D9;
    --light-gray: #EEEEEE;
    --white: #FFFFFF;
    --dark-gray: #cdcccc;
    --blue-gray: #F4F4F4
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.woff2') format('woff2'),
        url('../fonts/Roboto-Bold.woff') format('woff');
    font-style: normal;
    font-weight: bold;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2'),
        url('../fonts/Roboto-Regular.woff') format('woff');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Medium.woff2') format('woff2'),
        url('../fonts/Roboto-Medium.woff') format('woff');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

body {
    font-family: 'Roboto', sans-serif;
}

/*========= Estilo página de eventos ==========*/

.content-grid-one-external {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4rem;
}

.grid-leading {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(45, 1.5rem);
    gap: 0 10px;
}

.rectangular-background {
    background-color: var(--blue-gray);
    grid-column: 1 / 9;
    grid-row: 4 / 43;
    border-radius: 30px;
    margin-right: 5px;
}

.content-img-event {
    grid-column: 9 / 15;
    grid-row: 4 / 35;
}

.content-img-event img{
    width: 97.5%;
    height: auto;
    border-radius: 30px;
}

.event-content {
    grid-column: 1 / 9;
    grid-row: 9 / 45;
    text-align: justify;
    margin-right: 30px;
    margin-left: 30px;
}

.event-content h1 {
    font-size: 3.6rem;
    margin-bottom: 1.8rem;
}

.event-content h2 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.event-content p {
    font-size: 1.3rem;
    margin-bottom:3rem;
    line-height: 1.6;
}

.learn-more-Button-footer {
    width: 40%;
    height: 7%;
    font-size: 1.3rem;
    background-color: #4c960b;
    border: none;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/*========== sección galeria ===============*/

.content-grid-two-external {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4rem;
}

.grid-secondary-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(45, 1.5rem);
}

.event-content-gallery-img {
    grid-column: 1 / 11;
    grid-row: 12 / 40;
    border-radius: 30px;
    overflow: hidden;
}

.event-content-gallery-img img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}


.section-gallery-mini {
    grid-column: 12 / 14;
    grid-row: 12 / 40;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
}

.section-gallery-mini img {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 20px;
}

.background-gallery-black-1 {
    background-color: var(--black-color);
    grid-column: 11 / 15;
    grid-row: 11 / 22;
    margin: 15px 0 30px 80px;
    border-radius: 20px;
}

.background-gallery-black-2 {
    background-color: var(--black-color);
    grid-column: 11 / 15;
    grid-row: 21 / 31;
    margin: 10px 0 10px 80px;
    border-radius: 20px;
}

.background-gallery-black-3 {
    background-color: var(--black-color);
    grid-column: 11 / 15;
    grid-row: 31 / 41;
    margin: 5px 0 15px 80px;
    border-radius: 20px;
}

.event-content-gallery-info {
    grid-column: 1 / 11;
    grid-row: 3 / auto;
}

.event-content-gallery-info h2 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
}

.event-content-gallery-info p {
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: justify;
}

.gallery-navegation {
    grid-column: 9 / 11;
    grid-row: 42 / 44;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.gallery-navegation button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation button:focus {
    outline: 2px solid var(--white)
}

/*========== Sección galería de más actividades ==========*/
.content-grid-three-external {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 4rem;
}

.background-more-activites {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--blue-gray);
    z-index: -1;
}

.grid-third-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(35, 1.5rem);
}

.event-activities-gallery {
    font-size: 2rem;
    grid-column: 1 / 15;
    grid-row: 4 / auto;
}

.content-total-gallery {
    grid-column: 1 / 15;
    grid-row: 9 / 29;
    display: flex;
    flex-direction:row;
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
}

.content-total-gallery > div {
    flex: 0 0 calc(25% - 1.125rem);
    box-sizing: border-box;
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    width: 100%;
    height: auto;
    border-radius: 20px; 
}

.gallery-navegation-02 {
    grid-column: 12 / 14;
    grid-row: 30 / auto;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.gallery-navegation-02 button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation-02 button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation-02 button:focus {
    outline: 2px solid var(--white)
}

/*--------- tarjeta interna de la galeria -----------*/
.content-gallery-activities-01,
.content-gallery-activities-02,
.content-gallery-activities-03,
.content-gallery-activities-04,
.content-gallery-activities-05 {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(18, 1.5rem);
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    grid-column: 1 / 15;
    grid-row: 1 / auto;
}

.content-gallery-activities-01 p,
.content-gallery-activities-02 p,
.content-gallery-activities-03 p,
.content-gallery-activities-04 p,
.content-gallery-activities-05 p {
    font-size: 1.3rem;
    grid-column: 3 / 13;
    grid-row: 14 / 18;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-title-01,
.background-title-02,
.background-title-03,
.background-title-04,
.background-title-05 {
    background-color: var(--white);
    grid-column: 2 / 14;
    grid-row: 14 / 18;
    border-radius: 1rem;
}

/*============ mediaQueries ===========*/
/*======== Primera sección - Portada ==========*/

@media screen and (max-width: 1500px){
    .content-grid-one-external {
    width: 100%;
    margin: 0 auto;
    padding: 0 6rem;
}

.grid-leading {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(45, 1.5vw);
    gap: 0 10px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.rectangular-background {
    width: 98%;
    height: auto;
    background-color: var(--blue-gray);
    grid-column: 1 / 9;
    grid-row: 4 / 43;
    border-radius: 30px;
    margin-right: 0px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.content-img-event {
    grid-column: 9 / 15;
    grid-row: 4 / 43;
    display: flex;
    justify-content: flex-end;
}

/*----verificar si no hace falta aquí al terminar-----*/
.content-img-event img{
    width: 100%;
    height: 100%;
    border-radius: 30px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.event-content {
    grid-column: 1 / 9;
    grid-row: 8 / 45;
    text-align: justify;
    margin-right: 2vw;
    margin-left: 1vw;
}

.event-content h1 {
    font-size: 3.8vw;
    margin-bottom: 1.8vw;
}

.event-content h2 {
    font-size: 2.13vw;
    margin-bottom: 1.8vw;
}

.event-content p {
    font-size: 1.38vw;
    margin-bottom: 2vw;
    line-height: 1.6;
}

.learn-more-Button-footer {
    width: 40%;
    height: 7%;
    font-size: 1.38vw;
    background-color: #4c960b;
    border: none;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/*============= sección dos Galería de Evento ============*/
.content-grid-two-external {
    width: 100%;
    margin: 0 auto;
    padding: 0 6rem;
}

.grid-secondary-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(45, 1.5vw);
}

.event-content-gallery-img {
    grid-column: 1 / 11;
    grid-row: 12 / 40;
    border-radius: 30px;
    overflow: hidden;
}

.event-content-gallery-img img {
    width: 100%;
    height: 100%;
    border-radius: 3vw;
}


.section-gallery-mini {
    grid-column: 12 / 14;
    grid-row: 12 / 40;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 2rem;
}

.section-gallery-mini img {
    width: 100%;
    height: 100%;
    margin-bottom: 2rem;
    border-radius: 1vw;
}

.background-gallery-black-1 {
    background-color: var(--black-color);
    grid-column: 11 / 15;
    grid-row: 11 / 22;
    margin: 1vw 0 1.9vw 5.3vw;
    border-radius: 2vw;
}

.background-gallery-black-2 {
    background-color: var(--black-color);
    grid-column: 11 / 15;
    grid-row: 21 / 31;
    margin: 0.8vw 0 0.8vw 5.3vw;
    border-radius: 2vw;
}

.background-gallery-black-3 {
    background-color: var(--black-color);
    grid-column: 11 / 15;
    grid-row: 31 / 41;
    margin: 0.3vw 0 1vw 5.3vw;
    border-radius: 2vw;
}

.event-content-gallery-info {
    grid-column: 1 / 11;
    grid-row: 2 / auto;
}

.event-content-gallery-info h2 {
    font-size: 2.13vw;
    margin-bottom: 2.13vw;
}

.event-content-gallery-info p {
    font-size: 1.3vw;
    line-height: 1.6;
    text-align: justify;
}

.gallery-navegation {
    grid-column: 9 / 11;
    grid-row: 42 / 44;
    display: flex;
    gap: 2vw;
    justify-content: center;
}

.gallery-navegation button {
    width: 3.2vw;
    height: 3.2vw;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 1.9vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation button:focus {
    outline: 2px solid var(--white)
}

/*========== Sección galería de más actividades ==========*/
.content-grid-three-external {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 6rem;
}

.background-more-activites {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--blue-gray);
    z-index: -1;
}

.grid-third-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(32, 1.5vw);
}

.event-activities-gallery {
    font-size: 2.13vw;
    grid-column: 1 / 15;
    grid-row: 4 / auto;
}

.content-total-gallery {
    grid-column: 1 / 15;
    grid-row: 9 / 29;
    display: flex;
    flex-direction:row;
    gap: 1.5vw;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
}

.content-total-gallery > div {
    flex: 0 0 calc(25% - 1.2vw);
    box-sizing: border-box;

}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    width: 100%;
    height: auto;
    border-radius: 2vw; 
}

.gallery-navegation-02 {
    grid-column: 12 / 14;
    grid-row: 28 / auto;
    display: flex;
    gap: 2vw;
    justify-content: center;
}

.gallery-navegation-02 button {
    width: 3.2vw;
    height: 3.2vw;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 1.9vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation-02 button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation-02 button:focus {
    outline: 2px solid var(--white)
}

/*--------- tarjeta interna de la galeria -----------*/
.content-gallery-activities-01,
.content-gallery-activities-02,
.content-gallery-activities-03,
.content-gallery-activities-04,
.content-gallery-activities-05 {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(18, 1.5vw);
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    grid-column: 1 / 15;
    grid-row: 1 / 27;
}

.content-gallery-activities-01 p,
.content-gallery-activities-02 p,
.content-gallery-activities-03 p,
.content-gallery-activities-04 p,
.content-gallery-activities-05 p {
    font-size: 1.2vw;
    grid-column: 3 / 13;
    grid-row: 14 / 17;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-title-01,
.background-title-02,
.background-title-03,
.background-title-04,
.background-title-05 {
    background-color: var(--white);
    grid-column: 2 / 14;
    grid-row: 14 / 17;
    border-radius: 1vw;
}
}

@media screen and (max-width: 800px){
/*------ Adaptación a table -------*/    
    .content-grid-one-external {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

.grid-leading {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(137, 1.5vw);
}

/*----verificar si no hace falta aquí al terminar-----*/
.rectangular-background {
    width: 100%;
    height: 100%;
    background-color: var(--blue-gray);
    grid-column: 1 / 15;
    grid-row: 4 / 85;
    border-radius: 30px;
    margin-right: 0px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.content-img-event {
    width: 100%;
    height: auto;
    grid-column: 2 / 14;
    grid-row: 90 / auto;
    display: flex;
    justify-content: flex-end;
}
/*----verificar si no hace falta aquí al terminar-----*/
.content-img-event img{
    width: 100%;
    height: auto;
    border-radius: 30px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.event-content {
    grid-column: 2 / 14;
    grid-row: 8 / 45;
    text-align: center;
    margin-right: 0vw;
    margin-left: 0vw;
}

.event-content h1 {
    font-size: 7vw;
    margin-bottom: 4vw;
}

.event-content h2 {
    font-size: 4vw;
    margin-bottom: 4vw;
    text-align: justify;
}

.event-content p {
    font-size: 3vw;
    margin-bottom: 6vw;
    line-height: 1.6;
    text-align: justify;
}

.learn-more-Button-footer {
    width: 40vw;
    height: 7vw;
    font-size: 3vw;
    background-color: #4c960b;
    border: none;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/*============== Sección Galeria ============*/

.content-grid-two-external {
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

.grid-secondary-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(94, 1.5vw);
}

.event-content-gallery-img {
    grid-column: 2 / 14;
    grid-row: 28 / 61;
    border-radius: 3vw;
    overflow: hidden;
}

.event-content-gallery-img img {
    width: 100%;
    height: auto;
    border-radius: 3vw;
}


.section-gallery-mini {
    grid-column: 1 / 15;
    grid-row: 69 / 88;
    overflow: hidden;
    display: flex;
    flex-direction:row;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0 5vw;
}

.section-gallery-mini img {
    width: 100%;
    height: 100%;
    margin-bottom: 2rem;
    border-radius: 1vw;
}

.background-gallery-black-1 {
    width: 100%;
    background-color: var(--black-color);
    grid-column: 1 / 6;
    grid-row: 69 / 88;
    margin: 0vw 0 0vw 0vw;
    border-radius: 2vw;
    position: relative;
    right: 4vw;
    z-index: -1;
}

.background-gallery-black-2 {
    width: 100%;
    background-color: var(--black-color);
    grid-column: 5 / 10;
    grid-row: 69 / 88;
    margin: 0vw 0 0vw 0vw;
    border-radius: 2vw;
    position: relative;
    left: 3vw;
    z-index: -1;
}

.background-gallery-black-3 {
    width: 100%;
    background-color: var(--black-color);
    grid-column: 10 / 15;
    grid-row: 69 / 88;
    margin: 0vw 0 0vw 0vw;
    border-radius: 2vw;
    position: relative;
    left: 4vw;
    z-index: -1;
}

.event-content-gallery-info {
    grid-column: 2 / 14;
    grid-row: 2 / auto;
}

.event-content-gallery-info h2 {
    font-size: 4vw;
    margin-bottom: 4vw;
    text-align: justify;
}

.event-content-gallery-info p {
    font-size: 3vw;
    line-height: 1.6;
    text-align: justify;
}

.gallery-navegation {
    grid-column: 2 / 14;
    grid-row: 63 / 65;
    display: flex;
    gap: 2vw;
    justify-content: center;
}

.gallery-navegation button {
    width: 6.2vw;
    height: 6.2vw;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 3vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation button:focus {
    outline: 2px solid var(--white)
}

/*========== Sección galería de más actividades ==========*/
.content-grid-three-external {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 5vw;
}

.background-more-activites {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--blue-gray);
    z-index: -1;
}

.grid-third-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(60, 1.5vw);
}

.event-activities-gallery {
    font-size: 3vw;
    grid-column: 1 / 15;
    grid-row: 4 / auto;
}

.content-total-gallery {
    grid-column: 1 / 15;
    grid-row: 11 / 50;
    display: flex;
    flex-direction:row;
    gap: 1.5vw;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
}

.content-total-gallery > div {
    flex: 0 0 calc(50% - 1.2vw);
    box-sizing: border-box;
    padding: 1vw;
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    width: 100%;
    height: auto;
    border-radius: 2vw; 
}

.gallery-navegation-02 {
    grid-column: 12 / 14;
    grid-row: 50 / auto;
    display: flex;
    gap: 2vw;
    justify-content: center;
}

.gallery-navegation-02 button {
    width: 5.2vw;
    height: 5.2vw;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 3vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation-02 button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation-02 button:focus {
    outline: 2px solid var(--white)
}

/*--------- tarjeta interna de la galeria -----------*/
.content-gallery-activities-01,
.content-gallery-activities-02,
.content-gallery-activities-03,
.content-gallery-activities-04,
.content-gallery-activities-05 {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(35, 1.5vw);
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    grid-column: 1 / 15;
    grid-row: 1 / 27;
}

.content-gallery-activities-01 p,
.content-gallery-activities-02 p,
.content-gallery-activities-03 p,
.content-gallery-activities-04 p,
.content-gallery-activities-05 p {
    font-size: 3vw;
    grid-column: 3 / 13;
    grid-row: 29 / 34;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-title-01,
.background-title-02,
.background-title-03,
.background-title-04,
.background-title-05 {
    background-color: var(--white);
    grid-column: 2 / 14;
    grid-row: 29 / 35;
    border-radius: 1vw;
}

}

@media screen and (max-width: 430px) {
/*------ Adaptación a Móvil -------*/    
.content-grid-one-external {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.4rem;
}

.grid-leading {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(205, 1.5vw);
}

/*----verificar si no hace falta aquí al terminar-----*/
.rectangular-background {
    width: 100%;
    height: 100%;
    background-color: var(--blue-gray);
    grid-column: 1 / 15;
    grid-row: 4 / 140;
    border-radius: 30px;
    margin-right: 0px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.content-img-event {
    width: 100%;
    height: auto;
    grid-column: 1 / 15;
    grid-row: 145 / auto;
    display: flex;
    justify-content: flex-end;
}
/*----verificar si no hace falta aquí al terminar-----*/
.content-img-event img{
    width: 100%;
    height: auto;
    border-radius: 30px;
}
/*----verificar si no hace falta aquí al terminar-----*/
.event-content {
    grid-column: 2 / 14;
    grid-row: 8 / 45;
    text-align: center;
    margin-right: 0vw;
    margin-left: 0vw;
}

.event-content h1 {
    font-size: 9vw;
    margin-bottom: 7vw;
}

.event-content h2 {
    font-size: 5.5vw;
    margin-bottom: 7vw;
    text-align:center;
}

.event-content p {
    font-size: 4vw;
    margin-bottom: 7vw;
    line-height: 1.6;
    text-align: justify;
}

.learn-more-Button-footer {
    width: 50vw;
    height: 10vw;
    font-size: 4vw;
    background-color: #4c960b;
    border: none;
    border-radius: 10px;
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/*============== Sección Galeria ============*/

.content-grid-two-external {
    width: 100%;
    margin: 0 auto;
    padding: 0 1.4rem;
}

.grid-secondary-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(128, 1.5vw);
}

.event-content-gallery-img {
    grid-column: 1 / 15;
    grid-row: 48 / 87;
    border-radius: 3vw;
    overflow: hidden;
}

.event-content-gallery-img img {
    width: 100%;
    height: auto;
    border-radius: 3vw;
}


.section-gallery-mini {
    grid-column: 1 / 15;
    grid-row: 99 / 118;
    overflow: hidden;
    display: flex;
    flex-direction:row;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 0 5vw;

}

.section-gallery-mini img {
    width: 100%;
    height: 100%;
    margin-bottom: 2rem;
    border-radius: 1vw;
}

.background-gallery-black-1 {
    width: 100%;
    background-color: var(--black-color);
    grid-column: 1 / 6;
    grid-row: 99 / 118;
    margin: 0vw 0 0vw 0vw;
    border-radius: 2vw;
    position: relative;
    right: 4vw;
    z-index: -1;
}

.background-gallery-black-2 {
    width: 100%;
    background-color: var(--black-color);
    grid-column: 5 / 10;
    grid-row: 99 / 118;
    margin: 0vw 0 0vw 0vw;
    border-radius: 2vw;
    position: relative;
    left: 3vw;
    z-index: -1;
}

.background-gallery-black-3 {
    width: 100%;
    background-color: var(--black-color);
    grid-column: 10 / 15;
    grid-row: 99 / 118;
    margin: 0vw 0 0vw 0vw;
    border-radius: 2vw;
    position: relative;
    left: 4vw;
    z-index: -1;
}

.event-content-gallery-info {
    grid-column: 2 / 14;
    grid-row: 2 / auto;
}

.event-content-gallery-info h2 {
    font-size: 5.5vw;
    margin-bottom: 4vw;
    text-align: center;
}

.event-content-gallery-info p {
    font-size: 4vw;
    line-height: 1.6;
    text-align: justify;
}

.gallery-navegation {
    grid-column: 2 / 14;
    grid-row: 89 / auto;
    display: flex;
    gap: 2vw;
    justify-content: center;
}

.gallery-navegation button {
    width: 8.2vw;
    height: 8.2vw;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 5vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation button:focus {
    outline: 2px solid var(--white)
}

/*========== Sección galería de más actividades ==========*/
.content-grid-three-external {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 4vw;
}

.background-more-activites {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: var(--blue-gray);
    z-index: -1;
}

.grid-third-gallery {
    transform-origin: top center;
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(80, 1.5vw);
}

.event-activities-gallery {
    font-size: 4vw;
    grid-column: 1 / 15;
    grid-row: 5 / auto;
}

.content-total-gallery {
    grid-column: 1 / 15;
    grid-row: 15 / 85;
    display: flex;
    flex-direction:row;
    gap: 1.5vw;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    scrollbar-width: none;
}

.content-total-gallery > div {
    flex: 0 0 calc(70% - 1.2vw);
    box-sizing: border-box;
    padding: 1vw;
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    width: 100%;
    height: auto;
    border-radius: 2vw; 
}

.gallery-navegation-02 {
    grid-column: 13 / 14;
    grid-row: 73 / auto;
    display: flex;
    gap: 2vw;
    justify-content: center;
}

.gallery-navegation-02 button {
    width: 7.2vw;
    height: 7.2vw;
    border-radius: 50%;
    border: none;
    background-color: var(--dark-gray);
    color: var(--black-color);
    font-size: 5vw;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.gallery-navegation-02 button:hover {
    background-color: var(--light-green-color);
    transform: scale(1.1);
}

.gallery-navegation-02 button:focus {
    outline: 2px solid var(--white)
}

/*--------- tarjeta interna de la galeria -----------*/
.content-gallery-activities-01,
.content-gallery-activities-02,
.content-gallery-activities-03,
.content-gallery-activities-04,
.content-gallery-activities-05 {
    display: grid;
    grid-template-columns: repeat(14, 1fr);
    grid-template-rows: repeat(50, 1.5vw);
}

.content-gallery-activities-01 img,
.content-gallery-activities-02 img,
.content-gallery-activities-03 img,
.content-gallery-activities-04 img,
.content-gallery-activities-05 img {
    grid-column: 1 / 15;
    grid-row: 1 / 27;
}

.content-gallery-activities-01 p,
.content-gallery-activities-02 p,
.content-gallery-activities-03 p,
.content-gallery-activities-04 p,
.content-gallery-activities-05 p {
    font-size: 3.5vw;
    grid-column: 3 / 13;
    grid-row: 41 / 50;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-title-01,
.background-title-02,
.background-title-03,
.background-title-04,
.background-title-05 {
    background-color: var(--white);
    grid-column: 2 / 14;
    grid-row: 41 / 50;
    border-radius: 1vw;
}

}
