*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: #c0c0c0;
    background-position: center;
    background-repeat: no-repeat;
    height: 600px;
}

h2{
    text-align: center;
    font-size: 40px;
    font-family: arial;
    margin-top: 40px;
    color: white;
    text-shadow: 0px 0px 0px;
}

.content-all{
    width: 200px;
    margin: auto;
    perspective: 800px;
    position: relative;
    margin-top: 20px;
}

.content-carrousel{
    width: 100%;
    position: absolute;
    animation: rotar 50s infinite linear;
    transform-style: preserve-3d;
    animation-play-state: running;
}

.content-carrousel:hover{
    animation-play-state: paused;
    cursor: pointer;
}

.content-carrousel figure{
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: absolute;
    box-shadow: 0px 0px 0px 0px;
    transition: all 300ms;
    
}

.content-carrousel figure:hover{
    box-shadow: 0px 0px 0px 0px;
    transition: all 300ms;
}

.content-carrousel figure:nth-child(1){transform: rotateY(0deg) translateZ(300px);}
.content-carrousel figure:nth-child(2){transform: rotateY(45deg) translateZ(300px);}
.content-carrousel figure:nth-child(3){transform: rotateY(90deg) translateZ(300px);}
.content-carrousel figure:nth-child(4){transform: rotateY(135deg) translateZ(300px);}
.content-carrousel figure:nth-child(5){transform: rotateY(180deg) translateZ(300px);}
.content-carrousel figure:nth-child(6){transform: rotateY(225deg) translateZ(300px);}
.content-carrousel figure:nth-child(7){transform: rotateY(270deg) translateZ(300px);}
.content-carrousel figure:nth-child(8){transform: rotateY(315deg) translateZ(300px);}
.content-carrousel figure:nth-child(9){transform: rotateY(360deg) translateZ(300px);}


.content-carrousel img{
    width: 100%;
    transition: all 800ms;
}

.content-carrousel img:hover{
    transform: scale(1.3);
    transition: all 300ms;
}

@keyframes rotar{
    from{
        transform: rotateY(0deg);
    }to{
        transform: rotateY(360deg);
    }
}

a:link 		{color: white; font-weight: 900;} 
a:visited 	{color: gold; font-weight: 900;}

