﻿/** {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    text-align: center;
}*/

.scene {
    position: relative;
    width: 360px;
    max-width: 100%;
    height: 140px;
    margin: 0 0 0 15px;
    perspective: 1000px;
    display: inline-block;
}


.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform: translateZ(-288px);
    transform-style: preserve-3d;
    transition: transform 1s;
}

.carousel__cell {
    backface-visibility: hidden;
    position: absolute;
    width: 450px;
    height: 120px;
    left: 10px;
    top: 10px;
    line-height: 116px;
    font-weight: bold;
    color: #075073;
    text-align: left;
    transition: transform 1s, opacity 1s;
    backface-visibility: hidden;
    text-shadow: 0.03em 0.03em #ddd, 0.08em 0.08em #bbb;
}

.discription {
    text-shadow: 0.03em 0.03em #ddd, 0.08em 0.08em #bbb;
    font-size: 32px;
    font-weight: bold;
    margin: auto;
}

.carousel__cell:nth-child(1) {
    transform: rotateY(0deg) translateZ(288px);
}

.carousel__cell:nth-child(2) {
    transform: rotateY(40deg) translateZ(288px);
}

.carousel__cell:nth-child(3) {
    transform: rotateY(80deg) translateZ(288px);
}

.carousel__cell:nth-child(4) {
    transform: rotateY(120deg) translateZ(288px);
}

.carousel__cell:nth-child(5) {
    transform: rotateY(160deg) translateZ(288px);
}

.carousel__cell:nth-child(6) {
    transform: rotateY(200deg) translateZ(288px);
}

.carousel__cell:nth-child(7) {
    transform: rotateY(240deg) translateZ(288px);
}

.carousel__cell:nth-child(8) {
    transform: rotateY(280deg) translateZ(288px);
}

.carousel__cell:nth-child(9) {
    transform: rotateY(320deg) translateZ(288px);
}



.carousel-options {
    text-align: center;
    position: relative;
    z-index: 2;
    background: hsla(0, 0%, 100%, 0.8);
}


@media only screen and (max-width:570px) {
    .carousel__cell {
        width: 100%;
        height: 30px;
        top: 0;
        left: 0;
        line-height: 45px;
        display: block;
    }

    .scene {
        width: 70%;
        max-width: 100%;
        height: 30px;
    }
}