@import url('https://fonts.googleapis.com/css2?family=New+Tegomin&display=swap');

*{
    margin: 0;
    padding: 0;
    
}
.body{
    
    min-height: 80vh;
    background-size:100vh;
    background-repeat: no-repeat;
    display: flex;
    justify-content: left;

}
#board{
    background: linear-gradient(rgb(112, 192, 112), rgb(142, 142, 54));
    width: 130vmin;
    height: 100vmin;
    margin-left: 10px;
    margin-top: 60px;
    border: 5px solid black;
    display: grid;
    grid-template-rows: repeat(18,1fr) ;
    grid-template-columns: repeat(18,1fr);

}s

#scoreBox{
   position: absolute;
    top: 490px;
    right: 140px;
    font-size: 39px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
}

#hiscoreBox{
    position: absolute;
    top: 550px;
    right: 140px;
    font-size: 39px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
}



.head{
    background: linear-gradient(rgb(50, 179, 104), rgb(88, 145, 73));
    border: 2px solid rgb(34, 4, 34); 
    transform: scale(1.02);
    border-radius: 14px;
}

.snake{
    background-color: rgb(59, 149, 65);
    border: .25vmin solid white;
    border-radius: 10px;
}

.food{
    background: linear-gradient(rgb(233, 225, 7), rgb(196, 45, 110));
    border: .25vmin solid rgb(148, 156, 71);
    border-radius: 18px;
}
h2,h4{
    color: rgb(124, 143, 136);
    background-color: aquamarine;
    display: flex;
    justify-content:center;
}