@import url('https://fonts.googleapis.com/css2?family=Jersey+10+Charted&display=swap');
*{
    margin: 0;
    padding: 0;
}
.main{
    background-color: #74d53e;
    min-height: 100vh;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}
#board{
    background: #1a3c48;
    height: 92vmin;
    width: 90vmin;
    border: 4px solid #ea9b0a;
    display: grid;
    grid-template-rows: repeat(18,1fr);
    grid-template-columns: repeat(18,1fr);
}
.snakeImg{
    height: 20vh;
    width: 20vw;
}
.food{
background: hsla(25, 100%, 48%, 1);

background: radial-gradient(circle, hsla(25, 100%, 48%, 1) 0%, hsla(344, 100%, 63%, 1) 100%);

background: -moz-radial-gradient(circle, hsla(25, 100%, 48%, 1) 0%, hsla(344, 100%, 63%, 1) 100%);

background: -webkit-radial-gradient(circle, hsla(25, 100%, 48%, 1) 0%, hsla(344, 100%, 63%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#F76800", endColorstr="#FF4477", GradientType=1 );

border-radius: 12px;
}
.head{
   
    background-image: url(images/snakehead.png); /* Add the background image */
    background-size: contain; /* Ensure the background image fits */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    transform: rotate(360deg);
    transform: scaleX(-1); 
}
.snake{
    /* background-color: #FFFFFF; */
    background: hsla(105, 84%, 42%, 1);

background: radial-gradient(circle, hsla(105, 84%, 42%, 1) 44%, hsla(51, 90%, 51%, 1) 100%);

background: -moz-radial-gradient(circle, hsla(105, 84%, 42%, 1) 44%, hsla(51, 90%, 51%, 1) 100%);

background: -webkit-radial-gradient(circle, hsla(105, 84%, 42%, 1) 44%, hsla(51, 90%, 51%, 1) 100%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#3DC711", endColorstr="#F2D110", GradientType=1 );
    border-radius: 16px;
}
#scoreBox{
    margin: 4rem;
    font-size: 64px;
    font-family: "Jersey 10 Charted", sans-serif;
    font-weight: 400;
    font-style: normal;

}
#highScoreBox{
    margin: 4rem;
    font-size: 64px;
    font-family: "Jersey 10 Charted", sans-serif;
    font-weight: 400;
    font-style: normal;
}
