@import url(reset.css); @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap'); body { font-family: 'Poppins', sans-serif; min-height: 100vh; background: linear-gradient(to right, #f1d2d0, #ffe5e6); display: flex; align-items: center; justify-content: center; } .login-card { width: 450px; background: rgba(255, 255, 255, .5); padding: 4rem; border-radius: 10px; position: relative; } .login-card::before { position: absolute; background: rgba(255, 255, 255, .15); /* inset: 0; */ /* transform: rotate(-Sdeg); */ z-index: -1; } .login-card-logo { margin-bottom: 2rem; } .login-card-logo img { width: 200px; } .login-card-logo, .login-card-header, .login-card-footer { text-align: center; } .login-card a { text-decoration: none; color: #35339a; } .login-card a:hover { text-decoration: underline; } .login-card-header { margin-bottom: 2rem; } .login-card-header h1 { font-size: 2rem; font-weight: 600; margin-bottom: .5rem; } .login-card-form { display: flex; flex-direction: column; gap: 1.5rem; } .login-card-form .form-item { position: relative; } .login-card-form .form-item .form-item-icon { position: absolute; top: 0.9rem; left: 1.8rem; font-size: 1.3rem; opacity: 6; } .login-card-form .checkbox { display: flex; align-items: center; gap: 7px; } .login-card-form .form-item-other { display: flex; align-items: center; justify-content: space-between; font-size: calc(1rem + .8); margin-bottom: .5rem; } .login-card-footer { margin-top: 1.5rem; font-size: calc(1rem * .8); } .login-card input[type="text"], .login-card input[type="password"], .login-card input[type="email"] { border: none; outline: none; background: rgba(255, 255, 255, .9); padding: 1rem 1.5rem; padding-left: 3.5rem; border-radius: 100px; width: 100%; transition: background .5s; } .login-card-form button { border: none; outline: none; background: rgba(255, 255, 255, 0.827); padding: 1rem 1.5rem; padding-left: calc(1rem); border-radius: 100px; width: 100%; transition: background .5s; font-size: 20px; } .login-card-form .form-item-other .checkbox input[type="checkbox"] { border: none; outline: auto; background: rgba(255, 255, 255, 0.827); } .login-card-form input[type="date"] { border: none; outline: none; background: rgba(255, 255, 255, .3); padding: 1rem 1.5rem; padding-left: calc(1rem * 3.5); border-radius: 100px; width: 100%; transition: background .5s; }