* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

header {
    background-color: #040331;
    color: hwb(0 9% 91%);
    padding: 2px;
    margin: 2px;
}

nav ul {
    list-style-type: horizontal;
    margin: 10px;
    padding: 15px;
}

nav ul li {
    display: inline-block;
    margin-right: 10px;
}

nav ul li a {
    color: #161515;
    text-decoration: none;
}

body {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url(sha.jpg);
    height: flex: 1 1 auto;
}

.container {
    position: right;
    max-width: 500px;
    width: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    overflow: show;
    margin: 10 20px;
}

.container .forms {
    display: flex;
    align-items: center;
    height: 380px;
    width: 200%;
    transition: height 0.2s ease;
}

.container .form {
    width: 50%;
    padding: 35px;
    background-color: #fff;
    transition: margin-left 0.18s ease;
}

.container.active .login {
    margin-left: -50%;
    opacity: 0;
    transition: margin-left 0.18s ease, opacity 0.15s ease;
}

.container .signup {
    opacity: 0;
    transition: opacity 0.09s ease;
}

.container.active .signup {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.container.active .forms {
    height: 600px;
}

.container .form .title {
    position: relative;
    font-size: 27px;
    font-weight: 600;
}

.form .title::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 30px;
    background-color: #4070f4;
    border-radius: 25px;
}

.form .input-field {
    position: relative;
    height: 30px;
    width: 100%;
    margin-top: 20px;
}

.input-field input {
    position: absolute;
    height: 100%;
    width: 100%;
    padding: 0 35px;
    border: none;
    outline: none;
    font-size: 16px;
    border-bottom: 2px solid #ccc;
    border-top: 2px solid transparent;
    transition: all 0.2s ease;
}

.input-field input:is(:focus, :valid) {
    border-bottom-color: #4070f4;
}

.input-field i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #0f0f0f;
    font-size: 23px;
    transition: all 0.1s ease;
}

.input-field input:is(:focus, :valid)~i {
    color: #4070f4;
}

.input-field i.icon {
    left: 0;
}

.input-field i.showHidePw {
    right: 0;
    cursor: pointer;
    padding: 10px;
}

.form .checkbox-text {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.checkbox-text .checkbox-content {
    display: flex;
    align-items: center;
}

.checkbox-content input {
    margin-right: 10px;
    accent-color: #1564b3;
}

.form .text {
    color: #1b1a1a;
    font-size: 14px;
}

.form a.text {
    color: #4070f4;
    text-decoration: none;
}

.form a:hover {
    text-decoration: underline;
}

.form .button {
    margin-top: 10px;
}

.form .button input {
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 6px;
    background-color: #4070f4;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button input:hover {
    background-color: #265df2;
}

.form .login-signup {
    margin-top: 3px;
    text-align: center;
}

p {
    color: #201f1f;
    font-size: 10px;
    Margin: 5px;
    padding: 5px;
}

#navbar {
    background-color: hsl(from color h s l);
    overflow: Hidden;
}

.nav-link {
    float: left;
    display: block;
    color: #000000;
    text-align: center;
    padding: 4px 10px;
    text-decoration: none;
    margin: 2px;
}

.nav-link:hover {
    background-color: #c5c5e08e;
}

footer {
    color: #fff;
    background-color: #c75c15;
    alignment: center;
}