*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: #2e2e2e;
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
}
canvas{
    width: 90vw;
    height: 90vw;
    max-width: 600px;
    max-height: 600px;
    background-color: #111;
}
.score{
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 1.8rem;
}
.score--value{
    font-weight: 700;
    font-size: 3rem;
    display: block;
    margin-top: -10px;
}
.menu-screen{
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}
.game-over{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 3rem;
}
.final-score{
    font-weight: 500;
    font-size: 1.5rem;
}
.btn-play{
    border: none;
    border-radius: 100px;
    padding: 10px 15px 10px 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}
.controls{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    gap: 5px;
}
.controls button{
    width: 60px;
    height: 60px;
    font-size: 2rem;
    border: none;
    background-color: #444;
    color: white;
    border-radius: 10px;
    cursor: pointer;
}
.controls div{
    display: flex;
    gap: 5px;
}

@media (max-width: 600px){
    .score--value {
        font-size: 2.5rem;
    }
}
@media (min-width: 768px){
    .controls {
        display: none;
    }
}