@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
*{
    margin: 0;
    padding:0;
    box-sizing: border-box;
    list-style: none;
}

:root{
    /* ===== Colors ===== */
    --body-color: #ffffff;
    --sidebar-color: #FFF;
    --primary-color: #695CFE;
    --primary-color-light: #F6F5FF;
    --toggle-color: #DDD;
    --text-color: #5d5b5b;
    --background-fade : linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0) 75%,rgba(0,0,0,0) 100%), url('../img/wallpaper.jpg');

    /* ====== Transition ====== */
    --tran-02: all 0.2s ease;
    --tran-03: all 0.3s ease;
    --tran-04: all 0.3s ease;
    --tran-05: all 0.3s ease;

    /* ===== Webkit Color ===== */
    --color:0;
}
body.dark{
    --body-color: #18191a;
    --sidebar-color: #242526;
    --primary-color: #5b5c5d;
    --primary-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;
    --background-fade : linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0.5) 75%,rgba(0,0,0,0.5) 100%), url('../img/wallpaper.jpg');
}

body{
    font-family: 'Poppins', sans-serif;
}

.login-content{
    background-color: var(--sidebar-color) !important;
    display: grid;
    grid-template-columns: 1fr 450px;
    width:100%;
    height:100vh;
    position: fixed;
    top:0;
    transition: var(--tran-03) !important;
    /* background-image: linear-gradient(white, #72aaff); */
}

.login-content .image{
    position: relative;
    background-image:var(--background-fade) !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset rgba(0, 0, 0, 0.24) 0px 3px 10px;
    animation-name: text;
    animation-duration: 0.5s;
}
.login-content .image .text{
    position: absolute;
    bottom: 0;
    font-size: 30px;
    color: white;
    padding:20px;
    animation-name: text;
    animation-duration: 0.5s;
}
@keyframes text {
    0%   {left:-1000px;}
    100%  {left:0px;}
}
.login-content .image .text h1{
    font-size: 50px;
    text-shadow: 3px 3px rgba(0,0,0,0.8);
}.login-content .image .text p{
    font-size: 20px;
    text-shadow: 2px 2px rgba(0,0,0,0.8);
}
.loginbox{
    position: relative;
    animation-name: right;
    animation-duration: 0.5s;
}
.loginbox .icon, #loginform .icon{
    background-color: #0d6efd;
    height:100%;
    padding:17px;
    font-size: 25px;
    color: white;
}.loginbox .label, #loginform .label{
    padding-left:75px;
}
#alert{
    display: none;
}

.logo{
    position: relative;
    text-align: center;
}
@keyframes right {
    0%   {right:-1000px;}
    100%  {right:0px;}
}
.logo img{
    width:80px;
    height:80px;
    margin-bottom: 20px;
    box-shadow: -4px -4px rgba(0,0,0,0.1);
}
.logo h2{
    line-height: 0px;
    color:#0d6efd;
    font-size: 40px;
    padding-bottom:10px;
    text-shadow: 2px 2px rgba(0,0,0,0.8);
}
.logo label{
    font-weight: 500;
    text-shadow: 2px 2px rgba(0,0,0,0.3);
    font-size: 25px;
    padding:0px 5px;
    border: 1px solid white;
    border-radius: 2px;
    color: white;
    background-color: red;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 2px;
}.logo p{
    font-size: 22px;
    font-family: "Times New Roman", Times, serif;
    color: red;
    font-weight: 500;
    line-height: 28px;
    text-shadow: 1px 1px silver;
}
#time{
    font-size: 15px;
    font-weight: normal;
    color: white;
    text-shadow: 1px 1px rgba(0,0,0,0.8);
}
#date{
    font-size: 15px;
    font-weight: normal;
    color: white;
    text-shadow: 1px 1px rgba(0,0,0,0.8);
}
.datetime{
    text-align: right;
    position: absolute;
    top: 10px;
    right:10px;
    animation-name: top;
    animation-duration: 0.5s;
}
@keyframes top {
    0%   {top:-1000px;}
    100%  {top:10px;}
}




/* SMALL SCREEN CSS START */
#smallscreen{
    display: none;
}
.login-content-small{
    display: grid;
    background-image: var(--background-fade) !important;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    width:100%;
    height:100vh;
}

.login-content-small .login-box-small{
    position: relative;
    margin: auto;
    width:600px;
    background-color: var(--sidebar-color) !important;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 10px;
    padding:20px 40px;
    animation-name: top;
    animation-duration: 0.5s;
    transition: var(--tran-03) !important;
}
.login-box-small .small-logo{
    position: relative;
    text-align: center;
    margin-top : 0px !important;
}
.login-box-small .small-logo img{
    width:80px;
    height:80px;
    margin-bottom: 20px;
    box-shadow: -4px -4px rgba(0,0,0,0.1);
}
.login-box-small .small-logo h2{
    line-height: 15px;
    color:#0d6efd;
    font-size: 40px;
    padding-bottom:5px;
    text-shadow: 2px 2px rgba(0,0,0,0.8);
}.login-box-small .small-logo label{
    font-weight: 500;
    text-shadow: 2px 2px rgba(0,0,0,0.3);
    font-size: 25px;
    padding:0px 5px;
    border: 1px solid white;
    border-radius: 2px;
    color: white;
    background-color: red;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 2px 2px;
}.login-box-small .small-logo p{
    font-size: 22px;
    font-family: "Times New Roman", Times, serif;
    color: red;
    font-weight: 500;
    line-height: 28px;
    text-shadow: 1px 1px silver;
}
.login-box-small .icon{
    background-color: #0d6efd;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    height:100%;
    padding:17px;
    font-size: 25px;
    color: white;
}.login-box-small .label{
    padding-left:75px;
}
/* SMALL SCREEN CSS END */


body.dark input[type="text"], body.dark input[type="password"]{
    color: var(--text-color) !important;
    background-color: var(--body-color) !important;
    transition: var(--tran-03) !important;
    border: 1px solid rgb(92, 92, 92);
}


h2.font-size-lg, span.text-muted, #loginform-mobile label, #loginform-desktop label{
    color: var(--text-color) !important;
    transition: var(--tran-03) !important;
}

@media only screen and (max-width: 1200px) {
    #widescreen{
        display: none;
    }
    #smallscreen{
        display: block;
    }
    
}
@media only screen and (max-width: 600px) {
    .login-content-small .login-box-small{
        width:95%;
        margin: auto;

    }
}
