@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;
}

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

.head {
    background: linear-gradient(rgb(223, 92, 92), rgb(221, 221, 79));
    border: 2px solid rgb(66, 7, 66);
    transform: scale(1.02);
    border-radius: 9px;
}

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

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

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

#hiScoreBox {
    position: absolute;
    top: 60px;
    right: 130px;
    font-size: 40px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
}