.final-testmony {
    display: flex;
    flex-direction: column;
    height: 180vh;
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
}
.final-test-text {
    height: 20%;
    width: 90%;
    display: flex;
}
.final-test-text h3 {
    font-size: 140%;
    text-align: center;
}
.final-test-text h3 span {
    color: #1B4A78;
}
.card-videos {
    height: 60%;
    width: 100%;
    overflow: auto;
    background: linear-gradient(to bottom, 
        white 0%, 
        white 10%, 
        #1B4A78 10%, 
        #1B4A78 90%, 
        white 90%, 
        white 100%);
}
.cards-video {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.card {
    height: 50%;
    width: 300px;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    position: relative; /* Mantém o vídeo dentro da div */
    overflow: hidden; /* Evita que o vídeo saia da div */
}

.card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* Garante que o vídeo fique sobre a capa */
    top: 0;
    left: 0;
    display: none; /* Inicialmente oculto */
}



.card1 {
    background-image: url('/src/depoimento-gab-1.png');
    background-repeat: no-repeat;
    background-position: center;
    
}
.card2 {
    background-image: url('/src/depoimento-mar.png');
    background-repeat: no-repeat;
    background-position: center;
    
    
}
.card3 {
    display: none;
    background-image: url('/src/depoimento-gab-1.png');
    background-repeat: no-repeat;
    background-position: center;

}

@media (min-width: 840px) {
    .final-testmony {
        display: flex;
        flex-direction: column;
        height: 190vh;
        width: 100%;
        align-items: center;
        justify-content: space-evenly;
    }
    .card-videos {
        height: 60%;
        width: 100%;
        overflow: auto;
        background: linear-gradient(to bottom, 
            white 0%, 
            white 10%, 
            #1B4A78 10%, 
            #1B4A78 90%, 
            white 90%, 
            white 100%);
    }
    .cards-video {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
    }
    .final-test-text h3 {
        font-size: 200%;
    }
    .final-test-text {
        height: 10%;
    }
    .card3 {
        display: block;
    }
}
@media (min-width: 1400px) {
    .card {
        width: 400px;
        height: 60%;
    }
}