.content-all{
    width: 420px;
    margin: auto;
    perspective: 1200px;
    position: relative;
    margin-top: 50px;
    height: 24vh;
}

.content-carrousel{
    width: 100%;
    position: absolute;
    animation: rotar 10s infinite linear;
    transform-style: preserve-3d;
}

.content-carrousel:hover{
    animation-play-state: paused;
    cursor: pointer;
}


.content-carrousel figure{
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 0px 20px 0px black;
    transition: all 300ms;
    
}

.content-carrousel figure:hover{
    box-shadow: 0px 0px 0px 0px black;
    transition: all 300ms;
}


.content-carrousel img{
    width: 100%;
    transition: all 300ms;
}

.content-carrousel img:hover{
    transform: scale(1.2);
    transition: all 300ms;
}


@keyframes rotar{
    from{
        transform: rotateY(0deg);
    }to{
        transform: rotateY(360deg);
    }
}


@media (max-width:767px) {
    .content-carrousel figure{
        height: 60px;
        
    }

    .content-all{
        width: 105px;
        perspective: 400px;
        height: 8vh;
    }
}

@media (max-width:1439px) {
    .content-carrousel figure{
        height: 120px;
        
    }

    .content-all{
        width: 210px;
        perspective: 800px;
        height: 12vh;
    }
}








