html,
body {
    font-family: 'Shrikhand', cursive;
    background-color: #f1e4db;
}

.window {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

#doors {
    position: relative;
    z-index: 2;
}

.door {
    display: flex;
    align-items: center;
    justify-content: center;

    text-shadow: 1px 1px 1px #f1e4db,
        1px -1px 1px #f1e4db,
        -1px 1px 1px #f1e4db,
        -1px -1px 1px #f1e4db;

}

.door div {
    font-size: 3em;
    cursor: pointer;
}

.door div:hover {
    font-size: 3.5em;
}

.nr.active {
    color: #d70145;
}

.tape {
    position: relative;
    max-width: 70vw;
}

.tape.bg {
    background-image: url(../pics/0.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tape img {
    max-width: 100%;
    display: block;
}


.wheel {
    position: absolute;
    top: 37.2%;
    width: 11%;
    transform: rotate(0deg);
}

.tapewindow {
    position: absolute;
    top: 39.2%;
    left: 40.8%;
    width: 18.7%;
}

.wheel.left {
    left: 24.8%;
}

.wheel.right {
    left: 64.9%;
}

#controls {
    display: none;
    position: fixed;
    justify-content: center;
    z-index: 3;
    top: 0px;
    left: 0px;
    background: #000;
    padding: 5px;
}

#controls>div {
    margin: 15px 10px 10px 10px;
    cursor: pointer;
}

#play:before,
#play:after {
    content: '';
    position: absolute;
    background-color: inherit;
}

#play,
#play:before,
#play:after {
    width: 25px;
    height: 25px;
    border-top-right-radius: 30%;
}

#controls #play {
    background-color: rgb(255, 255, 255);
    transform: rotate(30deg) skewX(-30deg) scale(1, .866);
    margin: 20px 15px 20px 22px;
}

#controls #play.active, #controls #play:hover {
    background-color: #00ffa0;
}

#play:before {
    transform: rotate(-135deg) skewX(-45deg) scale(1.414, .707) translate(0, -50%);
}

#play:after {
    transform: rotate(135deg) skewY(-45deg) scale(.707, 1.414) translate(50%);
}

#pause span {
    display: inline-block;
    width: 15px;
    background: #f1e4db;
    height: 35px;
    margin-right: 5px;
}

#stop {
    background: #f1e4db;
    width: 35px;
    height: 35px;
}

#stop:hover, #pause:hover span, #pause.active span {
    background-color: #d70145;
}

#pause span, #stop {
    border-radius: 5px;
}

.alert {
    width: 100%;
    text-align: center;
    font-size: 30px;
}

#credits {
    font-family: sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    position: fixed;
    bottom: 0px;
    right: 0px;
    background-color: #000;
    color: #f1e4db;
    padding: 6px 10px;
    z-index: 5;
}

#buy {
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 4;
    padding: 20px;
    cursor: pointer;
}

#buy img {
    width: 50px;
}

@-webkit-keyframes rotating

/* Safari and Chrome */
    {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.rotating {
    -webkit-animation: rotating 4s linear infinite;
    -moz-animation: rotating 4s linear infinite;
    -ms-animation: rotating 4s linear infinite;
    -o-animation: rotating 4s linear infinite;
    animation: rotating 4s linear infinite;
}

@media screen and (max-width:800px) {

    html,
    body {
        background-position: 45%;
    }
}