/* Algemene instellingen */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url("assets/img/achtergrond.jpg") no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Login container */
#login-container {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

#password-input {
  padding: 10px;
  font-size: 16px;
  width: 220px;
  margin-top: 10px;
}

#login-error {
  color: red;
  margin-top: 10px;
  display: none;
}

/* Game container */
#game-container {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  display: none;
  background-color: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
}

#rows-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* Rijen en vakjes */
.letter-rij {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.vakje {
  width: 32px;
  height: 32px;
  background-size: cover;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 32px;
  color: #000;
  border-radius: 4px;
  transition: transform 0.2s ease;
}

/* Animatie bij invullen */
.animate {
  animation: popIn 0.3s ease;
}

@keyframes popIn {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* Invoerveld */
#guess-input {
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
}

/* Fout afbeelding */
#kruis {
  display: none;
  width: 60px;
  margin-top: 10px;
}
