@import url('https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap');
*{
    padding: 0;
    margin: 0;
}

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

#scoreBox{
    position: absolute;
    top: 9px;
    right: 200px;
    font-size: 39px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
}

#hiscoreBox{
    position: absolute;
    top: 59px;
    right: 140px;
    font-size: 39px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
}

#board{
    background: linear-gradient(rgb(170, 236, 170), rgb(236, 236, 167));
    width: 90vmin;
    height: 92vmin;
    border: 2px solid black;
    display: grid;
    grid-template-rows: repeat(18, 1fr);
    grid-template-columns: repeat(18, 1fr);
}

.head{
    background: url("https://puzzle.jsimg.us/phillip/img/body.png"); 
  background-repeat: no-repeat;
  background-size: contain;    

}

.snake{
    background: linear-gradient(rgb(185, 134, 24), rgb(112, 71, 9));
    border: .25vmin solid white;
    border-radius: 12px;
}

.food{
    background: url("https://puzzle.jsimg.us/phillip/img/peanut.png"); 
  background-repeat: no-repeat;
  background-size: contain;    
}