@keyframes road-scroll {
    from {
        background-position-y: 0;
    }

    to {
        background-position-y: 720px;
    }
}

#game {
    background: url(assets/czechia/bg.svg);
    background-size: cover;
    animation: 4s road-scroll linear infinite;
    margin: auto;
    display: block;
}

#game.beach {
    background: url(assets/beach/bg.svg);
    background-size: cover;
}

#game.desert {
    background: url(assets/desert/bg.svg);
    background-size: cover;
}

#game.snow {
    background: url(assets/snow/bg.svg);
    background-size: cover;
}

#game.overlay {
    filter: brightness(0.7);
}

.logoWrapper {
    min-width: 360px;
    padding: 50px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvasContainer {
    position: relative;
    min-width: 360px;
    border-radius: 10px;
    background: #F6F6F6;
    padding-top: 18px;
}

.statusBar {
    padding: 10px 10px 0;
    background-color: #fff9ef;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: auto;
    max-width: 340px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.pilulkaPointsWrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 5px;
}

.controls {
    text-align: center;
    justify-content: space-between;
    display: flex;
    flex-direction: row;
    max-width: 360px;
    margin: auto;
}

#startButton {
    position: absolute;
    top: 130px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    height: 200px;
}

#restartWrapper {
    grid-gap: 50px;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    min-height: 400px;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#restartWrapper.active {
    display: flex;
}

.finalScoreInfoWrapper {
    background-color: white;
    padding: 20px 40px;
    font-weight: bold;
}

#finalScoreInfo {
    font-size: 20px;
    padding-top: 5px;
    text-align: center;
}

.scoreText {
    text-align: center;
    font-size: 16px;
    padding-bottom: 5px;
}

#moveLeft, #moveRight {
    width: 50%;
}