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

.body{
    background: url("../img/snake1.webp"); 
    min-height: 100vh;
    background-size: 118vw 100vh;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
h4 { 
    position: absolute;
    color: gray;
}
h1 {
    position: absolute;
    top: 0;
    left: 540px;
    font-size: 80px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
    color: goldenrod;
}
#scoreBox{
    position: absolute;
    top: 100px;
    left: 120px;
    font-size: 39px;
    font-weight: bold;
    font-family: 'New Tegomin', serif;
    color: goldenrod;
}

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

#board{
    background: linear-gradient(rgb(83, 184, 231), rgb(173, 235, 79));
    width: 65vmin;
    height: 67vmin;
    border: 2px solid black;
    display: grid;
    margin-top: 0;
    border-radius: 10px;
    grid-template-rows: repeat(18, 1fr);
    grid-template-columns: repeat(18, 1fr);
}

.head{
    background: linear-gradient(rgb(240, 124, 124), rgb(228, 228, 129));
    border: 2px solid rgb(34, 4, 34); 
    transform: scale(1.02);
    border-radius: 9px;
}

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

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