/* CSS für Fang den Frosch */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  text-align: center;
  background-color: #ffffff;
  color: #0f1a27;
  overflow-x: hidden;
}

button {
  background-color: #7a9052;
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-size: 1.1em;
  cursor: pointer;
  border-radius: 10px;
  transition: background-color 0.3s, transform 0.3s;
}

button:hover {
  background-color: #505f35;
  transform: translateY(-2px);
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background-color: #ffffff;
  padding: 2rem 0;
  max-width: 1140px; /* Zentriert den Inhalt */
  width: 100%;
  margin: 0 auto;
}

.footer {
  background-color: #0f1a27;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
}

/* --- Spezifische Styles für das Spiel --- */
h1 {
  font-size: 2.5em;
  color: #0f1a27;
  margin-bottom: 20px;
  text-align: center;
}

p {
  font-size: 1.2em;
  margin: 10px 0;
  text-align: center;
  color: #444;
}

.teich {
  background-image: url(../img/teich-01.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  /* padding: 100px; */
  border-radius: 15%;
}

#game-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  justify-content: center;
  max-width: 90%;
  /* margin: 30px auto; */
  margin: 90px;
  padding: 15px;
  border-radius: 10px;
}

.hole {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  font-size: 4em;
  line-height: 100px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s, background-color 0.2s;
}

/* Nachrichten und Anzeigen */

.game-info {
  display: flex;
  justify-content: space-evenly;
}

#score,
#timer {
  color: #fff;
  font-weight: bold;
  font-size: 1.8em;
}

#end-message {
  margin-top: 20px;
  font-size: 2em;
  color: #a83627;
  font-weight: bold;
}

/* Schwierigkeitsgrad-Optionen */
.difficulty-options {
  margin-top: 20px;
  font-size: 1.1em;
}

.difficulty-options label {
  margin: 0 10px;
  cursor: pointer;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  #score,
  #timer {
    font-size: 1.2rem;
  }

  #game-board {
    gap: 10px;
  }

  .hole {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 3.2rem;
  }

  button {
    font-size: 1rem;
    padding: 10px 20px;
  }

  p {
    font-size: 1rem;
  }
}
