@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-image:url("./img/bg.jpg");
    background-repeat:no-repeat;
    background-position:center;
    background-size: cover;
    height: 100vh;
    width: 100vw;
    cursor: none;
    font-family: 'Press Start 2P', cursive;
    color: chartreuse;
}

img{
    width: 100%;
    height: 100%;
    user-select: none;
}

.cursor{
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 30px;
    height: 30px;
    z-index: 1;
    pointer-events: none;
}

.menupage{
    position: fixed;
    height: 100vh;
    width: 100vw;
    background-color: black;
    z-index: 2;
    cursor: default;
}

.menupage .playbutton{
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    font-size: 1.5rem;
    border: 2px solid chartreuse;
    padding: 0.8rem;
    cursor: pointer;
    transition: all 0.1s ease;
}

.menupage .playbutton:hover{
    padding: 20px;
}

.target{
    position: fixed;
    top:20%;
    left:50%;
    transform: translate(-50%,-50%);
    width: 100px;
    height:100px;
    z-index: 0;
}

.score{
    position: fixed;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    font-size: 4rem;
    opacity: 0.4;
    pointer-events: none;
}

.timer{
    position: fixed;
    top:0%;
    right:0%;
    margin: 20px;
    font-size: 2rem;
    opacity: 0.7;
}

.highscore{
    position: fixed;
    bottom:3%;
    right:0%;
    margin: 30px;
    font-size: 1rem;
    opacity: 0.7;
}