.game-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#game {
    width: 100%;
    max-width: 600px;
    height: 200px;
    border-bottom: 2px solid oklch(35% 0 0);
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
    background-color: oklch(15% 0 0);
}

#blokje {
    width: 40px;
    height: 40px;
    background-color: oklch(62% 0.2 65);
    position: absolute;
    bottom: 0;
    left: 20px;
    border-radius: 4px;
}

.animate {
    animation: jump 500ms linear;
}

@keyframes jump {
    0% { bottom: 0; }
    30% { bottom: 100px; }
    70% { bottom: 100px; }
    100% { bottom: 0; }
}

#cactus {
    width: 20px;
    height: 40px;
    background-color: oklch(64.385% 0.18391 37.959);
    position: absolute;
    bottom: 0;
    left: 580px;
    border-radius: 4px;
}

.cactus-move {
    animation: block 1.5s infinite linear;
}

@keyframes block {
    0% { left: 600px; }
    100% { left: -40px; }
}

#score {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.6rem;
    color: oklch(95% 0 0);
}

#start-msg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: oklch(62% 0.2 65);
    font-size: 2rem;
    font-weight: bold;
}

.btn-restart {
    padding: 1rem 2rem;
    background-color: oklch(62% 0.2 65);
    color: oklch(15% 0 0);
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    border-radius: 4px;
}