html{
    color-scheme: dark;
    height: 100vh;
    width: 100vw;
}

body{
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
}

.welcomescreen{
    z-index: 3;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    /* background-color: rgba(255, 0, 0, 0.066); */
}

.welcomescreen img{
    width: 100px;
}


.gamescreen{
    margin: auto;
    margin-top: 10px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

canvas{
    z-index: 1;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    aspect-ratio: 1/1.8;
    /* background-color: aqua; */
    background: url(assets/back3.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

#score, #highscore{
    position: absolute;
    top: 15px;
    color: white;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bolder;
    font-size: large;
}

#score{
    left: 5%;
}

#highscore{
    right: 5%;
}

.gameOver{
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    backdrop-filter: blur(15px);
}

button{
    height: 50px;
    width: 100px;
    border-radius: 10px;
    border: 0px;
    outline: 0px;
    cursor: pointer;
    margin-bottom: 20px;

    background-color: #343434;
}

button:hover{
    background-color: #434343;
}