*{
	padding: 0;
	margin: 0 ;
}

@font-face { font-family: Inter; src: url('Inter/Inter-VariableFont_slnt,wght.ttf'); } 


.main-text-h1{
    position: relative;
    font-family: "Inter";
    font-size:1.8em;
    text-align: center;
    color:#252525;
    font-weight: 700;
}
.main-text-h2{
    position: relative;
    font-family: "Inter";
    font-size:1.5em;
    text-align: center;
    color:#252525;
    font-weight: 500;
    margin-top:10px;
}









input[type="date"] {
    margin: 5px 0;
  }
  .result {
    margin-top: 20px;
    background: #e8f5e9;
    padding: 15px;
    border-left: 5px solid #4caf50;
  }


  .tagerechner-rechnen-button{
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    transition: 0.5s;
    font-family: 'Inter';
    font-size:1.3em;
  }

  .tagerechner-rechnen-button:hover {
    background-color: #45a049;
    border-radius: 12px;
  }


  ul {
    margin-top: 10px;
  }

  .output-error{
    position: relative;
    font-family: "Inter";
    font-size:1.1em;
    text-align: center;
    margin-top:1em;
    font-weight: 600;
  }

  .output-date{
    position: relative;
    font-family: "Inter";
    font-size:1.3em;
    text-align: center;
    margin-top:1em;
  }



  .kalorien-box {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    margin: 50px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .kalorien-box-h{
    font-size: 1.2em;
    font-family: 'Inter';
    margin: 0;
  }

  .kalorien-box-p {
    margin: 4px 0 20px 0;
    color: #555;
    font-size: 0.8em;
    font-family: 'Inter';
  }

  .werte {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-family: 'Inter';
  }

  .wert {
    flex: 1;
  }

  .wert:not(:last-child) {
    border-right: 1px solid #e0e0e0;
  }

  .wert strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
  }

  .wert span {
    color: #555;
    font-size: 14px;
  }




  .drinking-amount-box{
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-family: 'Inter';
    margin-top:3vh;
  }

  .drinking-amount-box1{
    position: relative;
    width: auto;
    height: auto;
  }
  .drinking-amount-box2{
    position: relative;
    width: auto;
    height: auto;
    margin-left:4%;
    text-align: left;
  }

  .water-drinking-calculator{
    position: relative;
    width: 100%;
    max-width: 100px;
  }

.drinking-amount-box2-p1{
  position: relative;
  font-size: 1.4em;
  font-weight: 600;
  font-family: 'Inter';
  margin-top:0.8vh;
}
.drinking-amount-box2-p2{
  position: relative;
  font-size: 1.1em;
  font-family: 'Inter';
  margin-top:0.8vh;
}
.drinking-amount-box2-p3{
  position: relative;
  font-size: 0.9em;
  font-family: 'Inter';
  margin-top:0.5vh;
}





.div-main{
    position: relative;
    width:96%;
    max-width:1200px;
    border:1px solid rgb(201, 201, 201);
    margin:25px auto;
    background: #fff;
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
  }

  .ratgeber-splitter{
    width: 100%;
    height: 4px;
    background-image: linear-gradient(to right, rgb(0, 183, 255) , rgb(206, 3, 206));
  }
  

.div-main-h2{
    position: relative;
    font-family: "Inter";
    color:#000;
    margin-top:50px;
    width: 90%;
    margin-left: 5%;
    font-size: 32px;
    line-height: 1.2;
  }

  .div-main-h3{
    position: relative;
    font-family: "Inter";
    color:#000;
    margin-top:4vh;
    width: 90%;
    margin-left: 5%;
    font-size: 1.5em;
    line-height: 1.2;
  }
  
  .div-main-p-center{
    position: relative;
    font-family: "Inter";
    color:#000;
    width:90%;
    max-width: 1000px;
    margin-top:2vh;
    margin-left:5%;
    font-size:1em;
    line-height: 1.3;
  }

  
  .div-main-p{
    position: relative;
    font-family: "Inter";
    color:#000;
    width:90%;
    margin-top:2vh;
    margin-left:5%;
    font-size:18px;
    line-height: 1.3;
  }






  .text-box-info{
    position: relative;
    width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    margin-top: 3em;
}

.text-box-info-box1{
    position: relative;
    width: 49%;
    height: auto;
}

.text-box-info-box1-img{
    position: relative;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    cursor: pointer;
    transition: 0.5s;
}
.text-box-info-box1-img:hover{
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.text-box-info-box2{
    position: relative;
    width: 49%;
    height: auto;
    margin-left: 2%;
}

.main-text-h6-m{
    position: relative;
    font-family: "Inter";
    font-size:1.3em;
    text-align: left;
    color:#252525;
    font-weight: 500;
    margin-top:0px;
    width:90%;
    margin-left: 0%;
}

.makler-info-m{
    position: relative;
    font-family: "Inter";
    color:#252525;
    font-size:17px;
    font-weight: 400;
    line-height: 1.5;
    margin-top:0.7em;
    width:95%;
    margin-left:2%;
}

@media screen and (max-width: 850px) {
	.text-box-info{
		display: inline-block;
    } 
    .text-box-info-box1{
        position: relative;
        width: 96%;
        margin-left: 2%;
        height: auto;
    }
    .text-box-info-box2{
        position: relative;
        width: 96%;
        margin-left: 2%;
        height: auto;
        margin-top:20px;
        text-align: center;
    }

    .main-text-h6-m{
      position: relative;
      text-align: center;
      width:90%;
      margin-left: 5%;
  }

  .text-box-info{
    position: relative;
    width: 90%;
    margin-left: 5%;
  }
  .text-box-info-box1-img{
    position: relative;
    width: 90%;
    margin-left: 5%;
}
}






/* INPUT CONTAINER  */
.input-container {
    display:flex;
    flex-direction: column;
    width: auto;
    height: auto;
    min-width: 217px;
    height: 60px;
    padding: 5px 10px 10px 10px;
    background: #fff;
    border-radius: 8px;
    filter: drop-shadow(0px 0px 3px #000);
    -webkit-filter: drop-shadow(0px 0px 3px #000);
    overflow: hidden;
    cursor: pointer;
  }
  .input-container:hover, 
  .input-container:focus,
  .input-container:active {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
  }
  
  .input-container label {
    position: relative;
    width: 100%;
    font-family: "Segoe UI";
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.1em;
    line-height: 20px;
    color: #09f;
    margin-left: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .input-container input {
    position: relative;
    align-items: center;
    width: auto;
    height: auto;
    font-family: "Lekton", Arial, sans-serif;
  font-weight: 600;
    font-size: 22px;
    letter-spacing: 0.05em;
    line-height: 21px;
    text-transform: uppercase;
    margin-left: 0px;
  }
  





#result_box{
  display: none;
}



  .container {
    background: white;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    margin-left: auto;
    margin-right: auto;
    border:1px solid black;
  }



  .row {
    display: block;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
  }

  .row > div, .row > input, .row > select {
    flex: 1 1 100%;
  }

  @media (min-width: 600px) {
    .row > div, .row > input, .row > select {
      flex: 1 1 calc(50% - 15px);
    }
  }



  .container-btn{
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color:#000;
  }


  .container-selec{
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color:#000;
    padding-top:1vh;
    padding-bottom:1vh;
    padding-left: 1vh;
    padding-right: 1vh;
    background-color: #fff;
    margin-top:0.5vh;
  }
  .container-inp{
    padding: 0px;
    width: 90%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    padding-top:1vh;
    padding-bottom:1vh;
    padding-left: 1vh;
    padding-right: 0vh;
    margin-top:0.5vh;
  }

  .container-label{
    font-family: 'Inter';
    font-size: 0.9em;
    color:#7c7c7c;
  }

  .input-error{
    font-family: 'Inter';
    color:red;
    font-size:0.8em;
    margin-top:0.5vh;
    display: none;
  }

.info-splitter-1{
  width:100%;
  display:flex;
  margin-top: 2vh;
}
.info-splitter-2{
  width:100%;
  display:flex;
  margin-top: 2vh;
}


  .gender-buttons, .goal-buttons {
    display: flex;
    gap: 10px;
  }

  .gender-buttons{
    margin-top: 0.5vh;
  }

  .gender-buttons button, .goal-buttons button {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-weight: bold;
    background-color: #f0f0f0;
    cursor: pointer;
  }

  .gender-buttons button.active,
  .goal-buttons button.active {
    background-color: black;
    color: white;
    border-color: black;
  }


  




  .units-buttons, .goal-buttons {
    display: flex;
    gap: 10px;
  }

  .units-buttons{
    margin-top: 0.5vh;
  }

  .units-buttons button, .goal-buttons button {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-weight: bold;
    background-color: #f0f0f0;
    cursor: pointer;
  }


  .goal-buttons{
    position: relative;
    width: 100%;
  }

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

  .calculate-button button {
    background-color: black;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 15px;
    border: none;
    cursor: pointer;
    width: 80%;
    transition: 0.5s;
    margin-top:1vh;
    font-family: 'Inter';
    font-size: 1em;
  }

  .calculate-button button:hover {
    background-color: #333;
    border-radius: 50px;
  }



  @media (max-width: 800px) {
    .container{
      width: 90%;
      max-width: 90%;
    }
  }
  @media (max-width: 670px) {
    .container{
      width: 90%;
      max-width: 90%;
      padding-left: 15px;
      padding-right: 15px;
    }

  }
  @media (max-width: 430px) {
    .container{
      width: 85%;
      max-width: 85%;
    }
    
  }

  @media (max-width: 390px) {
    .goal-buttons{
      position: relative;
      display: block;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }
    #btnHalten{
      margin-top: 0.7em;
    }
    #btnZunehmen{
      margin-top: 0.7em;
    }
  }


  @media (max-width: 280px) {
    .container{
      width: 80%;
      max-width: 80%;
      border: 1px solid yellow;
    }
    .gender-buttons {
      display: block;
      gap: 10px;
    }
    #btnMaennlich{
      margin-top: 0.7em;
    }
  }















  .link-liste {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top:3vh;
    padding-bottom:4vh;
  }

  .link-eintrag {
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #ccc;
    padding-top: 10px;
    padding-bottom: 15px;
    transition: 0.5s;
  }
  .link-eintrag:hover {
    background-color: #f3f0ff;
  }

  .link-eintrag img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    font-family: 'Inter';
  }

  .link-text {
    display: flex;
    flex-direction: column;
  }

  .link-text a {
    font-weight: bold;
    color: #0056b3;
    text-decoration: none;
    font-size: 1.2em;
    margin-bottom: 5px;
    font-family: 'Inter';
  }

  .link-text a:hover {
    text-decoration: underline;
  }

  .link-text span {
    font-size: 1em;
    color: #333;
    font-family: 'Inter';
  }

  @media (max-width: 800px) {

    .link-liste {
      width: 90%;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }

    .link-eintrag {
      flex-direction: column;
      align-items: flex-start;
      text-align: center;
    }

    .link-eintrag img {
      margin-bottom: 10px;
      margin-left: auto;
      margin-right: auto;
    }
  }







  
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  background: #222;
  color: #fff;
  padding: 15px;
  text-align: center;
  display: none; /* Standardmäßig versteckt */
  font-family: 'Inter';
}

.cookie-options {
  margin: 10px 0;
  width: 90%;
  margin-left: 2%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-options label {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.cookie-buttons {
  margin-top: 10px;
  width: 90%;
  margin-left: 2%;
}

.cookie-buttons button {
  background: #4CAF50;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  margin: 5px;
}

.cookie-buttons button:hover {
  background: #45a049;
}










.calorie-boxes {
  display: flex;
  gap: 10px;
  width: 100%;
  margin: auto;
  margin-top:2vh;
}



.box {
 width: 30%;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  border-left: 5px solid #b8dcb1;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 12px 16px;
  border-radius: 6px;
  font-family: 'Inter';
  border:1px solid #dddddd;
}

.text {
  flex-direction: column;
}

.title {
  font-weight: 800;
  font-size: 0.9em;
  color: #333;
  text-align: center;
}

.subtitle {
  font-size: 0.9rem;
  color: #666;
}

.calories {
  text-align: center;
  margin-top:0.8vh;
}

.value {
  font-size: 1.4rem;
  font-weight: bold;
  color: #3c7044;
}

.percent {
  font-size: 0.85rem;
  color: #666;
  margin-top:0.4vh;
}

@media (max-width: 510px) {

  .kalorien-box {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .calorie-boxes {
    display: block;
    gap: 10px;
    width: 100%;
    margin: auto;
  }
  .box {
    width: auto;
    margin-top:2vh;
  }
}





table {
  font-family: arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
}

td, th {
  border: 1px solid #dddddd;
  text-align: left;
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #dddddd;
}


.btn-reload{
  position: relative;
  background-color: #76bae2;
  padding-bottom: 1vh;
  padding-top: 1vh;
  padding-left:2vh;
  padding-right: 2vh;
  border:none;
  color:#fff;
  font-size: 1em;
  font-family: 'Inter';
  transition: 0.5s;
  cursor: pointer;
  margin-top: 2vh;
}
.btn-reload:hover{
  background-color: #489dce;
  border-radius: 15px;
}




.input-text-2{
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  width:90%;
  margin:1.5em auto;
}

#anchor-links{
  color: #011fca;
  transition: 0.5s;
  text-decoration: none;
}
#anchor-links:hover{
  color: #c70b0b;
}