@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --border: 1px solid rgb(255 255 255 / 7%);
}

.border-red {
    border: 1px solid rgb(255 0 0 / 32%);
}

.border-green {
    border: 1px solid rgb(0 255 0 / 32%);
}

body, html {
    background-color: rgb(5, 8, 19);
    padding: 0;
    margin: 0;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    height: 100vh;
    background: linear-gradient(rgb(5 8 19 / 0%) 0%, rgb(5 8 19) 100%), url(/login/images/background.svg);
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-color: rgb(5, 8, 19);
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 23px;
    margin-bottom: 30px;
    color: white;
    letter-spacing: 1px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: rgba(255, 255, 255, 0.50);
    font-size: 14px;
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid rgb(255 255 255 / 7%);
    letter-spacing: 1px;
    padding: 20px;
    width: -webkit-fill-available;
}

.footer a:hover {
    text-decoration: underline;
    color: cornflowerblue;
    animation: ease-in-out 0.3s infinite alternate;
}

.footer-zane {
    color: lightsteelblue;
    font-weight: 600;
}

.divider {
    margin-top: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

label {
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-bottom: 7px;
    letter-spacing: 1px;
    font-size: 15px;
    opacity: 0.4;
}

input {
    width: calc(100% - 24px);
    appearance: none;
    outline: none;
    font-size: 16px;
    padding: 11px 12px;
    color: white;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 7px;
    font-family: 'Inter', sans-serif;
    border: var(--border);
    transition: all 0.3s ease-in-out;
}

input:hover {
    transition: all 0.3s ease-in-out;
    background: rgb(255 255 255 / 6%);
}

#sign-in-btn.red {
    background: rgb(255 0 0 / 26%);
}

#sign-in-btn.red:hover {
    background: rgb(255 0 0 / 30%);
}

#sign-in-btn.green {
    background: rgb(0 255 0 / 26%);
}

#sign-in-btn.green:hover {
    background: rgb(0 255 0 / 30%);
}

.login {
    width: 450px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    -moz-backdrop-filter: blur(3px);
    -o-backdrop-filter: blur(3px);
    -ms-backdrop-filter: blur(3px);
    background: rgb(71, 71, 71, 13%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: var(--border);
    opacity: 0;
    animation: flyIn 1s ease-out forwards;
}

.login.gradient {
    background: linear-gradient(180deg, rgba(0, 4, 40, 0.5), rgb(0 78 146 / 0%));
    background: linear-gradient(180deg, rgba(0, 4, 40, 0.7), rgb(0 78 146 / 0%)) 
}

.login.gradient.red {
    background: linear-gradient(180deg, rgb(40 0 2 / 69%), rgb(0 78 146 / 0%));
}

.login.gradient.green {
    background: linear-gradient(180deg, rgb(0 40 2 / 69%), rgb(0 78 146 / 0%));
}

.mt-0 {
    margin-top: 0;
}

.mt-2 {
    margin-top: 30px;
}

.mb-2 {
    margin-bottom: 30px;
}

.ls-1 {
    letter-spacing: 1px;
}

.ls-2 {
    letter-spacing: 2px;
}

button {
    height: 45px;
    appearance: none;
    font-family: 'Inter', sans-serif;
    outline: none;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 5px;
    position: relative;
    font-size: 14px;   
    transition: all 0.3s ease-in-out;
    width: 100%;
    border: var(--border);
    letter-spacing: 1px;
    text-transform: uppercase;
}

button i {
    margin-top: -2px;
    margin-left: 10px;
    font-size: 20px;
    position: relative;
    vertical-align: middle;
}

button:hover {
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    /* background: linear-gradient(rgba(0, 4, 40, 0.5), rgb(0 78 146 / 0%)); */
    background: rgb(255 255 255 / 6%);
    color: rgba(255, 255, 255, 0.6);
}

a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: white;
    transition: all 0.3s ease-in-out;
}

.background {
    width: 50%;
    height: 100vh;
    display: inline-block;
    position: relative;
    vertical-align: top;
    background: rgb(30, 121, 161);
}

.shake {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.text-danger {
    color: red;
}

.text-success {
    color: green;
}