*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    background-color: lightblue;
}

.game{
    width: 500px;
    margin: 80px auto;
    display: flex;
    justify-content: space-evenly;
    /* align-items: center; */
    row-gap: 30px;
}

.canvas{
    width: 240px;
    height: 400px;
    background-color: black;
}

.dashboard h1{
    font-size: 60px;
}

.dashboard .score{
    margin: 40px 0 30px;
}

.controls .content{
    padding: 20px;
    border: 1px solid black;
    display: flex;
    flex-direction: column;
}

.controls h2{
    margin-bottom: 20px;
}

.controls .content div{
    margin: 5px 0;
}

.game-over{
    padding: 30px;
    width: 50%;
    background-color: white;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50% , -50%);
}

.game-over .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.game-over .content h3{
    font-size: 50px;
}

.game-over .content p{
    margin: 20px 0;
    color: #777;
}

.game-over button {
    width: 70%;
    padding: 10px;
    border-radius: 30px;
    background-color: #333;
    color: white;
    font-size: 24px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.5s;
}

.game-over button:hover {
    background-color: #111;
}