body, html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    height: 100%;
    width: 100%;
}
body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100svh;
    background: linear-gradient(to bottom right, #008b54 0%, #007c49 100%);
    position: relative;
    overflow: hidden;
    padding: 1rem;
    box-sizing: border-box;
}
canvas {
    display: block;
    vertical-align: bottom;
}
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13e8e9;
    font-size: 0.8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    border-radius: 0 0 3px 3px;
}
.js-count-particles {
    font-size: 1.1em;
}
#stats {
    border-radius: 3px 3px 0 0;
    overflow: hidden;
    user-select: none;
}
.count-particles {
    user-select: none;
    margin-top: 5px;
    margin-left: 5px;
}
.login-card {
    width: 100%;
    max-width: 800px;
    background: #fff;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    z-index: 2;
}

.login-form-title {
    font-size: 1.3rem;
    color: #333333;
    line-height: 1.2;
    font-weight: 700;
    width: 100%;
    display: block;
    margin: 0;
}
.login-left {
    background: #ffffff;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* padding: 0 0 0 30px;*/
    padding: 30px 10px 30px 30px;
}
.logo-tilt-container {
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}
.login-right {
    flex: 1;
    /*padding: 60px 60px;*/
    padding: 72px 70px 72px 28px;
}
.form-group {
    position: relative;
}
.form-group i {
    position: absolute;
    /*top: 6%;
    left: 12px;*/
    transform: translateX(50%) translateY(74%);
    color: #000000;
    pointer-events: none;
}
.form-group input {
    padding-left: 38px;
}
.input-group-text {
    background: #000000;
    border: none;
    color: #fff;
    border-radius: 0;
}
.form-control {
    display: block;
    border-radius: .25rem;
    width: 100%;
    border: 1px solid #BABFC7;
}
.form-control:focus {
    color: #4E5154;
    background-color: #FFF;
    border-color: #00B5B8;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.form-control.is-invalid, .was-validated .form-control:invalid {
    border-color: #CE2605;
    -webkit-box-shadow: 0 0 6px #FCA08E;
    -moz-box-shadow: 0 0 6px #FCA08E;
    box-shadow: 0 0 6px #FCA08E;
}
.form-control.is-invalid:focus, .was-validated .form-control:invalid:focus {
    border-color: #CE2605;
    -webkit-box-shadow: 0 0 6px #FCA08E;
    -moz-box-shadow: 0 0 6px #FCA08E;
    box-shadow: 0 0 6px #FCA08E;
}
.validation-error {
    font-size: 0.85rem;
}
.btn {
    border-radius: .25rem;
    width: 100%;
}
.btn-secondary {
    color: #FFF;
    background-color: #404E67;
    border-color: #404E67;
}
.btn-secondary:hover {
    color: #FFF;
    background-color: #313C4F;
    border-color: #2C3648;
}

.forgot {
    margin-top: 15px;
    text-align: right;
}
.forgot a {
    font-size: 0.9rem;
    text-decoration: none;
    color: #009C9F;
}
.footer-text {
    color: #ffffff;
    font-size: 0.9rem;
    margin-top: 20px;
    text-align: center;
}
@media (min-width: 768px) {
    .logo-tilt-container {
        width: 300px;
        height: 300px;
    }
    .login-card {
        flex-direction: row;
    }
}
@media (max-width: 768px) and (orientation: portrait) {
    .login-card {
        flex-direction: column;
        width: 100%;
    }
    .login-left, .login-right {
        padding: 20px;
    }
    .logo-tilt-container {
        width: 180px;
        height: 180px;
    }
    .login-right {
        padding: 0 20px 20px 20px;
    }
}
@media (max-width: 768px) and (orientation: landscape) {
    .login-card {
        flex-direction: column;
        overflow-y: auto;
        max-height: 90svh;
    }
    .logo-tilt-container {
        display: none;
    }
    .login-left, .login-right {
        padding: 0 20px;
    }
    .footer-text {
        margin-top: 10px;
        font-size: 0.75rem;
    }
}
