@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: 30px;
    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(170, 236, 170), rgb(236, 236, 167));
    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(240, 124, 124), rgb(228, 228, 129));
    border: 2px solid rgb(34, 4, 34); 
    transform: scale(1.02);
    border-radius: 9px;
}

.snake{
    background-color: purple;
    border: .25vmin solid white;
    border-radius: 12px;
}

.food{
    background: linear-gradient(red, purple);
    border: .25vmin solid black;
    border-radius: 8px;
}

.subscribe {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #121435;
    border-top: 1px solid #ccc;
    padding-bottom: 2px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.subscribe h2 {
    margin: 2px 0px;
    font-size: 1.2em;
    color: #faf9f0;
}

.subscribe label {
    color: #faf9f0;
    padding-right: 10px;
}
.subscribe button:hover {
    cursor: pointer;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color:aqua;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    margin-bottom: 23px;
}

nav a {
    text-decoration: none;
    font-family: 'Alkatra', sans-serif;
    color: #000000;
    padding-left: 5%;
    font-size: 1.1em;
}