* {
    padding: 0;
    margin: 0;
}
body {
    background: #232323;
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;
    color: white;
    line-height: 10px;
}
.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.back-button {
    color: white;
    text-decoration: none;
    margin-bottom: 20px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #3b3b3bff;
    padding: 20px;
    border-radius: 10px;
    text-shadow: 5px 5px 10px black;
    margin-top: 10px;
    font-size: 20px;
}
.game-header {
    margin-bottom: 50px;
    font-size: 40px;
    text-align: center;
    filter: drop-shadow(5px 5px 10px black);
}
.game {
    width: 600px;
    height: 200px;
    border: 2px solid ;
    margin: auto;
    background: gray;
    filter: drop-shadow(5px 5px 10px black);
}
#game-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 70vh;
    text-align: center;
}
#game-menu > button {
    margin-top: 15px;
    border: none;
    background: #232323;
    padding: 10px 30px;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    border-radius: 10px;
}
#game-over {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 70vh;
    text-align: center;
    display: none;
}
#game-over > p {
    margin-top: 15px;
}
#figure {
    width: 70px;
    height: 70px;
    background-image: url("../img/Figure.png");
    border-radius: 20px;
    background-size: auto 70px;
    position: relative;
    top: 130px;
    display: none;
}
.jump {
    animation: jump-up 0.15s 0s ease-in-out, jump-down 0.1s 0.15s ease-in-out;
}
@keyframes jump {
    0%{top: 130px;}
    30%{top: 115px;}
    50%{top: 70px;}
    80%{top: 115px;}
    100%{top: 130px;}
}
@keyframes jump-up {
    from{top: 130px;}
    to{top: 70px}
    100%{top: 70px;}
}

@keyframes jump-down {
    from{top: 70px;}
    to{top: 130px}
}
#cactus {
    width: 20px;
    height: 40px;
    position: relative;
    top: 91px;
    left: 580px;
    background-image: url("../img/Cactus.png");
    background-size: 20px 40px;
    animation: cactus-block 1.2s infinite linear;
    display: none;
}
#mobile-device {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 20px;
    text-align: center;
    display: none;
}
#mobile-device > h1 {
    line-height: 30px;
}
#mobile-device > button {
    border: none;
    background: gray;
    padding: 10px 30px;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    border-radius: 10px;
}
@keyframes cactus-block {
    0%{left: 600px;}
    100%{left: -11px;}
}
#score, #highScore, .buttons {
    font-size: 24px;
    text-align: center;
    margin-top: 20px;
    text-shadow: 5px 5px 10px black;
    color: white;
}

#resetButton {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 50px;
}

#resetButton > button {
    border: none;
    background: gray;
    padding: 10px 30px;
    color: white;
    font-family: "Bebas Neue", sans-serif;
    border-radius: 10px;
}

@media (max-width: 630px) {
    .container {
        display: none;
    }
    #mobile-device {
        display: block;
    }
}