﻿
.seccion-video {
    display: flex;
    flex-direction: column;
    padding-left:var(--section-left-padding);
    padding-right: var(--section-right-padding);
    gap: 2em;
    position: relative;
    padding-bottom: 2rem;
    justify-self: center;
}

.videos-tittle-container{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    /* align-content: center; */
    gap: 2rem;
}

.videos-cafe-card-contenedor {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding-left: 88px;
    gap: 1.2rem;
}

/*cards*/
.card-video{
    display: flex;
    flex-direction: column;
    max-width:295px;
    cursor: pointer;
}

.img-card-video{
    width: 100%;
    height: auto;
}

.img-video-container{
    position: relative;
}

.img-player-btn{
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%, -50%);
    /* padding: 3px 8px; */
    /* border-radius: 3px; */
}

.video-titulo{
    font-family: "Bree Serif", serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    word-spacing: 8px;
    letter-spacing: 0;
    text-decoration: none;
    color: var(--gray-950);
}

.load-more-video-card-btn {
    display: flex;
    justify-self: center;
    align-self: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-radius: 56px;
    border-color: var(--gray-250);
    border-style: ridge;
    cursor: pointer;
    border-width: 1px;

    font-family: "Open Sans", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    word-spacing: 2px;
    letter-spacing: 0;
    color: var(--gray-700);
}


/*modal*/
.custom-modal{
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-self: center;
    background-color: rgba(0, 0, 0, .0);
    border-width: 0;
    overflow: hidden;
}

.custom-modal::backdrop{
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(12px);
}

.vc-lite-styles{
    width: 50vw;
    height: auto;
}
#vc-modal-full-container{
    /*el modal modifica su comportamiento*/
}

.vc-video-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.vc-modal-container{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1em;
    width: 80vw;
    height: 80vh;
    align-items: center;
    justify-content: center;
}

#vs-btn-close{
    all:unset;
    align-self: flex-end;
    display: flex;
    flex-direction: row;
    padding-top: 2rem;
    gap:1rem;
    flex-wrap: wrap;
    align-content: baseline;
    cursor: pointer;
}

#vs-btn-close > p{
    color: white;
}

#vs-btn-close > i{
    width: 24px;
    height: 24px;
    background-image: url('../imagenes/iconos/close-circle.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

#vc-prev-btn{
    all:unset;
    cursor: pointer;

    width: 56px;
    height: 56px;
    background-image: url('../imagenes/iconos/circle-button-right.svg');
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(180deg);
}

#vc-next-btn{
    all:unset;
    cursor: pointer;

    width: 56px;
    height: 56px;
    background-image: url('../imagenes/iconos/circle-button-right.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

#video-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.vc-modal-content{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.vc-texto-titulo{
    text-align: center;
}

@media (max-width: 640px) {
    .card-video{
        max-width:none;
    }
    .vc-icon-cafe {
        /* width: 48px; */
        max-width: fit-content;
    }
    .videos-tittle-container{
        display: flex;
        flex-direction: column;
        /* align-content: center; */
        gap: 2rem;
    }

    .videos-cafe-card-contenedor {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1rem;
        padding: 0rem;
    }
    /*modal*/
    .custom-modal{
        overflow: visible;
    }

    .vc-modal-container{
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 1em;
        width: 100vw;
        height: 100vh;
        align-items: center;
        justify-content: center;
    }

    .vc-lite-styles{
        width: 100vw;
        height: auto;
    }

    #vc-prev-btn{
        display: none;
    }
    
    #vc-next-btn{
        display: none;
    }

    #vc-prev-btn-mob{
        all:unset;
        cursor: pointer;

        width: 56px;
        height: 56px;
        background-image: url('../imagenes/iconos/circle-button-right.svg');
        background-repeat: no-repeat;
        background-size: contain;
        transform: rotate(180deg);
    }
    
    #vc-next-btn-mob{
        all:unset;
        cursor: pointer;

        width: 56px;
        height: 56px;
        background-image: url('../imagenes/iconos/circle-button-right.svg');
        background-repeat: no-repeat;
        background-size: contain;
    }
}