/* Basis-Styling */
* {
  -webkit-user-select: none; /* Safari */
  -ms-user-select: none; /* IE 10 and IE 11 */
  user-select: none; /* Standard syntax */
}
body {
  font-family: 'Roboto', sans-serif;
  background: #f7f7f7;
  margin: 0;
  padding: 0;
  color: #333;
}
main {
  max-width: 768px;
  margin: 0 auto;
  padding: 20px;
}
h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0px;
}
.hint {
  margin-bottom: 40px;
}
h2 {
  text-align: center;
}
#date {
  display: inline-block;
}
.arrows {
  content: "";
  display: inline-block;
  width: 1.5rem; /* Breite des Icons */
  height: 1.5rem; /* Höhe des Icons */
  background-size: contain;
  background-repeat: no-repeat;
  opacity: .5;
  transition: all ease-in-out .2s;
  cursor: pointer;
}
.arrows:hover {
  opacity: 1; 
}
.arrows.left {
  background-image: url('/images/arrow-left.png');
  margin-right: 1rem;
}
.arrows.right {
  background-image: url('/images/arrow-right.png');
  margin-left: 1rem;
}
/* Karte für jedes Gericht */
.meal-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.meal-card h2 {
  margin-top: 0;
  color: #555;
}
/* Smileys-Bewertung */
.rating-smileys {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.rating-smileys input {
  display: none;
}
.rating-smileys label {
  font-size: 3em;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
}
/* Wenn eine Bewertung erfolgt ist, wird der ausgewählte Smiley vergrößert */
.rating-smileys.rated input:checked + label {
  transform: scale(1.2);
}
/* smileys */
.labelImage {
  height: 6rem;
}
/* Hinweis unten */
p {
  text-align: center;
  color: #8c8c8c;
}
/* Grüner Haken */
#successDiv {
  top:0;
  left:0;
  display: none;
  opacity: 0;
  height: 100vh;
  width: 100%;
  position: fixed;
  align-items: center;
  justify-content: center;
}
#successDiv img {
  width: auto;
  height: 30%;
}
#successDiv.showMe {
  animation-duration: 1s;
  animation-name: show-div;
}
@keyframes show-div {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Reload Button */
#reload {
  top:0;
  left:0;
  display: none;
  height: 100vh;
  width: 100%;
  position: fixed;
  align-items: center;
  justify-content: center;
}
#reload button {
  background-color: #00000000;
  box-shadow: none;
  border: none;
}
#reload button img {
  height: 30%;
}