#start {
    position: fixed;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: url("/static/game_start/img/h.jpg") center/cover no-repeat #627dfb
}

#startBtn {
    width: 27%;
    height: 0;
    padding-bottom: 28%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    transform-style: preserve-3d;
    background-image: url("/static/game_start/img/play.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    -webkit-animation: heartbeat 1.5s ease-in-out infinite both;
    animation: heartbeat 1.5s ease-in-out infinite both
}

#startLoading {
    width: 27%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 43px;
    margin: auto;
    display: none;
}
#startLoading img{
    width: 80%;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: -48px;
    margin: auto;
    -webkit-animation: spin 2s linear 1s 5 alternate;
    animation: spin 1.7s linear infinite
}

@-webkit-keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(-360deg)
    }
}

@keyframes spin {
    0% {
        transform: rotate(0)
    }

    100% {
        transform: rotate(-360deg)
    }
}

@-webkit-keyframes heartbeat {
    0% {
        transform: scale(1);
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    10% {
        transform: scale(.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    17% {
        transform: scale(.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    33% {
        transform: scale(.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    45% {
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
        transform-origin: center center;
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    10% {
        transform: scale(.91);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    17% {
        transform: scale(.98);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }

    33% {
        transform: scale(.87);
        -webkit-animation-timing-function: ease-in;
        animation-timing-function: ease-in
    }

    45% {
        transform: scale(1);
        -webkit-animation-timing-function: ease-out;
        animation-timing-function: ease-out
    }
}

@media only screen and (min-width:550px) {
    #start {
        background: url("/static/game_start/img/v.jpg") center/cover no-repeat #627dfb
    }

    #startBtn {
        width: 23%;
        padding-bottom: 23%;
        bottom: 10%
    }

    #startLoading {
        width: 20%
    }
    #startLoading img{
        width: 100%
    }
}