@import url(base.css);
.seccionBox{
    background-repeat: no-repeat;
    background-size: cover;
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.titulo-seccion{
    font-family: var(--kadwa);
    font-size: 48px;
    font-weight: 400;
    text-align: center;
    text-transform: capitalize;
}
.seccionBox:first-of-type{
    padding-top: 80px;
}
.seccionMain{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.carrusel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1560px; /* Ajustar el ancho máximo para 4 imágenes */
    margin: 0 auto;
}
.carrusel {
    transition: transform 0.5s ease-in-out;
    display: flex;
    gap: 30px;
}
.carrusel img {
    width: 100%; /* Mostrar 4 imágenes simultáneamente */
    max-width: 500px;
    height: 600px;
    flex-shrink: 0;
    cursor: pointer;
    border-radius: 5px;
}
.boton {
    background-color: transparent;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: auto;
}
.boton:disabled {
    cursor: not-allowed;
}
.boton i{
    font-size: 40px;
}

.izquierda i{
    transform: rotate(270deg);
}
.derecha i{
    transform: rotate(90deg);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(205, 205, 205, 0.2);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.popup {
    background: var(--morado);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.popup img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 5px;
}

.cerrarPopup {
    cursor: pointer;
    background: none;
    position: absolute;
    top: 0px;
    right: 0px;
}
.cerrarPopup i{
    font-size: 25px;
    padding: 15px;
}
.popupBotones{
    display: flex;
    flex-direction: row;
    gap: 20px;
}
@media only screen and (min-width: 0px) and (max-width: 1000px) {
    .seccionBox{
        padding: 20px;
    }
    .seccionBox h2{
        font-size: 24px !important;
        text-align: center;
        text-transform: capitalize;
    }
    .seccionBox:first-of-type{
        padding-top: 70px;
    }
    .verTodos{
        font-size: 14px;
    }
    .carrusel{
        gap: 30px;
    }
    .carrusel img {
        width: 100%;
        max-width: 234px;
        height: auto;
    }
    .carrusel-container {
        width: 100%;
        max-width: 234px;
    }
    .popup{
        padding: 20px;
    }
    .info-btn{
        padding: 10px 10px;
    }
}