@import url('https://fonts.googleapis.com/css2?family=Ceviche+One&display=swap');

*{
    padding: 0;
    margin: 0;
}

html{
    overflow: hidden;
}

.body{
    background: url(bg.jpg);
    min-height: 100vh;
    background-size: 100vw 100vh;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

#heading{
    position: absolute;
    color: rgb(11, 11, 80);
    top: 2vh;
    font-size: 10vh;
    text-align: center;
    font-family: 'Ceviche One', cursive;
}

#scoreBox{
    position: absolute;
    top: 88vh;
    font-size: 5vh;
}

#hiscoreBox{
    position: absolute;
    top: 93vh;
    font-size: 5vh;
    font-weight: bold;
}

#board{
    background: url(board.png);
    width: 75vmin;
    height: 75vmin;
    border: 2px solid black;
    display: grid;
    grid-template-rows: repeat(18, 1fr);
    grid-template-columns: repeat(18, 1fr);
}

.head{
    background: linear-gradient(rgb(240, 146, 146), rgb(235, 235, 151));
    border: 2px solid rgb(15, 0, 15);
    border-radius: 9px;
}

.snake{
    background-color: purple;
    border: .25vmin solid white;
    border-radius: 12px;
}

.food{
    background: linear-gradient(red, purple);
    border: .25vmin solid black;
    border-radius: 8px;
}

@media screen and (max-width: 770px){
#scoreBox{
    top: 80vh;
}

#hiscoreBox{
    top: 85vh;
}
}
@media screen and (max-width: 500px){
#scoreBox{
    top: 73vh;
}

#hiscoreBox{
    top: 78vh;
}
}