#particles-js{ position:absolute; width: 100%; height: 100%; background-color: #b61924; background-image: url(""); background-repeat: no-repeat; background-size: cover; background-position: 50% 50%; } .container { padding-top: 10%; min-width: 425px; } .loginHeader{ width: 100%; height: 100px; } .elementsOnLoginHeader { background-color: #f4c741; text-align: center; justify-content: center; vertical-align: middle; color: black; } .elementsOnLoginHeader h3 { padding-top: 10%; } .elementsOnLoginHeader .avatar { position: relative; top: 0%; left: -5%; width: 30%; float: left; z-index: 2; user-select: none; } .loginMain{ width: 100%; min-height: 225px; } .elementsOnLoginMain { position: relative; background-color: #f9fbff; padding-top: 16px; padding-bottom: 16px; padding-right: 30px; padding-left: 30px; } .elementsOnLoginMain .inputmain{ position: relative; } .elementsOnLoginMain .inputmain .form-control, .elementsOnLoginMain .inputmain .form-control:focus{ -webkit-box-shadow: none; box-shadow: none; } .elementsOnLoginMain .inputmain input { width: 100%; background: transparent; border: none; border-radius: 0%; border-bottom: 1px solid black; padding: 10px; margin-bottom: 30px; margin-top: 25px; outline: none; } .elementsOnLoginMain .inputmain label { position: absolute; top: 0; left: 0; padding: 10px 0; font-size: 16px; color: darkgrey; pointer-events: none; transition: .5s; } .elementsOnLoginMain .inputmain input:focus ~ label, .elementsOnLoginMain .inputmain input:valid ~ label { top: -26px; color: #f4c741; font-size: 12px; } .elementsOnLoginMain .toregister { text-align: right; } .elementsOnLoginMain .toregister a:link { color: black; background-color: transparent; text-decoration: none; } .elementsOnLoginMain .toregister a:visited { color: black; background-color: transparent; text-decoration: none; } .loginFooter { width: 100%; } .loginFooter span { align-content: center; padding-top: 10px; color: red; } .elementsOnLoginFooter { background-color: #e8ebef; border-top: 2px solid light gray; padding-bottom: 10px; padding-right: 30px; padding-left: 30px; } .box { display: block; position: relative; padding-left: 25px; border-radius: 6px; margin-bottom: auto; font-size: 15px; user-select: none; } .box input { position: absolute; opacity: 0; cursor: pointer; } .checkmark { position: absolute; top: 0; left: 0; height: 18px; width: 18px; background-color: #eee; border: 2px solid lightgray; border-radius: 5px; } .box:hover input ~ .checkmark { background-color: white; } .box input:checked ~ .checkmark { background-color: white; } .checkmark:after { content: ""; position: absolute; display: none; } .box input:checked ~ .checkmark:after { display: block; } .box .checkmark:after { left: 5px; bottom: 0px; width: 10px; height: 25px; border: solid #f4c741; border-width: 0 5px 4px 0; transform: rotate(45deg); }