* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    list-style: none;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}
.wrapper {
    height: 100vh; 
    overflow: auto; 
  }
#scroller{
    overflow: scroll;
}
.text-box{
    font-size: 18px;
    cursor: pointer;
    margin-top: 15px;
}
.logo{
    height: 60px;
    width: 80px;
    position: absolute;
    padding-top: 8px;
    float: left;
   opacity: 100%;
}
.bild{
    margin-top: 200px;
    height: 350px;
    display: block;
    text-align: center;
    margin: 0 auto ;
    border-radius: 51px;
    margin: 20px;
    border: 2px solid #263580;
    cursor: pointer;
    padding: 10px;
    max-width: 90%;
    height: auto;
}
#zucker_wurfel{
    padding: 0;
}
.inhalt{
    display: flex;
    color: black;
    justify-content: left;
    align-items: center;
    margin-left: 10px;
    margin-top: 25px;
    gap: 10px;
    border-bottom: 1px solid gray;
    padding-bottom: 10px;
    max-width: 90%;
}
.inhalt:last-child{
    border-bottom: none;
}
.inhalt:hover{
    font-size: 30px;
    text-decoration: underline;
    transition: 400ms;
}
.leer{
    visibility: hidden;
}
.platz01{
    margin-top: 280px;
}

.datenschutz, .impr{
    color: black;
}
.container,footer{
    padding: 0 16px;
    max-width: 90%;
    background-color: #FFFFFF;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: -100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 0;
}
.container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    background-color: darkgray;
    background-image: url(9999.jpg);
    background-size: cover;
    filter: blur(6px);
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    
}
.text-box{
    height: 350px;
    display: block;
    text-align: center;
    margin: 0 auto ;
    max-width: 800px;
}

.inhalt{
    display: block;
    text-align: left;
    margin: 0 auto ;
    max-width: 1100px;
    margin-top: 40px;
    background-color: #FFFFFF;
    font-size: 25px;
    font-weight: bold;
}
.inhalt:last-child{
    margin-bottom: 50px;
}
header{
    position: sticky;
    top:0%;
}
.alter{
    margin-right: 20px;
    display: block;
    text-align: left;
    margin: 0 auto ;
}
.Über_rechner{
    font-size: 40px;
    margin: 0px 0px 200px 0px;
    padding-top: 20px;
    text-align: center;
}
input{
    display: inline-block;
}
.fixed-position {
    color: white !important; 
    font-size: 55px !important;
    float: right !important;
    position: sticky !important;
}
.P_headline{
    padding: 20px;
    margin-top: 80px;
    text-align: center;
    color:#35BFED;
    font-size: 30px;
}
.P_inhalt{
    text-align:left;
    min-width: 350px;
    max-width: 1100px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.63;
    color: #313131;
}
.P_inhalt h3{
    text-align: center;
    font-weight: 100;
}
.untertitle{
    font-size: 19px;

}
p{
    margin-top: 0px;
    margin-bottom: 16px;
}
.Überschrift{
    text-align: center;
    margin-bottom: 20px;
    font-size: 80px;
    font-weight: 600;
    margin-top: 40px;
    
}
.produkte_link{
    text-decoration: none;
    color: black;
}
#alter,#gewicht{
    display: grid;  
}
.bild{
    width: auto;
  height: 350px; 
  object-fit: cover;
}













/*Zucker rechner design*/
.form-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    margin-top: 100px;
    font-size: 30px;
  }
  
  .form-wrapper label {
    flex-basis: 120px;
    font-weight: bold;
  }
  
  .form-wrapper input,
  .form-wrapper select {
    flex-grow: 1;
    padding: 5px;
    font-size: 30px;
  }
  .form-wrapper h1{
    margin-bottom: 50px;
  }
  
  #knopf {
    background-color: #263580;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 25px;
  }
  #knopf:hover{
    background: #b69955;
    font-size: 30px;
    transition: 400ms;
}
  
  #result {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    font-size: 30px;
  }
.alter01:hover, .gewicht01:hover{
    background: #b69955;
    transition: 900ms;
    border-radius: 20px;
}
.alter01, .gewicht01, .geschlecht, #knopf{
    margin-left: 20px;
}











/*Produkte design*/
.bild_container {
    position: relative;
    display: inline-block;
  }
  
.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.498);
    color: #fff;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s;
    font-size: 30px;
    font-weight: bold;
    z-index: 1;
  }
  
.bild_container:hover .image-text {
    visibility: visible;
    opacity: 1;
    transition: 400ms;
  }
  
.produkte_alt h2{
    margin-top: 40px;
  }












/*Kontakt design*/
.container h2 {
    font-size: 30px;
    margin-bottom: 20px;
}
  
.kontakt-info p {
    font-size: 20px;
    margin-bottom: 10px;
}
.container img{
    height: 300px;
    width: auto;
}








nav {
    display: flex;
    justify-content: space-between;
    padding: 0 15%;
    height: 75px;   /*nav bar hohe*/
    line-height: 75px;
    background: #3f55c0fa;
    position: sticky;
    top: 0%;
    z-index: 2;
}

nav .navbar-logo {
    color: #ffffff;
    font-size: 28px;
    font-weight: 500;
    letter-spacing: .5px;
}

nav .nav-list {
    display: flex;
   
}

nav .nav-list .nav-item {
    cursor: pointer;
    height: 100%;
    padding: 0 30px;
    line-height: 100px;
    transition: .4s;
}

nav .nav-list .nav-item:hover {
    background: #b69955;
    font-size: 40px;
}

nav .nav-list .nav-link {
    color: #f1f1f1;
    font-size: 18px;
    font-weight: 500;
}
nav .nav-list .nav-link:hover {
    font-size: 19px;
    font-weight: 501;
    transition: 300ms;
}
nav .logo:hover{
    height: 65px;
    width: 85px;
    transition: 300ms;
}

@media (max-width: 935px) {

    nav {
        padding: 0 2rem;
    }

    nav .nav-list .nav-item {
        padding: 0 20px;
    }
}

@media (max-width: 675px) {


    
    nav{
        line-height: 90px;
    }
    nav .nav-list {
        display: grid;
        position: absolute;
        background: #263580;
        border-radius: 0px 0px 10px 10px;
        width: 100%;
        top: 75px;
        left: 0;
        transform: translateY(-125%);
        z-index: -1;
        transition: .6s;
        
    }

    nav .nav-list .nav-item {
        padding-left: 35px;
    }

    nav .navbar-toggler {
        display: grid !important;
    }

}
/*nach dem es geruckt wird*/
nav .navbar-toggler {
    display: none;
    height: min-content;
    margin: 18px -10px 0 0;
    cursor: pointer;
}

nav .navbar-toggler .bar {
    width: 50px;    /*bereite von hamburger menu */
    height: 5px;    /*wie fett die striche von hamburger menu */
    margin-bottom: 10px; /*wie nah die striche von hamburger menu zu einander sind */
    background: #ffffff;
    border-radius: 20%;
    transition: .4s;    /*wie schnell die animation auf x ist*/
}

input {
    display: none;
}
input:checked ~ nav .nav-list {
    transform: translateY(0);
    
}
/*die position von hamburger menu taste wenn man die drückt*/
input:checked ~ nav .navbar-toggler {
    margin-top: 35px; 
}
input:checked ~ nav .navbar-toggler .bar:nth-child(1) {
    position: absolute;
    transform: rotate(45deg);
}

input:checked ~ .leer{
    margin-top: 174px;
    visibility: hidden;
}
input:checked ~ .inhalt{
    display: none;
}
input:checked ~ nav .navbar-toggler .bar:nth-child(2) {
    display: none;
}
input:checked ~ nav .navbar-toggler .bar:nth-child(3) {
    transform: rotate(-45deg);
}


























/*footer*/
footer{
    border-top: dotted gray 4px;
    text-align: center;
    margin-top: 100px;
    display: block;
}
footer p {
    margin-top: 20px;
}
footer a{
    margin: 50px;
    
}
.logo-unten{
    text-align: center;
}
.logo-unten img{
    width: 100px;
    height: 100px;
    margin-left: auto;
    margin-right: auto;
}
