:root {
    --container-bg: #0783b6;
    --white: #fff;
    --black: #222;
    --body-font: 1rem;
    --heading-font: 2rem;
    --body-text: color: rgb(0 0 0 / 57%);
    --dark-blue: #003579;
    --light-blue: #1255ae;
    --yellow: #f0a808;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: var(--body-font);
    line-height: 1.5;
    font-family: sans-serif;
    color: var(--black);
    position: relative;
}

    body:before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        background-image: url(../images/bedleft.png);
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-size: 60%;
    }

    body:after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        background-image: url(../images/bed-right.png);
        width: 218px;
        height: 163px;
        background-repeat: no-repeat;
    }
h1 {
    margin-bottom: 6rem;
}
main {
    height: 100vh;
    display: flex;
}

.login-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.loginContentBox {
    width: 550px;
    text-align: center;
}

.login-title {
    font-size: 2.5rem;
    text-transform: capitalize;
    position: relative;
    margin-bottom: 4rem;
}

    .login-title::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: -0.5rem;
        height: 0.25rem;
        width: 65px;
        background: var(--yellow);
        left: 50%;
        transform: translateX(-50%);
    }

.icon-input-control {
    position: relative;
}
    .icon-input-control img{height:30px;}

    .form-control {
        margin-bottom: 1.5rem;
        height: 56px;
        border-radius: 2rem;
        outline: none;
        width: 100%;
        padding: 0.5rem 1.5rem;
        font-size: var(--body-font);
        color: rgb(0 0 0 / 57%);
        transition: .3s;
        background: var(--white);
        border: 1px solid #ddd;
    }

    .form-control:focus {
        border: 1px solid var(--dark-blue);
    }

.icon-input-control .icon-input-right {
    top: 0.6rem;
    right: 1.5rem;
    z-index: 2;
}

.icon-input-control .icon-input-right {
    position: absolute;
    font-size: 1.4rem;
    color: rgb(0 0 0 / 42%);
}

.icon-input-right:hover {
    cursor: pointer;
    color: var(--dark-blue);
}

.captcha-inputs {
    display: flex;
}

    .captcha-inputs .icon-input-control {
        flex: 0 0 40%;
        margin-left: 1.5rem;
        margin-bottom: 1.5rem;
        height: 56px;
        border-radius: 2rem;
        width: 100%;
        padding: 0.5rem 1.5rem;
        border: 1px solid #ddd;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.captcha-control {
/*    font-size: 1.5rem;
    font-weight: 600;
    color: var(--light-blue);*/
}

.form-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.login-btn {
    background-image: linear-gradient(to right, var(--dark-blue), var(--light-blue));
    border: none;
    outline: none;
    padding: 1.19rem;
    text-align: center;
    width: 100%;
    margin-bottom: 1rem;
    border-radius: 2rem;
    color: var(--white);
    font-weight: 500;
    font-size: var(--body-font);
    position: relative;
    overflow: hidden;
}

    .login-btn::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: #f0f8ff30;
        transform: translateX(-105%);
        transition: .3s;
    }

    .login-btn:hover::before {
        transform: translateX(0%);
    }

.forgot-link {
    color: inherit;
}

    .forgot-link:hover {
        text-decoration: none;
    }

footer {
    text-align: center;
    margin-top: 10rem;
    font-size: 0.8rem;
    color: #8b8b8b;
}

.leftimg img {
    height: 650px;
    margin: 2rem 10rem 0 8rem;
}
.leftimg.authoLogin img {
    height: 700px;
    margin: 2rem 16rem 0 12rem;
}
@media (max-width:1680px) {
    .leftimg img {
        height: 575px;
        margin: 1rem 8rem 0 7rem;
    }
    .leftimg.authoLogin img {
        height: 650px;
        margin: 1rem 9rem 0 12rem;
    }
    .loginContentBox {
        width: 500px;
    }
    footer {
        margin-top: 5rem;
    }
    body:before {
        background-size: 56%;
    }
    }
@media (max-width: 1600px) {
    .leftimg img {
        height: 530px;
    }
    .leftimg.authoLogin img {
        margin: 1rem 9rem 0 9rem;
    }
}
    @media (max-width:1440px) {
        .leftimg img {
        height: 500px;
        margin: 0rem 5rem 0 5rem;
    }
        
        .leftimg.authoLogin img {
            margin: 1rem 6rem 0 5rem;
        }
    .loginContentBox {
        width: 460px;
    }
    footer {
        margin-top: 4rem;
    }

    }



@media (max-width:1366px) {
    .leftimg img {
        height: 500px;
        margin: 3rem 4rem 0 3rem;
    }
    .leftimg.authoLogin img {
        height: 530px;
        margin: 3rem 6rem 0 8rem;
    }

    .loginContentBox {
        width: 450px;
    }

    h1 {
        margin-bottom: 2.1rem;
    }

    .login-title {
        margin-bottom: 2rem;
        font-size: 2rem;
    }

    .form-control {
        margin-bottom: 1.2rem;
        height: 50px;
    }

    .login-btn {
        padding: 1rem;
    }

    .login-title::before {
        bottom: -0.2rem;
    }
    footer{
        margin-top:3rem;
    }
    body:before {
        background-size: 54%;
    }
}
@media (max-width: 1280px) {
    .leftimg img {
        height: 440px;
        margin: 1rem 4rem 0 4rem;
    }
    .leftimg.authoLogin img {
        height: 512px;
        margin: 3rem 6rem 0 6rem;
    }

}
@media (max-width: 1152px) {
    .leftimg img {
        height: 390px;
        margin: 0rem 6rem 0 3rem;
    }
    .loginContentBox {
        width: 380px;
    }
    .leftimg.authoLogin img {
        margin: 0rem 6rem 0 4rem;
    }
}
@media (max-width: 1024px) {
    .leftimg img {
        height: 330px;
        margin: 0rem 5rem 0 3rem;
    }
    .loginContentBox {
        width: 365px;
    }
    .leftimg.authoLogin img {
        margin: 0rem 3rem 0 4rem;
        height: 450px;
    }
}
@media (max-width: 768px) {
    .leftimg{
        display:none;
    }
    main {
        align-items: center;
        justify-content: center;
    }
    .loginContentBox {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .loginContentBox {
        width: 90%;
        margin: 0 auto;
    }
    body:before {
        background-size: 50%;
    }
    .form-control {
        margin-bottom: 1.5rem;
    }
    body:after {
        width: 35px;
    }
    }