#container {
    text-align: center;
    display: inline-block;
    background: white;
    padding: 10px;
    border: 10px solid;
    border-image: linear-gradient(to left, violet, indigo, blue, green, yellow, orange, red);
    border-image-slice: 1;
}

#game-board {
    position: relative;
    height: 80vmin;
    width: 80vmin;
    border: 1px solid black;
    margin: 5vw auto; /* center the game board */
}

.dot, .food {
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%; /* make the blocks circular */
}

.dot {
    background: black;
}

.food {
    background: red;
    box-shadow: 0 0 10px red, 0 0 20px red; /* glow effect */
}

@keyframes gradientWave {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background: radial-gradient(circle, teal, rgb(234, 12, 241), teal);
    background-size: 200% 200%;
    animation: gradientWave 6s ease infinite;
    font-family: Arial, sans-serif;
}

#score {
    display: block;
    margin-top: 10px;
}
