*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    /* background-size: 330vh; */
    background-color: #FFFFFF;
}

h2{
    text-align: center;
    font-size: 25px;
    font-family: arial;
    margin-top: 40px;
    color: #3899EC;
    text-shadow: 0px 1px 5px #FFFFFF;
}

.content-all{
    width: 3%; /* Ancho de la imagen */
    margin: auto;
    perspective: 800PX; /* Acercamiento del carrousel */
    position: relative;
    margin-top: 80px; /* Sepatacion titulo carrousel */
}

.content-carrousel{
    width: 40px; /* Separacion imagenes ok */
    position: absolute;
    animation: rotar 40s infinite linear; /* Velocidad carrousel */
    transform-style: preserve-3d;
}

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

.content-carrousel figure{
    width: 200%; /* Ancho imagen */
    height: 61px; /* Alto imagen */
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 0px 5px 0px #3899EC; /* Sombra imagen */
    transition: all 0ms; /* Aparicion carrousel */
}

.content-carrousel figure:hover{
    box-shadow: 0px 0px 5px 0px #FFFF00;
    transition: all 0ms;
}

.content-carrousel figure:nth-child( 1){transform: rotateY(000deg) translateZ(200px);}
.content-carrousel figure:nth-child( 2){transform: rotateY(015deg) translateZ(400px);}
.content-carrousel figure:nth-child( 3){transform: rotateY(030deg) translateZ(200px);}
.content-carrousel figure:nth-child( 4){transform: rotateY(045deg) translateZ(400px);}
.content-carrousel figure:nth-child( 5){transform: rotateY(060deg) translateZ(200px);}
.content-carrousel figure:nth-child( 6){transform: rotateY(075deg) translateZ(400px);}
.content-carrousel figure:nth-child( 7){transform: rotateY(090deg) translateZ(200px);}
.content-carrousel figure:nth-child( 8){transform: rotateY(105deg) translateZ(400px);}
.content-carrousel figure:nth-child( 9){transform: rotateY(120deg) translateZ(200px);}
.content-carrousel figure:nth-child(10){transform: rotateY(135deg) translateZ(400px);}
.content-carrousel figure:nth-child(11){transform: rotateY(150deg) translateZ(200px);}
.content-carrousel figure:nth-child(12){transform: rotateY(165deg) translateZ(400px);}
.content-carrousel figure:nth-child(13){transform: rotateY(180deg) translateZ(200px);}
.content-carrousel figure:nth-child(14){transform: rotateY(195deg) translateZ(400px);}
.content-carrousel figure:nth-child(15){transform: rotateY(210deg) translateZ(200px);}
.content-carrousel figure:nth-child(16){transform: rotateY(225deg) translateZ(400px);}
.content-carrousel figure:nth-child(17){transform: rotateY(240deg) translateZ(200px);}
.content-carrousel figure:nth-child(18){transform: rotateY(255deg) translateZ(400px);}
.content-carrousel figure:nth-child(19){transform: rotateY(270deg) translateZ(200px);}
.content-carrousel figure:nth-child(20){transform: rotateY(285deg) translateZ(400px);}
.content-carrousel figure:nth-child(21){transform: rotateY(300deg) translateZ(200px);}
.content-carrousel figure:nth-child(22){transform: rotateY(315deg) translateZ(400px);}
.content-carrousel figure:nth-child(23){transform: rotateY(330deg) translateZ(200px);}
.content-carrousel figure:nth-child(24){transform: rotateY(345deg) translateZ(400px);}
.content-carrousel figure:nth-child(25){transform: rotateY(360deg) translateZ(200px);}

.content-carrousel img{
    width: 100%; /* tamaño imagen en cuadro */
    transition: all 0ms;
}

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

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