@import url('https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ceviche One');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Baloo Tamma 2', sans-serif;
}

body {
    
    overflow: hidden;
    font-size: 16px;
}

.py-margin-right{
    margin-right: 5px;
}

.title {
    color: rgb(128, 13, 190) !important;
}

.wave {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: -1;
}

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

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

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

.img img {
    width: 500px;
}

#notifycationLoginFail {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    padding: 5px 8px;
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
}

#notifycationSucceed {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 5px 8px;
    text-align: center;
    border-radius: 10px;
    font-size: 15px;
}

form {
    width: 360px;
}

.login-content img {
    height: 100px;
}

.login-content h2 {
    margin: 15px 0;
    color: #333;
    text-transform: uppercase;
    font-size: 2.9rem;
}

.login-content .input-div {
    position: relative;
    display: grid;
    grid-template-columns: 7% 93%;
    margin: 25px 0;
    padding: 5px 0;
    border-bottom: 2px solid #d9d9d9;
}

.login-content .input-div.one {
    margin-top: 0;
}

.div i {
    position: absolute;
    top: 15px;
    right: 0;
    visibility: hidden;
}

.div small {
    position: absolute;
    top: 32px;
    left: 10px;
    visibility: hidden;
}

.div.success i.fa-check-circle {
    visibility: visible;
    color: #23cc71;
}

.div.error i.fa-exclamation-circle {
    visibility: visible;
    color: #e74c3c;
}

.div.error small {
    visibility: visible;
    color: #e74c3c;
}

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

.i i {
    transition: .3s;
}

.input-div>div {
    position: relative;
    height: 45px;
}

.input-div>div>h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    transition: .3s;
}

.input-div:before,
.input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background-color: #8F13D2;
    transition: .4s;
}

.input-div:before {
    right: 50%;
}

.input-div:after {
    left: 50%;
}

.input-div.focus:before,
.input-div.focus:after {
    width: 50%;
}

.input-div.focus>div>h5 {
    top: -5px;
    font-size: 15px;
}

.input-div.focus>.i>i {
    color: #8F13D2;
}

.input-div>div>input {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem 0.7rem;
    font-size: 1.2rem;
    color: #555;
    font-family: 'Baloo Tamma 2', sans-serif;
}

.input-div.pass {
    margin-bottom: 4px;
}

a {
    display: block;
    text-align: right;
    text-decoration: none;
    color: #999;
    font-size: 0.9rem;
    transition: .3s;
}

a:hover {
    color: #8F13D2;
}

.btn {
    display: block;
    width: 100%;
    height: 45px;
    border-radius: 25px;
    outline: none;
    border: none;
    background-image: linear-gradient(to right, rgb(107, 18, 155), #8F13D2, rgb(107, 18, 155));
    background-size: 200%;
    font-size: 1.8rem;
    color: #fff;
    text-transform: uppercase;
    margin: 1rem 0;
    cursor: pointer;
    transition: .5s;
}

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

@media screen and (max-width: 1050px) {
    .container {
        grid-gap: 5rem;
    }
}

@media screen and (max-width: 1000px) {
    form {
        width: 290px;
    }
    .login-content h2 {
        font-size: 2.4rem;
        margin: 8px 0;
    }
    .img img {
        width: 400px;
    }
}

@media screen and (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
    }
    .img {
        display: none;
    }
    .wave {
        display: none;
    }
    .login-content {
        justify-content: center;
    }
}


/* LOADING SVG */

.loading__ {
    width: 40px;
    height: 40px;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0%,
    100% {
        stroke-dashoffset: 100;
    }
    50% {
        stroke-dashoffset: 0;
    }
    50.1% {
        stroke-dashoffset: 200;
    }
}

section.loader {
    z-index: 999999;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

section.loader>img {
    width: 198px; /*198*/
}

section.loader.hidden {
    animation: fadeOut .69s;
    animation-fill-mode: forwards;
}

