* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    --accent-bg: linear-gradient(to right, #1d3f72, #006ca2, #009cc9, #00cee2, #34ffef);
    --light-text-col: #d1e1f1;
    --dark-text-col: #333745;
    --dark-bg-col: #282A37;
    --accent-col: #46c3e6;
}

.background-image {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#bg-behind {
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    position: absolute;
    /* clip-path: polygon(0 15%, 100% 15%, 100% 100%, 0% 100%); */
    transform: translateX(-45%);
}
.logo {
    height: 200px;
    background-color: white;
    width: 100%;
    position: absolute;
    z-index: -1;
}
.logo img {
    position: absolute;
    top: 2rem;
    left: 12rem;
    width: 400px;
    z-index: 10;
}
.login-container {
    display: grid;
    grid-template-columns: 100% 0 ;
    width: 100%;
    height: 100vh;
}
.login-box-container {
    display:grid;
    place-items: center;
    width:100%;
    height:100%;
}
.login-box {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    padding:4rem;
    border-radius: 0.5rem;
    width: 50%;
    max-width: 600px;
    background-color: var(--dark-bg-col);
}

.login-input {
    padding: 1rem 1.5rem; 
    background-color: var(--dark-text-col);
    border: none;
    width:100%;
    border-radius: 0.5rem;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 100ms linear;
    color: var(--light-text-col);
}
.login-input:hover {
    filter: brightness(0.95);

}
.login-input:first-child {
    margin-top: 1rem;
}

.login-input:focus {
    outline:2px solid var(--accent-col);
}

.btn-grad-bg {
    background: var(--accent-col);
}

.btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease-in-out;
}

.btn:hover:not(:disabled) {
    filter:brightness(0.9);
}

.login-header {
    color: white;
    font-weight: normal;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}
.login-header span {
    color: var(--accent-col);
    font-style:italic;
    font-weight: bold;
    font-size: 2.2rem;
}

.login-help {
    /* background-color: #afe0f9; */
    /* padding: 1rem; */
    border-radius: 0.5rem;
    display: grid;
    place-items: center;
    margin-top: 2rem;
    color: var(--light-text-col);
    font-size: 1.1rem;
}
.login-help a {
    color: var(--accent-col);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}
.login-help a:hover {
    text-decoration: underline;
}
.version-info {
    position: absolute;
    bottom: 0rem;
    /* left: 2rem; */

    color: var(--dark-text-col);
    font-size: 1.2rem;
    font-weight: bold;
    
    
}

.bottom-banner {
width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* margin: 0 0.5rem 0.25rem 0.5rem; */
    /* width: 99%; */
}
.failed-login {
    outline: 2px solid rgb(255, 100, 131);
    color: rgb(255, 100, 131);
}
.incorrect-cred {
    color:rgb(255, 100, 131);
    margin-bottom: 1rem;
}
.hidden {
    display: none;
}
.alert-msg {
    margin-bottom: 1rem;
    color: rgb(255, 179, 0);
}
button.btn-grad-bg:disabled {
    cursor: not-allowed;
    opacity:0.4;
}
.password-requirements {
    background-color: var(--dark-text-col);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    color: var(--light-text-col);
}
.password-requirements p {
    margin-bottom: 0.5rem;
}
.password-requirements ul {
    list-style: none;
}
.password-requirements ul li {
    margin-bottom: 0.2rem;
    opacity: 0.4;

}
.password-requirements ul li i {
    margin-right: 0.4rem;
}
.password-requirements ul li.requirement-complete {
    opacity: 1;
    color: rgb(0, 190, 0);
}

/* Change the autofill background for Chrome */
.login-input:-webkit-autofill,
.login-input:-webkit-autofill:hover, 
.login-input:-webkit-autofill:focus, 
.login-input:-webkit-autofill:active{
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--light-text-col);
    transition: background-color 5000s ease-in-out 0s;
    box-shadow: inset 0 0 20px 20px var(--dark-text-col);
}
/* Change the autofill background for Firefox */
.login-input:autofill {
    background: var(--dark-text-col);
}
@media screen and (max-width:1000px) {
    .login-box {
        width: 90%;
    }
    .logo {
        display: none;
    }
}

@media screen and (max-width: 500px) {
    .login-box {
        padding: 2rem 1rem;
    }
}