body {
    background-color: rgb(38, 38, 38);
}

#spielfeld {
    background-color: rgb(54, 141, 119);
    height: 600px;
    width: 600px;
    margin: 25px auto;
    border-radius: 15px;
    background-image: url("snake/sand1.jpg");
    margin-top: 100px;
}

.schweif {
    position: absolute;
    width: 30px;
    height: 30px;
    transition-duration: 225ms;
    background-image: url("snake/body2.png");
}

#player {
    position: absolute;
    width: 30px;
    height: 30px;
    transition-duration: 225ms;
    background-image: url("snake/head2.png");
}

.point {
    position: absolute;
    width: 30px;
    height: 30px;
    transition-duration: 225ms;
    background-image: url("snake/apple3.png");
}

#anzeige {
    color: white;
}

#endbox {
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    z-index: 1000;
    position: relative;
    top: 100px;
    background-color: rgb(0, 0, 0, 0.7);
    padding: 10px;
    border-radius: 10px;
}

#ende {
    color: white;
    width: max-content;
    margin-bottom: 0;
    font-size: 100px;
    font-family: sans-serif;
    margin: 0;
    margin-left: 110px;
    padding: 0;
}

#score {
    color: rgb(255, 255, 255);
    width: max-content;
    margin-bottom: 0;
    font-family: sans-serif;
    font-size: 80px;
    margin: 0;
    padding: 0;
}

#restartButton {
    position: absolute;
    margin-top: 120px;
    margin-left: 150px;
    width: 300px;
    height: 150px;
    font-family: sans-serif;
    font-size: 100px;
    border-radius: 30px;
    background-color: rgb(29, 110, 181);
    border-width: 4px;
    transition-duration: 0.3s;
}

#restartButton:active {
    background-color: rgb(24, 85, 139);
}

#restartButton:hover{
    transform: scale(1.1);
    transition-duration: 0.3s;
}
