body {
    font-family: Inter;
    color: gold;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-image: linear-gradient(to right, rgb(51, 51, 51), rgb(146, 146, 146));
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
}

h1 {
    margin-top: 0;
    margin-bottom: .5rem;
}

#startScreen,
#howToPlayScreen,
#loseScreen,
#winScreen {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    top: 52px;
    position: absolute;
    background-size: cover;
    background-position: top;
    height: 625px;
    width: 625px;
    overflow: hidden;
    z-index: 1;
}

#startScreen {
    display: flex;
    background-image: url("../images/start.png");
}

#howToPlayScreen {
    align-items: end;
    background-image: url("../images/howToPlay.png");
}

#loseScreen {
    background-image: url("../images/game_over.png");
}

#winScreen {
    background-image: url("../images/you_win.png");
}

button {
    background-color: rgba(66, 66, 66, 0.849);
    color: white;
    margin-top: 10rem;
    min-width: 10rem;
    min-height: 3rem;
    font-weight: 600;
}

#back {
    margin-top: 0;
    margin-bottom: 2rem;
}

#gameContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    /* position: relative; */
    width: 625px;
    height: 621px;
}

#canvas {
    position: absolute;
}

.time {
    padding: 1rem;
}

#background {
    position: absolute;
    width: 625px;
    height: 621px;
    background-color: rgb(134, 134, 134);
    background-image: url("../images/pixelbg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}