*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root{

    --blue-color: #2B3499;
    --bg-color: #8715aa;
    --canvas-bg-color: #302b25;
    --light-color: #FFD099;
    --light-color-hover: #dbb384;
    --snack-color: #2bd36b;
    --snack-head: #23a354;
}

body{
    background-image: linear-gradient(to bottom, var(--bg-color), var(--light-color));
    color: var(--light-color);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

canvas{
    background-color: #07070a;

    width: 400px;
    height: 400px;
}

.score{

    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.8rem;
}

.score--value{

    font-weight: 700;
    font-size: 4.5rem;
    display: block;
    margin-top: -10px;
}

.menu--screen{

    z-index: 1;
    position: absolute;
    display: none;
    flex-direction: column;
    align-items: center;
}

.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;

    background-color: var(--light-color);
    color: #0f0f0f;
    display: flex;
    align-items: center;
    margin-top: 40px;
    gap: 5px;
    cursor: pointer;
}

.btn--play:hover{

    background-color: var(--light-color-hover);
}