body { margin: 0px; } .header { width: 100%; background-color: #bcbcbc; height: auto; padding-top: 10px; padding-bottom: 29px; } .header_inner{ width: 90%; border-bottom: 2px solid black; margin: auto; height: 100px; } .header_image { postion: relative; float: left; } .header_text { postion: relative; float: left; margin-top: 55px; margin-left: -5px } .mobile_menu { display: none; } .menu { position: absolute; left: 50%; margin-top: 75px; -webkit-transform: translateX(-50%); transform: translateX(-50%); } .menu2 { margin-top: 75px; float: right; } .menu_link { font-weight: bold; font-size: 20px; color: #666; font-family: sans-serif; text-decoration: unset; margin-left: 5px; margin-right: 5px; } .menu_account { font-weight: bold; font-size: 20px; color: #666; font-family: sans-serif; text-decoration: unset; cursor: pointer; } .menu_abmelden { font-weight: bold; font-size: 20px; color: #666; font-family: sans-serif; text-decoration: unset; } .account { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 500px; height: auto; text-align: center; background-color: #1d2327; box-sizing: border-box; padding: 10px; z-index: 100; display: none; /*to hide popup initially*/ } .account_close { position: absolute; right: 5px; top: 1px; font-size: 25px; /*background-color: black;*/ color: white; border-radius: 50%; padding: 4px; cursor: pointer; } .account_inhalt { font-weight: bold; margin-right: 15px; color: white; font-size: 20px; border: 0px; width: auto; margin: auto; } .help-block { font-weight: 700; color:Red; margin-top: 10px; } /* The switch - the box around the slider */ .switch { position: relative; display: inline-block; width: 60px; height: 34px; top: 27px; } /* Hide default HTML checkbox */ .switch input { opacity: 0; width: 0; height: 0; } /* The slider */ .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; -webkit-transition: .4s; transition: .4s; } .slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; -webkit-transition: .4s; transition: .4s; } input:checked + .slider { background-color: #2196F3; } input:focus + .slider { box-shadow: 0 0 1px #2196F3; } input:checked + .slider:before { -webkit-transform: translateX(26px); -ms-transform: translateX(26px); transform: translateX(26px); } /* Rounded sliders */ .slider.round { border-radius: 34px; } .slider.round:before { border-radius: 50%; } @media only screen and (max-device-width: 480px) { .header_inner { display: flex; justify-content: center; height: 155px; } .header_image img { height: 150px !important; width: 150px !important; } .header_text p { font-size: 35px!important; } .header_text { margin-top: 80px; margin-left: 0px; } .mobile_menu { display: block !important; position: fixed; bottom: 0vh; width: 100vw; background-color: #bcbcbc; z-index: 99; } .mobile_menu_inner { display: flex; justify-content: space-between; margin: 20px; } .material-icons { font-size: 60px; } .menu { display: none; } .menu2 { display: none; } }