﻿:root {
    --grey: #bbc4cd;
    --white: #FFFFFF;
    --blue: #2b476f;
    --blue-placeholder: rgba(43, 71, 111, 0.6);
    --blue-label: rgba(43, 71, 111, 0.8);
    --blue-hover: #486793;
    --baby-blue: #a5eefe;
    --red: #F95447;
}

body {
    margin: 0;
    position: relative;
    background-color: var(--grey) !important;
    overflow-y: auto;
    height: 100vh;
}

.container-form {
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-div {
    background-color: var(--white);
    height: auto;
    width: 416px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    overflow-y: auto;
}

.top-icon {
    padding: 20px 0px 0px 20px;
    height: 150px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.img-logo {
    width: 55px;
    height: 55px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 27px / 40px;
}

.top-name > h3 {
    font-family: 'Bradley Hand ITC', sans-serif !important;
    margin-bottom: 0px !important;
    margin-left: 10px;
}

.img-logo > img {
    width: 100%;
}

.header-login {
    color: var(--blue);
    margin-bottom: 20px;
}

    .header-login > span:first-child {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 2.1em;
        padding-left: 20px;
        display: block;
    }

    .header-login > span:last-child {
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        font-size: 0.8em;
        padding-left: 20px;
        display: block;
        margin-top: -7px;
    }

.input-group-text {
    background-color: transparent;
    border: 0px;
}

.input-login {
    border: 0px;
    border-color: transparent;
    background-color: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8em;
    color: var(--blue);
}

    .input-login::placeholder {
        color: var(--blue-placeholder);
    }

    .input-login:focus {
        border: 0px;
        border-color: transparent;
        background-color: transparent;
        box-shadow: none;
    }

.div-login-input {
    margin-left: 20px;
    margin-right: 20px;
    background-color: #e8e8e8;
    border-radius: 5px;
    margin-bottom: 20px;
}

    .div-login-input > label {
        font-size: 0.7em;
        padding-left: 12px;
        font-family: 'Poppins', sans-serif;
        font-weight: 600;
        color: var(--blue-label);
    }

.input-group-prepend {
    display: flex;
}

.input-group-text {
    color: var(--blue-hover);
    padding-right: 5px;
}

.footer-body {
    margin-left: 20px;
    margin-right: 20px;
}

@font-face {
    font-family: 'Bradley Hand ITC' !important;
    src: url('SGMContents/Fonts/Commons/bradhitc.eot');
    src: url('SGMContents/Fonts/Commons/bradhitc.eot') format('embedded-opentype'), url('SGMContents/Fonts/Commons/bradhitc.woff2') format('woff2'), url('SGMContents/Fonts/Commons/bradhitc.woff') format('woff'), url('SGMContents/Fonts/Commons/bradhitc.ttf') format('truetype'), url('SGMContents/Fonts/Commons/bradhitc.svg#bradhitc') format('svg');
}

.btn-login {
    background-color: var(--blue);
    width: 100%;
    padding: 15px 5px 15px 5px;
    border: 1px solid var(--blue);
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.5s;
    text-decoration: none;
    cursor: pointer;
}

    .btn-login:hover {
        background-color: var(--white);
    }

        .btn-login:hover > span {
            color: var(--blue);
        }

            .btn-login:hover > span:nth-child(2) {
                background-color: var(--blue-hover);
            }

            .btn-login:hover > span:nth-child(3) {
                background-color: var(--baby-blue);
            }

    .btn-login > span {
        font-family: 'Poppins', sans-serif;
        font-size: 0.8em;
        color: var(--white);
        display: inline-block;
        font-weight: 600;
        transition: color 0.5s;
    }

        .btn-login > span:nth-child(1) {
            width: 70%;
            text-align: left;
            margin-left: 10px;
        }

        .btn-login > span:nth-child(2) {
            width: 10%;
            height: 5px;
            background-color: var(--baby-blue);
            border-radius: 5px 0px 0px 5px;
            margin-left: -20px;
            transition: background-color 0.5s;
        }

        .btn-login > span:nth-child(3) {
            width: 20%;
            height: 5px;
            background-color: var(--blue-hover);
            border-radius: 0px 5px 5px 0px;
            transition: background-color 0.5s;
        }

.footer-login {
    margin-bottom: 40px;
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.footer-login > a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 0.9em;
    text-decoration: none;
    color: var(--blue-label);
    cursor: pointer;
}

    .footer-login > a:hover {
        color: var(--baby-blue);
    }

.circle {
    background: linear-gradient(90deg, var(--blue-hover) 0%, var(--blue) 100%);
    position: fixed;
}

.circle-1 {
    transition: 2s;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    top: 5%;
    left: 25%;
}

.circle-2 {
    transition: 2s;
    width: 500px;
    height: 500px;
    border-radius: 250px;
    top: 70%;
    left: -10%;
}

.circle-3 {
    transition: 1s;
    width: 200px;
    height: 200px;
    border-radius: 100px;
    top: 120px;
    right: 140px;
}

.circle-4 {
    transition: 1s;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    top: 60px;
    right: 60px;
}

.circle-5 {
    transition: 1s;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    top: 20px;
    right: 20px;
}

.circle-6 {
    transition: 2s;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    top: 550px;
    right: 300px;
}

.circle-7 {
    transition: 2s;
    width: 450px;
    height: 450px;
    border-radius: 225px;
    top: 700px;
    right: 600px;
}

.circle-1:hover {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    top: 70px;
    left: 500px;
}

.circle-2:hover {
    width: 500px;
    height: 500px;
    border-radius: 250px;
    top: 650px;
    left: -150px;
}

.circle-3:hover {
    width: 200px;
    height: 200px;
    border-radius: 100px;
    top: 100px;
    right: 140px;
}

.circle-4:hover {
    width: 100px;
    height: 100px;
    border-radius: 50px;
    top: 70px;
    right: 60px;
}

.circle-5:hover {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    top: 10px;
    right: 20px;
}

.circle-6:hover {
    width: 600px;
    height: 600px;
    border-radius: 300px;
    top: 550px;
    right: 400px;
}

.circle-7:hover {
    width: 450px;
    height: 450px;
    border-radius: 225px;
    top: 700px;
    right: 500px;
}

.section-two {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .section-two > footer {
        font-family: 'Poppins', sans-serif;
        font-weight: 200;
        font-size: 0.9em;
    }

@media screen and (max-height: 839px) {
    .form-div {
        gap: 0px;
    }

    .img-logo > img {
        width: 100%;
    }
}

@media screen and (max-height: 783px) {
    .footer-login {
        position: relative;
        margin-top: 50px;
        width: 100%;
    }
}

@media screen and (max-width: 630px) {
    .form-div {
        width: 90%;
    }

    .circle-2 {
        left: -100%;
    }
}

@media screen and (max-width: 767px) {
    footer {
        z-index: 1;
        color: var(--white);
        text-align: center;
    }

    .container-form {
        height: 90vh;
    }

    .circle-6 {
        right: 20px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .container-form {
        min-height: 85vh;
    }

    .section-two {
        width: 39%;
    }

    footer {
        color: var(--white);
        text-align: center;
    }
}

footer {
    color: var(--white);
    text-align: center;
}

@media screen and (min-width: 1200px) and (max-width: 1499px) {
    .container-form {
        height: 90vh;
        /*width: 50%;*/
    }

    .section-two {
        width: 49%;
    }

    footer {
        color: var(--white);
        text-align: center;
    }
}

@media screen and (min-width: 401px) and (max-width: 767px) {
    .circle-6 {
        transition: 2s;
        width: 600px;
        height: 600px;
        border-radius: 300px;
        top: 550px;
        right: 50px;
    }

    .circle-7 {
        transition: 2s;
        width: 450px;
        height: 450px;
        border-radius: 225px;
        top: 700px;
        right: 100px;
    }
}

@media screen and (min-width: 1920px) {
    .form-div {
        width: 416px;
    }
}

@media screen and (min-height: 461px) and (min-width:992px) {
    .form-div {
        flex-direction: column;
    }
}

@media screen and (max-width: 991px) and (max-height: 460px) {
    .container-fluid > .row {
        justify-content: center;
    }

    .form-div {
        height: 90%;
        width: 100%;
    }

    .container-form {
        width: 80%;
        height: 100vh;
    }

    .section-two {
        width: 30%;
        margin-top: 20px;
        justify-content: flex-end;
    }

    footer {
        width: 100%;
        margin-bottom: 20px;
    }

    .body-login {
        height: 90%;
        flex: 60%;
        margin-top: 5%;
    }

    .top-icon {
        flex: 40%;
        height: 100%;
        display: flex;
        padding: 0px;
        align-items: center;
        justify-content: center;
    }

    .footer-login {
        flex: 100%;
        bottom: 15px;
        margin-bottom: 15px;
        padding-bottom: 10px;
    }

    .form-div {
        flex-wrap: wrap;
    }

    .header-login > span:first-child {
        font-size: 2em;
    }

    .header-login > span:last-child {
        font-size: 0.8em;
    }

    .circle-2 {
        left: 20%;
    }
}

* {
    box-sizing: border-box;
}

.notgood {
    position: relative;
    &::before

{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--red);
    transition: all .5s;
    animation: clippath 3s infinite linear;
}

}

@keyframes clippath {

    0%, 100% {
        clip-path: inset(0 0 95% 0);
    }

    25% {
        clip-path: inset(0 95% 0 0);
    }

    50% {
        clip-path: inset(95% 0 0 0);
    }

    75% {
        clip-path: inset(0 0 0 95%);
    }
}

.div-login-input > label > span {
    font-weight: 400;
    padding-left: 10px;
    color: var(--red);
}

.footer-main {
    display: flex;
    z-index: 999;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

@media screen and (min-height: 1080px) and (min-width: 810px) {
    .form-div {
        flex-direction: column;
    }
}

@media screen and (max-width: 500px) and (min-width: 340px) {
    .form-div {
        flex-direction: column;
    }
}

footer {
    font-family: 'Poppins', sans-serif;
}

@media screen and (max-width: 768px) and (min-width: 767px) {
    .form-div {
        flex-direction: column;
    }
}

@media only screen and (max-height: 768px) {
    .container-form {
        margin-top: 20px;
    }
}

input#usernameInput {
    -webkit-box-shadow: 0 0 0px 1000px #e8e8e8 inset !important;
}

input#passwordInput {
    -webkit-box-shadow: 0 0 0px 1000px #e8e8e8 inset !important;
}

.eye-show {
    display: flex;
    margin-right: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--blue-hover);
    cursor: pointer;
}
