* { margin: 0; padding: 0; font-family: sans-serif; } .hero { height: 100%; width: 100%; background-image: url("http://127.0.0.1:3030/images/rain.jpg"); background-position: center; background-size: cover; position: absolute; } .form-box { width: 380px; height: 480px; position: relative; margin: 6% auto; background: rgb(255,255,255, 0.9);; padding: 5px; overflow: hidden; backdrop-filter: blur(16px); border-radius: 5px; } .button-box { width: 220px; margin: 35px auto; position: relative; box-shadow: 0 0 20px 9px #ff61241f; border-radius: 30px; } .log-reg-button { padding: 10px 30px; cursor: pointer; background: transparent; border: 0; outline: none; position: relative; } #btn { top: 0; left: 0; position: absolute; width: 100px; height: 100%; background: linear-gradient(to right, #ff105f, #ffad06); border-radius: 30px; transition: .5s; } .social-icons { margin: 30px auto; text-align: center; } .social-icons img { width: 30px; margin: 0 12px; box-shadow: 0 0 20px 0 #7f7f7f2d; cursor: pointer; filter: saturate(1) } .input-group{ top: 180px; position: absolute; width: 280px; transition: .5s; } .input-field { width: 100%; padding: 10px 0; margin: 5px 0; border-left: 0; border-right: 0; border-top: 0; border-bottom: 1px solid #999; outline: none; background: transparent; } .submit-btn { width: 85%; padding: 10px 30px; cursor: pointer; display: block; margin: auto; background: linear-gradient(to right, #ff105f, #ffad06); border: 0; outline: none; border-radius: 30px; } .checkbox { margin: 30px 10px 30px 0; } span { color: #777; font-size: 12px; bottom: 68px; position: absolute; } #login { left: 50px; } #register { left: 450px; }