body {
    font-family: 'Gemunu Libre',
    sans-serif;
    background-image: url(../images/2.png);
    background-repeat: no-repeat;
    background-size: cover;
}

h1 {
    margin: 20px;
    font-size: 60px;
    text-align: center;
    color: white;
    text-shadow: 4px 4px 10px rgb(95, 207, 255);
}

#score-line {
    text-align: center;
    position: absolute;
    top: 170px;
    left: 100px
}

h2 {
    text-align: center;
    margin: 10px;
    font-size: 50px;
    display: inline-block;
    color: white;
    text-shadow: 3px 3px 6px rgb(95, 207, 255);

}

#board {
    margin: 10px auto;
    margin-bottom: 20px;
    height: 600px;
    width: 600px;
    outline-color: 5px solid rgb(103, 218, 233);
    background-color: rgb(0, 0, 0);
    box-shadow: 0 0 100px rgba(255, 255, 255, 0.324),
     0 0 20px rgba(255, 255, 255, 0.516);
    position: relative;
}

.snake {
    background-color: turquoise;
    position: absolute;
    box-shadow: 0 0 30px rgb(41, 191, 255),
    0 0 10px rgb(41, 127, 255);
    z-index: 100;
}

.snakebody {
    background-color: turquoise;
    position: absolute;
    box-shadow: 0 0 30px rgb(41, 191, 255),
    0 0 10px rgb(41, 127, 255);
    transition-delay: 70ms;
    z-index: 100;
}


.item {
    background-color: rgb(255, 251, 128);
    position: absolute;
    box-shadow: 0 0 30px rgba(252, 245, 194, 0.911),
    0 0 10px rgba(253, 247, 158, 0.918);
    z-index: 100;
    border-radius: 50%;
}

.static-obstacle {
    position: absolute;
    background-image: url(../images/static-obstacle-3.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.moving-obstacle {
    position: absolute;
    background-image: url(../images/moving-obstacle-2.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#modal-with-background {
    visibility: hidden;

}

.modal {
    position: absolute;
    z-index: 200;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgb(0, 0, 0);
    height: 400px;
    width: 800px;
    text-align: center;
    background-color: rgb(0, 0, 0);
    background-image: url(../images/pngwing.com.png);
    background-position-y: -50px;
    background-position-x: -50px;
    background-repeat: no-repeat;
}

.modal-header h3 {
    padding-top: 20px;
    padding-left: 60px;
    padding-right: 60px;
    font-size: 40px;
    color: white;
    text-shadow: 2px 2px 2px rgb(0, 217, 255);
}

.modal-body h3 {
    padding-top: 20px;
    padding-left: 60px;
    padding-right: 60px;
    font-size: 30px;
}

.modal-footer button {
    background-color: rgb(0, 0, 0);
    border: rgb(255, 255, 255) 2px solid;
    border-radius: 10px;
    margin: 20px;
    padding: 20px;
    font-family: 'Gemunu Libre',
    sans-serif; 
    font-size: 40px;
    color: rgb(255, 255, 255);
}

.modal-footer button:hover {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border: rgb(0, 0, 0) 2px solid;
    border-radius: 10px;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.639);
}