* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    width: 100%;
    height: 100vh;
    font-family: sans-serif;
    background-image: url('images/bg.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover
}

.app {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 0 auto;
    justify-content: space-between;
    text-align: center
}

a {
    display: inline-block
}

a:hover {
    border: 0
}

.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.logo img {
    width: 50%;
    margin-left: 25%
}

.button_block {
    width: 100%;
    margin-bottom: 20px
}

footer {
    width: 100%;
    flex-shrink: 0;
    padding: 20px 0;
    background: #000;
    text-align: center;
    font-size: 14px;
    color: #fefefe;
    box-shadow: 0 0 0 2px #303030, 0 -3px 0 3px #484747, 0 -6px 0 2px #9c9b9b
}

footer p {
    font-family: Sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1.5
}

.modal {
    background: #fefefe;
    position: absolute;
    width: 320px;
    left: 50%;
    margin-left: -160px;
    border-radius: 6px;
    border: 1px solid #5f10c0;
    box-shadow: 0 0 5px 2px #d807fe;
    top: 180px;
    display: none
}

.modal.visible {
    display: block
}

.modal div {
    padding: 40px 15px 30px 15px;
    position: relative;
    text-align: center;
    font-family: Sans-serif;
    font-weight: 400;
    line-height: 20px;
    font-size: 16px
}

.modal div:before {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 50%;
    margin-left: -25px;
    top: -25px;
    content: '';
    -webkit-border-radius: 45px;
    -moz-border-radius: 45px;
    border-radius: 45px;
    background: url('images/arrow.png') center center no-repeat
}

.logo,
.button_block,
.modal,
.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@keyframes bounceIn {
    from,
    20%,
    40%,
    60%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1)
    }
    0% {
        opacity: 0;
        transform: scale3d(0.3, 0.3, 0.3)
    }
    20% {
        transform: scale3d(1.1, 1.1, 1.1)
    }
    40% {
        transform: scale3d(0.9, 0.9, 0.9)
    }
    60% {
        opacity: 1;
        transform: scale3d(1.03, 1.03, 1.03)
    }
    80% {
        transform: scale3d(0.97, 0.97, 0.97)
    }
    to {
        opacity: 1;
        transform: scale3d(1, 1, 1)
    }
}

.bounceIn,
.logo {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn
}

@keyframes bounce {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        transform: translate3d(0, 0, 0)
    }
    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -30px, 0)
    }
    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        transform: translate3d(0, -15px, 0)
    }
    90% {
        transform: translate3d(0, -4px, 0)
    }
}

.bounce,
.button_block {
    animation-name: bounce;
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, -50%, 0)
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0)
    }
}

.fadeInUp,
.modal {
    animation-name: fadeInUp
}

@media only screen and (min-width:768px) and (orientation:landscape) {
    body {
        background-position: center top;
    }
    .logo img {
        width: 325px;
        text-align: center;
        margin-top: 10px;
        margin-left: 0;
    }
    .modal {
        top: 250px;
    }

    .modal div:before {
        width: 50px;
        height: 50px;
        position: absolute;
        left: 50%;
        margin-left: -25px;
        top: -25px;
        content: '';
        -webkit-border-radius: 45px;
        -moz-border-radius: 45px;
        border-radius: 45px;
        background: url('images/arrow.png') center center no-repeat
    }
}