﻿html {
    height: 100%;
    box-sizing: border-box;
}

:root {
    --bg-size: auto 150%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    height: 100% !important;
    background: rgba(50,50,50,1);
    /* background:linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)),url(../imgs/img1.png)no-repeat; */
    background-size: var(--bg-size);
    background-attachment: fixed;
    background-position: 0 0,center center;
}

.body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    animation: rotateImg 100s infinite 4s ease-in-out;
    filter: blur(2px);
    background: linear-gradient(0deg,rgba(0, 0, 0, 0.50),rgba(10, 10, 10, 0.60)),url(../imgs/bgslide1.jpg)no-repeat;
    background-size: var(--bg-size);
    background-attachment: fixed;
    background-position: 0 0,center center;
}

@keyframes rotateImg {
    0% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide1.jpg);
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        transition: background-image .32s ease-in-out;
        background-position: 100% 100%,center center;
        background-attachment: fixed;
        object-fit: cover;
    }

    10.5% {
        opacity: 0;
    }

    20% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide2.jpg);
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        transition: background-image .32s ease-in-out;
        background-position: 100% 100%,center center;
        background-attachment: fixed;
        object-fit: cover;
    }

    20.5% {
        opacity: 1;
    }

    25% {
        opacity: 0;
    }

    30% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide3.jpg);
        transition: background-image .32s ease-in-out;
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        background-position: 100% 100%,center center;
        background-attachment: fixed;
        object-fit: cover;
    }

    30.5% {
        opacity: 1;
    }

    35% {
        opacity: 0;
    }

    40% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide4.jpg);
        transition: background-image .32s ease-in-out;
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        background-position: 100% 100%,center center;
        object-fit: cover;
    }

    40.5% {
        opacity: 1;
    }

    45.5% {
        opacity: 0;
    }

    50% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide5.jpg);
        transition: background-image .32s ease-in-out;
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        background-position: 100% 100%,center center;
        background-attachment: fixed;
        object-fit: cover;
    }

    50.5% {
        opacity: 1;
    }

    55.5% {
        opacity: 0;
    }

    60% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide6.jpg);
        transition: background-image .32s ease-in-out;
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        background-position: 100% 100%,center center;
        background-attachment: fixed;
        object-fit: cover;
    }

    60.5% {
        opacity: 1;
    }

    65.5% {
        opacity: 0;
    }

    70% {
        background: linear-gradient(0deg,rgba(0, 0, 0, 0.60),rgba(10, 10, 10, 0.60)), url(../imgs/bgslide7.jpg)center center;
        transition: background-image .32s ease-in-out;
        background-repeat: no-repeat;
        background-size: var(--bg-size);
        background-position: 100% 100%,center center;
        background-attachment: fixed;
        object-fit: cover;
    }

    70.5% {
        opacity: 1;
    }
}

.content {
    padding: 16px;
}

.form-login {
    position: absolute;
    top: 50%;
    transform-origin: top center;
    transform: translatey(-50%);
}

.form_login {
    background: linear-gradient(0deg,rgba(250,250,250,1) 60%,rgba(255,255,255,1)10%);
    padding: 16px;
    box-shadow: 0 8px 2px -5px rgba(0,0,0,.4),0 15px 2px -10px rgba(0,0,0,.4),0 25px 2px -15px rgba(0,0,0,.2),0 35px 2px -20px rgba(0,0,0,.1);
}

.btn-success, .btn-success:active, .btn-success:focus {
    border-color: rgba(0, 114, 97,1) !important;
}

    .btn-success:hover {
        background: rgba(0, 124, 97, 1) !important;
    }

    .btn-success:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 114, 97, 0.582);
    }

.logo {
    /* background:url(../imgs/logo_compnet.png)no-repeat; */
    background-origin: center center;
    background-size: 300px auto;
    position: absolute;
    box-sizing: border-box;
    height: 300px;
    top: 50%;
    transform-origin: top center;
    transform: translatey(-50%) translateX(34px);
    padding: 16px;
}

@media (max-width:990px) {
    .logo {
        top: 2%;
        transform: translatey(-2%) translateX(0px);
        background-size: 250px auto;
        background-position-x: center;
        height: 250px;
    }
}

.icon {
    width: 16px;
    height: 16px;
}

.icon #pad_lock {
    fill: #FFF;
}

i.mdi {
    color: #fff;
}

span.input-group-text {
    background: #009C86;
}

.row_btn {
    padding-top: 16px;
}

.btn_default {
    padding-left: 34px;
    padding-right: 34px;
}

.btn_default_success {
    padding-left: 34px;
    padding-right: 34px;
    background: #009C86;
    margin-left: 3px;
}

.logo_compnet {
    max-height: 250px;
    position: relative;
    top: 50%;
    transform: translateY(-10%);
    animation: intro_logo 2s both cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

.svg {
    position: absolute;
    width: 0;
    height: 0;
}

@keyframes intro_logo {
    from {
        transform: translate3d(0,-50%,0) scale(.8);
    }

    to {
        transform: translate3d(0,-50%,0) scale(1);
    }
}

/* Animation Logo */

.cls-1, .cls-5 {
    fill: transparent;
    stroke: white;
    stroke-dasharray: 550;
    stroke-dashoffset: 550;
    animation: svg 3s both 1s linear;
}

.cls-2 {
    fill: transparent;
    stroke: white;
    stroke-dasharray: 150;
    stroke-dashoffset: 150;
    animation: svg04 2s both 1s linear;
}

.cls-3 {
    fill: transparent;
    stroke: white;
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    animation: svg03 2s both 1s linear;
}

.cls-4 {
    fill: transparent;
    stroke: white;
    stroke-dasharray: 25;
    stroke-dashoffset: 25;
    animation: svg02 2s both 1s linear;
}

.cls-6 {
    fill: transparent;
    stroke: white;
    stroke-dasharray: 550;
    stroke-dashoffset: 550;
    animation: svg01 2s both 1s linear;
}

@keyframes svg {
    0% {
        stroke-dashoffset: 550;
    }

    60% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke: transparent;
        fill: #fff;
    }
}

@keyframes svg01 {
    0% {
        stroke-dashoffset: 550;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke: transparent;
        fill: #009c86;
    }
}

@keyframes svg02 {
    0% {
        stroke-dashoffset: 25;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke: transparent;
        fill: #f19e00;
    }
}

@keyframes svg03 {
    0% {
        stroke-dashoffset: 25;
    }

    50% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke: transparent;
        fill: #1da55a;
    }
}

@keyframes svg04 {
    0% {
        stroke-dashoffset: 150;
    }

    60% {
        stroke-dashoffset: 0;
    }

    100% {
        stroke: transparent;
        fill: #fdd200;
    }
}
.login-flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    gap: 40px;
    background: #f5f5f5;
}

.login-logo-side {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding-right: 40px;
}

.login-form-side {
    flex: 0 1 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}


#err {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    opacity: 1;
}
