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

 .body{
    background: url("../bg.jpg");
    min-height:100vh;
    background-position: 107vw 100vh;
    display: flex;
    justify-content: center; 
    align-items: center;

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

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

 }

 #board{
    background:linear-gradient(rgb(178, 243, 128),rgb(205, 224, 141));
    width:90vmin;
    height: 92vmin;
    border:2px solid black;
    display: grid;
    grid-template-rows: repeat(18,1fr);
    grid-template-columns: repeat(18,1fr);

 }

 .head{
    background:linear-gradient(rgb(23, 52, 105),rgb(90, 160, 182));
    
    border-radius: 9px;
    transform: scale(1.02);
 }
 .snake{
    background:linear-gradient(rgb(23, 52, 105),rgb(90, 160, 182));
    
    border-radius: 12px;
 }
 .food{
    background:red;
    
    border-radius: 8px;
 }