* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body::before {
    content: "";
    background: #fff;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    z-index: -1;
    opacity: 0.95;
}

.form-parts {
    display: flex;
    justify-content: center;
    margin-top: 15vh;
}

/* form description started */
.form-parts .desc {
    padding: 50px;
    background: #9c27b0;
    width: 20rem;
    border-bottom-left-radius: 2rem;
    border-top-left-radius: 2rem;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0 0 50px rgba(0, 0, 0, 0.2);
}

.form-parts .desc .heading {
    color: #fff;
    font-weight: bold;
    font-size: 24px;
}

.form-parts .desc .body {
    color: #fff;
    margin: 15px 0;
}

.form-parts .desc button {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 5px 10px;
    margin-top: 40px;
    color: #fff;
    background: transparent;
    transition: 0.2s ease;
}

.form-parts .desc button:hover {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 5px 10px;
    color: #9c27b0;
    background: #fff;
}

.form-parts .desc button:focus {
    outline: 0;
}

.form-parts .desc button:active {
    opacity: 0.8;
}


/* form description ended */

/* form body styling started */
.form-parts .form {
    padding: 50px;
    background: #fff;
    width: 30rem;
    border-bottom-right-radius: 2rem;
    border-top-right-radius: 2rem;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.2), 0 0 50px rgba(0, 0, 0, 0.2);
}

.form-parts .form .sign-in-text {
    margin-bottom: 50px;
    text-align: center;
    border-bottom: 4px solid rgb(255, 136, 0);
    width: 60px;
    animation: border-an 3s infinite;
}

/* registration button animation started */
@keyframes border-an {
    0% {
        width: 65px;
    }
    50% {
        width: 215px;
    }
    100% {
        width: 65px;
    }
}

/* registration button animation ended */

.form-control {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.377);
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: #ffffff;
    border-bottom: 1px solid black;
    box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 25%);
}

.form-control::placeholder {
    font-size: 12px;
}

.form button {
    background: #9c27b0;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.2);
}

.form a {
    text-decoration: none;
    color: #fff;
    padding: 5px 75px;
}

.form a:active {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}

.form a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.form .forgot-password {
    margin-top: 15px;
}

/* .form .forgot-password a{
    padding: 0;
    text-decoration: none;
    color: red;
    font-weight: normal;
} */

/* form body styling ended */

/* form responsive styling started */
@media screen and (max-width: 770px) {
    .form-parts {
        flex-direction: column;
    }

    .form-parts .desc .body {
        display: block;
    }

    .form-parts .desc {
        margin: auto;
        margin-bottom: 10px;
        border-radius: 2rem;
        width: 20rem;
    }

    .form-parts .form {
        margin: auto;
        border-radius: 2rem;
        width: 20rem;
    }
}

/* form responsive styling ended */

select.form-control {
    font-size: .75rem !important;
    padding: 0.375rem 0.55rem !important;
}
