/* Allgemeine Einstellungen */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #FF5733, #FFC300, #DAF7A6, #33FF57, #5733FF);
  background-size: 400% 400%;
  animation: gradientAnimation 10s ease infinite;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Animierter Farbverlauf */
@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hauptcontainer */
.rating-container {
  height: 70%;
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 30px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

/* Sternecontainer */
.stars {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.star {
  font-size: 3rem;
  color: gray;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 10px;
  border-radius: 5px;
}

.star:hover {
  color: gold;
  transform: scale(1.2);
}

.stars a {
  text-decoration: none;
  display: flex;
  align-items: center;
}

/* Zentrierter Text */
.rating-container p, .rating-container h1 {
  text-align: center;
  color: #333;
  margin: 10px 0;
}

/* Einheitlicher Stil für Emojis */
.feedback-smiley {
  font-size: 2rem; /* Große Darstellung für Emojis */
  text-align: center;
  display: block;
  margin: 10px auto; /* Zentriert das Emoji */
  color: inherit; /* Farbe aus dem Kontext übernehmen */
}

/* Formular */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

form textarea,
form input[type="email"] {
  width: 80%;
  max-width: 600px;
  height: 30px;
  margin: 15px auto;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

form textarea {
  height: 150px;
  resize: none;
}

form button {
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.5);
  color: black;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  margin-top: 10px;
  width: fit-content;
}

form button:hover {
  background-color: rgba(255, 255, 255, 0.7);
  color: black;
}

/* Fixierter Footer */
footer {
  position: fixed !important; /* Fixiert den Footer am unteren Bildschirmrand */
  bottom: 0 !important; /* Abstand von unten 0 */
  left: 0 !important; /* Abstand von links 0 */
  width: 100% !important; /* Nimmt die gesamte Breite ein */
  text-align: center !important;
  padding: 5px !important; /* Reduzierte Höhe */
  background-color: rgba(0, 0, 0, 0.8) !important; /* 80% schwarzer Hintergrund */
  color: #ffffff !important;
  border-top: 1px solid #333333 !important;
  box-sizing: border-box !important; /* Korrektes Box-Modell */
  line-height: 1 !important; /* Engere Zeilenhöhe */
  height: auto !important; /* Automatische Anpassung an den Inhalt */
}

/* Erste Zeile im Footer */
footer p:first-child {
  font-size: 0.7rem !important; /* Größere Schriftgröße */
  font-weight: bold !important; /* Fettschrift */
  text-transform: uppercase !important; /* Großbuchstaben */
  margin: 0 0 5px 0; /* Abstand unter der ersten Zeile */
}

/* Weitere Zeilen im Footer */
footer p:not(:first-child) {
  font-size: 0.6rem !important; /* Kleinere Schriftgröße für die restlichen Zeilen */
  margin: 0; /* Kein zusätzlicher Abstand */
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .stars {
    gap: 10px;
  }

  .star {
    font-size: 2rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  .rating-container p {
    font-size: 0.9rem;
  }

  form textarea,
  form input[type="email"] {
    width: 90%;
    max-width: 90%;
  }

  .rating-container {
    height: 60%;
  }

  .feedback-smiley {
    font-size: 4rem; /* Kleinere Größe für mobile Geräte */
  }
}