body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgba(20,20,20,1);
}
button {
    z-index: 10;
}
#game-container {
  background-image: url('img/street.png');
  height: 100%;
  width: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Zentriert horizontal und vertikal */
}

#player {
  background-image: url('img/frog.png');
  filter: drop-shadow(5px 4px 0px #000);
  width: 40px;
  height: 40px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.obstacle {
  background-image: url('img/car.png');
  filter: drop-shadow(5px 4px 0px #000);
}

#score {
    background-color: rgba(0,0,0,0.4);
    font-size: 50px;
    color: white;
    z-index: 10;
}