@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

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

body {
    overflow-x: hidden;
    overflow: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #FFEBEB !important;
}

body::-webkit-scrollbar {
    display: none; /* Chrome, Safari, and Opera */
}

.wave {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 50vw;
    z-index: -1;
}


.containers {
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
}


.img {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.login-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}


.bottom_text {
	color: #808080;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
    position: absolute;
    bottom: 13px;
    left: 0;
    right: 0;
    text-align: center;
}

.bottom_text_2 {
	display: none;
}

.system_title{
    color: #AF2517;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Open Sans";
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px; /* 62.5% */
    text-transform: capitalize;
}

.slogan{
    color: #AF2517;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    text-transform: capitalize;
    }

.titlebox{
    position: absolute;
    top: 13vh;
    left: 5vw;
    right: 0;
}

.titlebox_2{
    display:none;
}


.img img {
    width: auto;
    max-height: 85vh;
}


form {
    width: 360px;
}


label {
    color: #808080;
    text-align: left;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 9px;
    margin-top: 21px;
}


.logo {
    position: absolute;
    top: 0px;
    right: 33px;
}

.logo_mobile{
    display: none;
    position: absolute;
    top: 17px;
    right: 33px;
}


.logo img {
	width: 117px;
    height: 117px;
}

.parallax_logo {
    position: absolute;
    top: 10px;
    right: 33px;
}

.parallax_logo img {
	width: auto;
    height: 41px;
}

.login-content h2 {
    margin: 15px 0;
    color: #000;
    font-size: 40px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px;
	font-family: "Open Sans", sans-serif;
}


.i {
    color: #d9d9d9;
    display: flex;
    justify-content: center;
    align-items: center;
}


.i i {
    transition: .3s;
}


a {
    display: block;
    text-align: left;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 400;
    margin-top: 22px;
    margin-bottom: 20px;
    transition: .3s;
}


a:hover {
    color: #38d39f;
}


.btn {
    display: block;
    width: 100%;
    height: 50px;
    border-radius: 8px !important;
    background-image: linear-gradient(to right, #EB1F28, #ee2a2a, #EB1F28);
    background-size: 200%;
    font-size: 1.2rem;
    color: #fff;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
}


.btn:hover {
    background-position: right;
}


.password-group {
    position: relative;
}

#togglePassword {
	color: #808080;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.forget_password{
	text-decoration: none;
	color: #000;
	font-family: "Open Sans";
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 20px;
}

.forget_password:hover{
	color: #000;
}


.error-message {
    color: red;
    font-size: 0.9rem;
    margin-top: 5px;
}

.error-input {
    outline:  1px solid red;
}


/* Media Queries for Responsive Adjustments */

@media screen and (min-width: 1300px) {
    form {
        margin-left: 2.7vw;
    }
}

@media screen and (max-width: 1300px) and (min-width: 1200px) {
    form {
        margin-left: 0;
        margin-right: 2.4vw;
    }
}

@media screen and (max-width: 1200px) and (min-width: 768px) {
    .containers {
        grid-template-columns: 1fr 1fr;
    }

    .img {
        justify-content: center;
    }

    /* .wave{
        display: none;
    } */


    .img img {
        height: auto;
        max-width: 40vw;
    }


    form {
        width: 85%;
        max-width: 360px;
        margin-left: 1vw;
    }

    .login-content {
        justify-content: center;
        height: auto;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) and (min-width: 480px) {
    body {
        overflow: visible;
    }

    .login-content h2 {
        font-size: 2rem;
    }

    .btn {
        height: 40px;
    }

    .containers {
        display: flex;
        flex-direction: column;
    }

    .login-content {
        order: 1;
    }

    .wave{
        display: none;
    }

    .img {
        order: 2;
        margin-left: 0;
        justify-content: center;
    }
    .img img {
        height: auto;
        max-width: 50vw;
        z-index: 0;
    }

    .bottom_text_2 {
        display: block;
        color: #808080;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        margin-top: 150px;
        margin-bottom: 13px;
        text-align: center;
        z-index: 0;
    }

    .bottom_text {
        display: none;
    }

    .titlebox{
        display:none;
    }

    .titlebox_2{
        display:block;
    }

    .system_title{
        font-size: 28px;
        font-weight: 800;
        line-height: 20px; /* 62.5% */
        text-transform: capitalize;
        text-align: center;
    }

    .slogan{
        font-size: 12px;
        text-align: center;
        }

    .logo{
            display: none;
        }

    .logo_mobile{
            display: block;
        }

    .logo_mobile img {
            width: auto;
            height: 74px;
        }


}

@media screen and (max-width: 480px) {
    body {
        overflow: visible;
    }

    form {
        width: 85%;
        max-width: 340px;
    }

    .login-content h2 {
        font-size: 2rem;
    }

    .btn {
        height: 40px;
    }

    .containers {
        display: flex;
        flex-direction: column;
    }

    .login-content {
        order: 1;
    }

    .wave{
        display: none;
    }

    .img {
        order: 2;
        margin-left: 0;
        justify-content: center;
    }
    .img img {
        height: auto;
        max-width: 50vw;
        z-index: 0;
    }

    .bottom_text {
        display:none;
    }

    label, .login-content a {
        font-size: 0.8rem;
    }

    .titlebox{
        display:none;
    }

    .titlebox_2{
        display:block;
    }

    .system_title{
        font-size: 28px;
        font-weight: 800;
        line-height: 20px; /* 62.5% */
        text-transform: capitalize;
        text-align: center;
    }

    .slogan{
        font-size: 12px;
        text-align: center;
        }

    .logo{
        display: none;
    }

    .logo_mobile{
            display: block;
        }

    .logo_mobile img {
            width: auto;
            height: 80px;
        }
    .bottom_text_2 {
            display: block;
            color: #808080;
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
            line-height: 20px;
            margin-top: 110px;
            margin-bottom: 13px;
            text-align: center;
            z-index: 99;
        }
        .sign_in{
            margin-top: 8vh !important;
        }

}

@media screen and (max-width: 390px){
    form {
        width: 300px;
    }

    .logo_mobile img {
        width: auto;
        height: 70px;
    }

    .sign_in{
        margin-top: 10vh !important;
    }

    .bottom_text {
        display:none;
    }

    .bottom_text_2 {
        display: block;
        color: #808080;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 20px;
        margin-top: 110px;
        margin-bottom: 13px;
        text-align: center;
        z-index: 99;
    }
}
