body {
    font-family: 'VT323', monospace;
    background-color: #414141;
    height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.scoreboard {
    display: flex;
    justify-content: space-between;
}

#score {
    color: #abb78a;
}

#score,
#highScore {
    font-size: 40px;
    font-weight: bolder;
    margin: 10px 0;
}

#highScore {
    color: #d8ddca;
}

.game-border-1 {
    border: #595f43 solid 10px;
    border-radius: 30px;
    box-shadow: inset 0 0 0 10px #595f43;
}

.game-border-2 {
    border: #abb78a solid 8px;
    border-radius: 26px;
    box-shadow: inset 0 0 0 10px #abb78a;
}

.game-border-3 {
    background-color: #c4cfa3;
    border: #8b966c solid 30px;
    border-radius: 20px;
    box-shadow: inset 0 0 0 5px #8b966c;
}

#game-board {
    border-radius: 100px;
    grid-template-columns: repeat(15, 20px);
    grid-template-rows: repeat(15, 20px);
    margin: 5px;
    display: grid;
}

#instruction-text {
    color: #333;
    width: 300px;
    text-align: center;
    text-transform: capitalize;
    margin: 0;
    padding: 30px;
    position: absolute;
    top: 45%;
}

#logo {
    position: absolute;
    top: 32%;
    width: 35vw;
}

.snake {
    background-color: #414141;
    border: #5a5a5a 1px dotted;
}

.food {
    background-color: #dedede;
    border: #999 5px solid;
}




.privacy-policy {
    margin-top: 20px;
    text-align: center;
    font-size: 22px;
}

.privacy-policy a {
    color: #8b966c;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #414141;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.privacy-policy a:hover {
    background-color: #414141;
    color: #fff;
}




/* Modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    margin: 0 0 10px;
    color: #414141;
}

.modal-content p {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

#tryAgainButton {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #414141;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#tryAgainButton:hover {
    background-color: #555;
}
