@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(10, 10, 10), rgb(146, 241, 237));
    width: 90vmin;
    height: 92vmin;
    border: 2px solid black;
    border-radius: 10%;
    /* box-shadow: 0 0 10px rgba(255,255,255,0.1); */
    display: grid;
    grid-template-rows: repeat(18, 1fr);
    grid-template-columns: repeat(18, 1fr);
}

.head{
    background: linear-gradient(rgb(225, 236, 159), rgb(10, 90, 128));
    border: 2px solid rgb(34, 4, 34); 
    transform: scale(1.02);
    border-radius: 9px;
    box-shadow: 0 0 10px black;
}

.snake{
    background-color: linear-gradient(rgb(8, 75, 121), rgb(232, 240, 158));;
    border: .25vmin solid black;
    border-radius: 9px;
    box-shadow: 0 0 10px black, 0 0 15px black;
}

.food{
    background: linear-gradient(rgb(209, 233, 71), rgb(216, 238, 24));
    border: 2px solid black;
    box-shadow: 0 0 10px rgb(233, 250, 3), 0 0 15px rgb(223, 233, 81);
    border-radius: 50%;
}