.seccion-eventos {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2vh;
    height: 100%;
}

.contenedor-carrusel {
    justify-content: center;
    display: flex;
    width: 100%;
    height: 350px;
    position: relative;
}

.contenedor-cards {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Alineación desde el inicio */
    width: 900px;
    height: 100%;
    overflow-x: hidden;

    /* Impide que los hijos se acomoden en varias líneas */
    transition: transform 0.5s ease-in-out;
    z-index: 3;
    margin: 0 4rem;
}

.contenedor-campos {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: flex-start;
    /* Alineación desde el inicio */
    height: auto;
    width: auto;
    /* Impide que los hijos se acomoden en varias líneas */
    transition: transform 0.5s ease-in-out;
    padding: 0 5px;
}


.campo-estructure {
    display: flex;
    flex-direction: column;
    width: 260px;
    height: 260px;
    background-color: #e7e7e7;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow:
        10px 10px 3px rgba(0, 0, 0, 0.6),
        0 10px 3px rgba(255, 255, 255, 0.3),
        10px 0 3px rgba(255, 255, 255, 0.3);
    cursor: pointer;

}

.titulo {
    background-color: #2f2f2f;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    text-align: center;
    padding: 1rem 0;
    border-radius: 10px;
    font-weight: 700;
}

.texto-grande {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 5rem;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: auto;
}

.descripción {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: start;
    padding: 1rem 1rem;
    margin: 0;
    height: 30%;
    text-align: center;
}

.contenedor-flechas {
    position: absolute;
    width: 99%;
    height: auto;
    top: 42%;
    left: 0;
    display: flex;
    justify-content: space-between;

}

.arrow-left {
    background-image: url("img/LEFT_ARROW.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 4rem;
    height: 3rem;
    cursor: pointer;
    margin-left: 1%;
}

.arrow-right {
    background-image: url("img/RIGHT_ARROW.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 4rem;
    height: 3rem;
    cursor: pointer;
    margin-right: -0.4rem;
}

.text-title{
    font-size: clamp(15px, 5vw, 32px);
    color: white;
    font-weight: 700;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
}

.content-title-statistics{
    background-color: #193e3f;
    flex-flow: row nowrap;
    padding: 30px;
    background-position: center;
    font-size: clamp(15px, 5vw, 25px);
    color: #ffff;
    margin-top: 30px;
    text-align: center;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

@media (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

.title-left {
    height: auto;
    background-image: url("img/TITULO_RECUADRO.png");
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
}

.text-title-right {
    text-align: right;
    padding-right: 17%;
}

.text-title {
    font-size: clamp(15px, 5vw, 32px);
    color: white;
    font-weight: 700;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
}

/*Modal*/

.modal {
    margin-top: 1.5rem;
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease-in-out;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 10% auto;
    padding: 8px;
    border-radius: 10px;
    width: fit-content;
    height: fit-content;
    margin-top: 5%;
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
}

/* Cuando el modal está activo */
.modal.show {
    display: flex;
    opacity: 1;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close {
    color: #a5a5a5;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.close:hover {
    color: rgb(0, 0, 0);
}

.event {
    display: flex;
    width: 80vw;
    height: auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.event-date {
    background-color: #e7e7e7;
    height: 300px;
    width: 300px;
    border-radius: 8px;
    box-shadow:
        10px 10px 3px rgba(0, 0, 0, 0.6),
        0 10px 3px rgba(255, 255, 255, 0.3),
        10px 0 3px rgba(255, 255, 255, 0.3);
}

.date-month {
    height: 25%;
    background-color: #2f2f2f;
    color: white;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 3rem;
    font-weight: 700;
    border-radius: 8px;
    padding-top: 0.3rem;
}

.date-number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 73%;
    text-align: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 7rem;
    margin-top: 0;
}

.event-details {
    background-color: #d9d9d9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Asegura que los hijos ocupen todo el ancho */
    width: 100%;
    /* O el ancho que necesites */
    max-width: 600px;
    max-height: auto;
    /* Ajusta según tu diseño */
    box-shadow:
        10px 10px 3px rgba(0, 0, 0, 0.6),
        0 10px 3px rgba(255, 255, 255, 0.3),
        10px 0 3px rgba(255, 255, 255, 0.3);
}

.event-details-tittle {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    height: 20%;
    display: flex;
    justify-content: center;
    /* Centrado horizontal (opcional) */
    align-items: center;
    padding: 10px 0px;
}

.event-details-text {
    background-color: #e7e7e7;
    border-radius: 8px;
    height: fit-content;
    margin: 0 1rem;
    padding: 1rem 1.5rem;
    padding-bottom: 2rem;
    line-height: 1.4rem;
    margin-bottom: 1rem;
}

.regresar-btn {
    background-color: #e7e7e7;
    color: black;
    font-family: Arial, sans-serif;
    font-size: 1.5rem;
    padding: 0.5rem;
    margin-left: 6.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.event-details-text p {
    font-size: 0.8rem;
    /* Tamaño estándar del contenido */
    margin-bottom: 10px;
    /* Espaciado entre párrafos */
}

.event-label {
    font-size: 1.2rem;
    /* Tamaño más grande para los títulos */
    font-weight: bold;
    /* Negrita para resaltarlo */
    color: #333;
    /* Color más oscuro para diferenciación */
}

.text-title{
    font-size: clamp(15px, 5vw, 32px);
    color: white;
    font-weight: 700;
    padding-top: 1.3rem;
    padding-bottom: 1.3rem;
}

.content-title-statistics{
    background-color: #193e3f;
    flex-flow: row nowrap;
    padding: 30px;
    background-position: center;
    font-size: clamp(15px, 5vw, 25px);
    color: #ffff;
    margin-top: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .title-left {
        max-width: 100%;
        width: 100%;
        height: auto;
        background-image: url(img/TITULO_RECUADRO.png);
        background-position: center right;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

/* Media Queries para dispositivos móviles */
@media (max-width: 767px) {
    .contenedor-cards {
        flex-direction: column;
        align-items: center;
    }

    .campo-estructure {
        width: 250px;
        margin: 10px 0;
    }

    .campo-estructure .titulo {
        font-size: 16px;
    }

    .campo-estructure .texto-grande {
        font-size: 24px;
    }

    .campo-estructure .descripción {
        font-size: 12px;
    }

    .arrow-left, .arrow-right {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .campo-estructure {
        width: 200px;
    }

    .campo-estructure .titulo {
        font-size: 14px;
    }

    .campo-estructure .texto-grande {
        font-size: 20px;
    }

    .campo-estructure .descripción {
        font-size: 11px;
    }

    .arrow-left, .arrow-right {
        width: 30px;
        height: 30px;
    }
}