@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, #0c81ee, #f10797);
}

.github {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 60px;
}

.form {
    position: relative;
    width: 400px;
    height: 500px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.4);
    padding: 40px;
}

.form-body {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    transition: 1s ease-in-out;
}

.form.active .form-body.sign-in {
    transform: scale(0) translate(0, 400px);
}

.form .form-body.sign-up {
    position: absolute;
    top: 0;
    transform: scale(0) translate(0, -400px);
}

.form.active .form-body.sign-up {
    transform: scale(1) translate(0, 0);
}

h2 {
    font-size: 30px;
    color: #fff;
    text-align: center;
    letter-spacing: 5px;
}

.input-field {
    position: relative;
    margin: 30px 0;
}

.input-field label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: 0.5s;
}

.input-field i {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 18px;
    color: #fff;
    transition: 0.5s;
}

.input-field input {
    width: 320px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 0 5px;
    padding-right: 24px;
    background: transparent;
    border: none;
    outline: none;
    border-bottom: 2px solid #fff;
    transition: 0.5s;
}

.input-field input:focus,
.input-field input:valid {
    border-bottom: 2px solid #121f92;
}

.input-field input:focus~label,
.input-field input:valid~label {
    top: -5px;
    font-size: 14px;
    color: #121f92;
}

.input-field input:focus~i,
.input-field input:valid~i {
    color: #121f92
}

.remember-me {
    margin: 5px 0px 15px 5px;
}

.forgot-pass {
    margin: -38px 0px 20px 96px;
    font-size: 14px;
    text-decoration: none;
    color: #fff
}

.forgot-pass:hover {
    text-decoration: underline;
}

.remember-me .t-c {
    color: #121f92;
    text-decoration: none;
    font-weight: 500;
}

.remember-me p a:hover {
    text-decoration: underline;
}

.remember-me label {
    color: #fff;
    font-size: 14px;
}

.remember-me label input {
    accent-color: #121f92;
}

button {
    position: relative;
    width: 100%;
    height: 40px;
    background: #121f92;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    border-radius: 30px;
    border: none;
    outline: none;
    letter-spacing: 1px;
    transition: 0.5s;
}

button:hover{
    background: #0a104e;
}

.signUp-connect {
    font-size: 14px;
    text-align: center;
    margin: 15px 0;
}

.signUp-connect p {
    color: #fff;
}

.signUp-connect p a {
    color: #121f92;
    text-decoration: none;
    font-weight: 500;
}

.signUp-connect p a:hover {
    text-decoration: underline;
}

.social-acc {
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.seperator {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.line {
    flex: 1;
    height: 1px;
    background-color: #fff;
}
  
.text {
    padding: 0 10px;
}

.social-acc-logo a {
    display: inline-block;
    width: 35px;
    height: 35px;
    background: transparent;
    border: 1px solid #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    margin: 20px 5px 0;
    transition: 0.3s;
}

.social-acc-logo a:hover {
    background: #121f92;
    border: 1px solid #121f92;
}

.social-acc-logo a i {
    color: #121f92;
    font-size: 14px;
    transition: 0.3s;
}

.social-acc-logo a:hover i {
    color: #fff;
}