* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000000;
    height: 100vh; /* Optional: voller Bildschirm */
    background: radial-gradient(circle, #FF6590 5%, pink 60%, #FFC9D8 100%);
    background-color: #FFC9D8;
}

.zettel {
    position: relative;
    border-radius: 10px;
    background-color: #fffde7;
    border: 1px solid #e0e0e0;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
    width: 500px;
    margin: 50px auto;
    padding: 30px;
    font-family: 'McLaren', sans-serif;
    font-size: 30px;
    text-align: center;
    background: radial-gradient(circle, #FF6590 5%, pink 60%, #f7f7e8 100%);
  }
  
  .kleber {
    position: absolute;
    width: 60px;
    height: 180px;
    background-color: #f5f5dc;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    opacity: 0.9;
    transform: rotate(-30deg);
    z-index: 2;
  }
  
  .unten-links {
    top: 250px;
    left: -18px;
    transform: rotate(-30deg);
  }
  
  .oben-rechts {
    top: -50px;
    right: -30px;
    transform: rotate(-30deg);
  }
  
.Startbutton {
    position: absolute;
    padding: 30px 40px 15px 40px;
    display: block;
    justify-content: center; 
    align-items: center;   
    text-align: center;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 100px;
    font-size: 60px;
    cursor: pointer;
    font-family: 'Luckiest Guy', sans-serif;
}

.button-container {
    display: flex;
    justify-content: center; 
  }


  .Startbutton:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }

.pukinggif {
    position: absolute;
    top: 60%;
    right: 60%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 350px;
}



  
  .Resetbutton {
    position: absolute;
    padding: 30px 40px 15px 40px;
    display: block;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: none;
    border-radius: 100px;
    font-size: 60px;
    cursor: pointer;
    font-family: 'Luckiest Guy', sans-serif;
    margin-top: 260px;
  }
  
  .Resetbutton:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }
  
  .circle-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
  }
  
  .circle {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    color: white;
    font-family: 'Luckiest Guy', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-top: 10px;
  }
  
  .circle:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
  }
  
  .circle .value {
    background: white;
    color: black;
    font-size: 35px;
    padding: 10px 10px 0px 10px;
    border-radius: 8px;
    font-weight: bold;
    position: absolute;
    bottom: 6px;
    left: 70%;
  }
  
  .label {
    color: white;
    margin-top: 10px;
    font-size: 40px;
    font-family: 'Luckiest Guy', sans-serif;
    -webkit-text-stroke: 1px black;
    text-stroke: 2px black;
  }
  
  .food  { background-color: #339CB6; }
  .water { background-color: #966DD3; }
  .beer  { background-color: #EC864B; }
  .wine  { background-color: #f8d731; }
  .drink { background-color: #EC60BB; }
  
  .barometer {
    width: 625px;
    height: 140px;
    border-radius: 100px;
    background: linear-gradient(to right, 
        #3cb44b 0%, 
        #ffe100 25%, 
        #f37736 50%, 
        #e53935 75%, 
        #9b59b6 100%);
    border: 10px solid #ffffff;
    position: relative;
    margin: 30px auto;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2), 0 4px 8px rgba(0,0,0,0.2);
    overflow: hidden;
  }
  
  .marker {
    position: absolute;
    height: 100%;
    top: 0;
    width: 20px;
    background-color: rgba(85, 79, 79, 0.655);
    left: 7%;
    transition: left 0.3s ease;
  }
  
  #image-preview-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
  }
  
  #image-preview {
    max-width: 300px;
    max-height: 300px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    object-fit: cover;
    display: none;
  }
  
  #warning-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #e53935;
    color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: 'Luckiest Guy', sans-serif;
    font-size: 32px;
    z-index: 9999;
    display: none;
    text-align: center;
    max-width: 80%;
  }
  
  #warning-popup.show {
    display: block;
  }
  
  .hidden {
    display: none;
  }
  
  
  @media (max-width: 480px) {
    body {
        padding: 10px;
    }
  
    .circle {
        width: 100px;
        height: 100px;
        margin-top: 20px;
    }
  
    .circle .value {
        font-size: 16px;
        padding: 6px 6px 2px;
        left: 60%;
    }
  
    .label {
        font-size: 22px;
        margin-top: 6px;
    }
  
    .Resetbutton {
        font-size: 32px;
        margin-top: 320px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
  
    .barometer {
        width: 80%;
        height: 90px;
        border-width: 6px;
        margin-top: -20px !important;     /* nach oben schieben */

    }
  
    #image-preview {
        max-width: 50%;
        max-height: 150px;
    }
  
    #warning-popup {
        font-size: 24px;
        padding: 20px;
    }
  }
  

@media (max-width: 480px) {

    .circle-row {
        margin-top: 10px;
      }

    .zettel {
        width: 60%;
        padding: 20px;
        font-size: 20px;
    }
    
    .kleber {
        width: 40px;
        height: 120px;
    }

    .unten-links {
        bottom: -30px;
        top: auto;
        transform: rotate(-30deg);
      }
      
      .oben-rechts {
        top: -50px;
        right: -15px;
        transform: rotate(-30deg);
      }
    
    .Startbutton {
        font-size: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        z-index: 10;
    }
    
    .pukinggif {
        position: relative;
        display: block;
        margin: 20px auto;
        width: 100px;        
        height: 100px;         
        z-index: 1;
    }

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* oder center, je nach gewünschter Position */
  margin-top: 0px; /* ggf. Abstand zum Header anpassen */
  padding-top: 20px;
  font-family: 'Luckiest Guy', sans-serif;
}

body {
    color: #000000;
    height: 100vh; /* Optional: voller Bildschirm */
    background: radial-gradient(circle, #FF6590 5%, pink 60%, #FFC9D8 100%);
    background-color: #FFC9D8;
  }

  .container {

  background-color: #004d46;
  color: white;
  padding: 40px;
  border-radius: 50px;
  text-align: center;
  align-items: center;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 400px;
}

.container h1 {
  font-size: 2rem;
  -webkit-text-stroke: 0.25px black;
  text-stroke: 2px black;
  margin-bottom: 30px;
  text-transform: uppercase;
}

input[type="text"] {
  font-size: 2rem;
  text-align: center;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  outline: none;
  background: white;
  color: black;
  width: 70%;
  margin-bottom: 30px;
  font-family: 'Luckiest Guy', sans-serif;
  line-height: 1.2; /* sorgt für mehr vertikalen Platz */
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

button.zurück,
button.eingabe {
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

button.eingabe:hover,
button.zurück:hover {
  transform: scale(1.1);
}



button.zurück {
  background-color: #e04f4f;
  color: white;
}

button.eingabe {
  background-color: #fdd8e5;
  color: #ffffff;
}

.drink-options {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  margin: 20px 0;
}



.drink-options label {
  display: flex;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1.2rem;
  color: black;
  transition: background 0.2s, color 0.2s;
  min-width: 100px; /* optional für gleich breite Buttons */
}

.drink-options input[type="radio"] {
  display: none;
}


.drink-options label {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 15px 0px;
  border-radius: 100px;
  cursor: pointer;
  font-size: 1.2rem;
  color: black;
  transition: background 0.3s, color 0.3s;
  min-width: 100px;
  text-align: center;
}


.drink-options label:hover {
  background: #ff99c8;
  color: black;
}


input[type="radio"]:checked + label {
  background: #ff99c8;
  color: black;
  font-weight: bold;
}

@media (max-width: 600px) {
  .container {
    width: 90% !important;
    padding: 20px !important;
  }

  .container h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  input[type="text"] {
    font-size: 1.2rem;
    padding: 10px 15px;
    width: 50%;
  }

  .buttons {
    gap: 10px;
    justify-content: center;
  }

  button.zurück,
  button.eingabe {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .drink-options {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .drink-options label {
    font-size: 1.1rem;
    padding: 10px 20px;
    width: 80%;
  }
}
