/* Grundlegende Stile für den Körper */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #f4f4f4;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #663573, #225668 );
  background-size: cover;
  min-height: 100vh;
  margin: 0;
}
h1 {
  font-size: 2.5rem;
  margin: 1rem 0;
  color: #e3ecf6;
}
h3 {
  font-size: 1.2rem;
  margin: 1rem 0;
  color: #dfebee;
}
.container {
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-in-out;
  max-width: 400px;
  width: 90%;
  box-sizing: border-box;
  margin-top: 5%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
  max-width: 100%;
}

/* Überschrift */
.container h1 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffffff;
}

/* Eingabefeld */
input[type="text"] {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 20px;
  outline: none;
  text-align: center;
}

/* Button */
#checkBtn, #nextBtn {
  margin-top: 10px;
  padding: 12px;
  font-size: 1rem;
  color: white;
  background: linear-gradient(to right, #225668, #20687e );
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s, background-color 0.3s;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.1);
}

#checkBtn:hover, #nextBtn:hover {
  transform: scale(1.05);
  background: linear-gradient(to right, #225668, #20687e );
}

/* Versteckte Elemente */
.hidden {
  display: none;
}
#otherPageBtn {
  top: 8%;
  left: 50%;
  padding: 11px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  background-color: rgba(183, 135, 93, 0.01);
  color: white;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  margin-top: 2%;
}
#otherPageBtn:hover {
  background-color: #d79a48;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

#otherPageBtn:active {
  background-color: #d79a48;
  transform: scale(1);
}


/* FadeIn-Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Design - Tablets und größere Geräte */
@media (min-width: 768px) {
  .container {
    max-width: 500px;
    padding: 30px;
  }

  .container h1 {
    font-size: 1.75rem;
  }

  button {
    font-size: 1.1rem;
  }
  #otherPageBtn {
    font-size: 1rem;

  }
}

/* Responsive Design - Desktops und größere Geräte */
@media (min-width: 1024px) {
  .container {
    max-width: 600px;
    padding: 40px;
  }

  button {
    font-size: 1.2rem;
  }
  #otherPageBtn {
    font-size: 1rem;

  }
}
