@media screen and (width <= 900px) {
	.meal-nav {
      font-size: 3.5vh;
    }
    .meal-nav a {
      font-size: 2.5vh;
    }
    .day_title {
      top: 5px;
      font-size: 3.25vh;
      font-weight:bolder;
    }
	
	.meal_name{
	  font-size: 2.75vw;
	  -webkit-text-stroke:0px #000000;
	}
	
	.details a{
	  font-weight:bolder;
	  font-size: 2.75vw;
	  color: #000000;
	  -webkit-text-stroke:0px #ffffff;

	}	
    
    /*.rating-overall {
      position:relative;
      transform: translate(-1.5vw, -1.5vw);
    }*/
	
	.rating-overall {
	  margin: 0px 20px 0px 10px;
	}
	.rating-you {
	  margin: 0px 20px 0px 10px;

	}
	.rating {
	  margin: .5rem 0;
	  display: flex;
	  align-items: center;   /* vertikal zentrieren */
	  gap: 0.5rem;           /* Abstand zwischen Text und Sternen */
	  background-color:#efefef;
	  border-radius:10px;
	  max-width:450px;
	  padding:0px 10px 0px 10px;
	  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
	}

	.vote-box {
	  margin: .5rem 0;
	  display: none;
	  align-items: center;   /* vertikal zentrieren */
	  gap: 0.5rem;           /* Abstand zwischen Text und Sternen */
	  background-color:#efefef;
	  border-radius:10px;
	  max-width:50px;
	  padding:2px 10px 2px 10px;
	  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
	}
	.stars {
	  display: inline-block;
	  padding-bottom:5px;
	  font-size: 2rem;
	  cursor: pointer;
	  color: #ddd; /* leer */
	}
	
	.login_wrap{
	  display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 20px;
	}
	
	.login {
      display: flex;
      align-items: center;  
    }
    
    .fooder_icon {
      display: flex;
      align-items: center;
      background-image: url("android-chrome-192x192.png");
      background-repeat: no-repeat;
      background-size: contain; /* oder cover */
      width: 192px;
      height: 192px;
    }
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 0;
}

input{
  border-radius: 10px;
  padding:5px;
  margin:5px;
}

button{
  border-radius: 10px;
  padding:5px;
  margin:5px;
}

.container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
}
h1, h2, h3 {
  color: #333;
  margin: 5px;
}
.kw-nav {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  font-size: 1.5vw;
  font-weight:bold;
}

.meal-nav {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  font-size: 2vw;
  font-weight:bold;
}
.meal-nav a {
  font-size: 1.25vw;
  font-weight:normal;
}

.day {
  position:relative;
  border: 2px solid #ddd;
  border-radius:20px;
  margin: 5px;
  padding: 10px;
  background-image:url("gradient_bg.png");
  background-repeat:no-repeat;

}

.day_title {
  top: 5px;
  font-size: 2.25vw;
  font-weight:bolder;
  position:relative;
}

.meal_name {
  font-weight: bolder;
  font-size: 3.75vh;
  background: -webkit-linear-gradient(0deg,#ffbb04, fuchsia);
  -webkit-text-stroke:1px #000000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 10px 20px 50px 20px;
}

.details a{
  font-weight:bolder;
  font-size: 2.75vh;
  color: #ffffff;
  -webkit-text-stroke:1px #000000;
  margin: 10px 20px 50px 20px;
}


.details a:hover{
  text-decoration:none;
}

.rating-overall {
  margin: 20px 20px 0px 10px;
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  gap: 0.5rem;           /* Abstand zwischen Text und Sternen */
  background-color:#efefef;
  border-radius:10px;
  max-width:290px;
  padding:0px 5px 0px 5px;
  transform: translate(440px, -2.5vh);
  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
}
.rating-you {
  margin: 10px 20px 20px 20px;
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  gap: 0.5rem;           /* Abstand zwischen Text und Sternen */
  background-color:#efefef;
  border-radius:10px;
  max-width:360px;
  padding:0px 5px 0px 5px;
  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
}
.rating {
  margin: 10px 0px 10px 10px;
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  gap: 0.5rem;           /* Abstand zwischen Text und Sternen */
  background-color:#efefef;
  border-radius:10px;
  max-width:600px;
  padding:0px 5px 0px 10px;
  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
}

.vote-box {
  margin: .5rem 0;
  display: flex;
  align-items: center;   /* vertikal zentrieren */
  gap: 0.5rem;           /* Abstand zwischen Text und Sternen */
  background-color:#efefef;
  border-radius:10px;
  max-width:50px;
  padding:2px 10px 2px 10px;
  box-shadow: 3px 5px 10px hsla(0,0%,0%,0.5);
}

.vote{
  font-size:2.5vh;
  border-left: 2px orange solid;  
  /*margin-left: 5px;*/
  padding-left: 10px;
}

.login_wrap{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
}

.login {
  display: flex;
  align-items: center;  
}

.fooder_icon {
  display: flex;
  align-items: center;
  width: 50vh;
  background-image: url("android-chrome-512x512.png");
  background-repeat: no-repeat;
  background-size: contain; /* oder cover */
  width: 512px;
  height: 512px;
}

.day {
  position: relative;
}

.day .loading-overlay {
  display: none; /* Standardmäßig ausgeblendet */
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(2px);
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.day.loading .loading-overlay {
  display: flex; /* Nur sichtbar, wenn .loading aktiv */
}

.spinner {
  border: 4px solid #ddd;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.grocerys {
  border: 2px solid #ddd;
  border-radius:20px;
  margin: 5px;
  padding: 10px;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
}
a {
  color: #0066cc;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.error {
  color: red;
}
.stars {
  display: inline-block;
  padding-bottom:5px;
  font-size: 2rem;
  cursor: pointer;
  color: #ddd; /* leer */
}

.stars .star.filled {
  color: #f5b301; /* Gold */
}

.stars .star.half {
  position: relative;
  display: inline-block;
  color: #ddd;
}

.stars .star.half::before {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  color: #f5b301;
}

