@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 {
    background: black;
}


section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: url('../assets/signup/bg2.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    animation: animateBg 5s linear infinite;
}


.section-login {
    height: 100vh;
}

@keyframes animateBg {
    100% {
        filter: hue-rotate(360deg);
    }
}

.login-box {
    position: relative;
    width: 400px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}



.register-box {
    position: relative;
    width: 440px;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    margin: 20% 0;
}


h2 {
    margin-top: 10px;
    font-size: 2em;
    color: #fff;
    text-align: center;
}

.input-box {
    position: relative;
    width: 355px;
    margin: 30px 0;
    border-bottom: 2px solid #fff;
}


.input-box label {
    position: absolute;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    font-size: 1em;
    color: dimgray;
    pointer-events: none;
    transition: .5s;
}


.input-box input:focus~label,
.input-box input:valid~label {
    top: -5px;
}


.input-box input {
    width: 100%;
    height: 50px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 1em;
    color: #fff;
    padding: 0 35px 0 5px;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, transparent 600000s 0s;
    -webkit-text-fill-color: #fff !important;
    color: #fff !important;
    caret-color: #fff;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

.input-box .icon {
    position: absolute;
    right: 8px;
    color: #fff;
    font-size: 1.2em;
    line-height: 57px;
}


.remember-forgot,
.newsletter,
.asz {
    margin: -15px 0 15px;
    font-size: .9em;
    color: #fff;
    display: flex;
    justify-content: space-between;
}


.asz-label {
    width: 300px;
    display: flex;
    align-items: baseline;
}


.asz-error {
    display: flex;
    flex-direction: column;
}


.remember-forgot label input,
.newsletter label input,
.asz label input {
    margin-right: 3px;
    -webkit-appearance: checkbox;
    flex-shrink: 0;
}




.newsletter a {
    color: white;
    text-decoration: none;
}



.remember-forgot a,
.asz a {
    color: #bbbbbb;
    text-decoration: none;
}


.remember-forgot a:hover,
.newsletter a:hover,
.asz a:hover {
    text-decoration: underline;
}

.error-message {
    position: relative;
    color: gainsboro;
    font-size: 0.875em;
    display: none;
    margin-top: 5px;
}

.nav-button {
    display: none;
}

.nav-button-login {
    display: none;
}

button.submit {
    width: 100%;
    height: 40px;
    background: #fff;
    border: none;
    outline: none;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1em;
    color: #000;
    font-weight: 500;
}


.register-link,
.login-link {
    font-size: .9em;
    color: #fff;
    text-align: center;
    margin: 25px 0 10px;
}


.register-link p a,
.login-link p a {
    color: deeppink;
    text-decoration: none;
    font-weight: 600;
    animation: none !important;
}


@keyframes antiAnimateBg {
    100% {
        filter: hue-rotate(360deg);
    }
}


.register-link p a:hover,
.login-link p a:hover {
    text-decoration: underline;
}


@media (max-width: 376px) {

    .login-box,
    .register-box {
        width: 100%;
        border: none;
        border-radius: 0;
    }

    .login-box {
        height: 100vh;
    }

    .register-box {
        height: 110vh;
    }

    .input-box {
        width: 290px;
    }
}