body {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  color: white;
  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;
}
.containerumalles {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 90%;
  padding: 20px;
}

.quiz-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px 40px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 600px;
  margin-top: 5%;
}

header h1 {
  font-size: 2.5rem;
  color: #ece8ee;
}

header p {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #f6f6f6;
}


#sequence-container {
  margin-top: 20px;
}

.question {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

#user-answer {
  padding: 10px;
  width: 80%;
  max-width: 300px;
  font-size: 1rem;
  border: 2px solid #3498db;
  border-radius: 5px;
  text-align: center;
}

#check-answer-btn {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 1rem;
  color: #ffffff;
  background: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#check-answer-btn:hover {
  background: #2980b9;
}

/* Feedback */
#feedback {
  margin-top: 20px;
  font-size: 1.2rem;
}

#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);
}

/* Responsive Design für kleine Bildschirme */
@media (max-width: 768px) {
  header h1 {
      font-size: 2rem;
  }

  .quiz-container {
      padding: 15px;
  }

  #user-answer {
      width: 90%;
      max-width: 280px;
  }

  #check-answer-btn {
      padding: 8px 18px;
  }

  #feedback {
      font-size: 1rem;
  }

}

@media (max-width: 480px) {
  header h1 {
      font-size: 1.5rem;
  }

  .quiz-container {
      width: 90%;
      padding: 10px;
  }

  #user-answer {
      width: 90%;
      max-width: 250px;
  }

  #check-answer-btn {
      padding: 8px 15px;
      font-size: 0.9rem;
  }

  #feedback {
      font-size: 1rem;
  }
}
@media screen and (max-width: 736px) {
  #otherPageBtn {
      font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {
  #otherPageBtn {
      font-size: 0.8rem;
  }
}
@media (max-width: 768px) {
  .quiz-container {
    padding: 15px;
  }
  .question-item {
    flex-direction: column;
    text-align: center;
  }

  input[type="text"] {
    width: 100%;
  }
  #otherPageBtn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  #otherPageBtn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
  .button {
    top: 15px;
    width: 48px;
    height: 48px;
  }
  .quiz-container {
    padding: 10px;
  }
  .restart-btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}