@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,300&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");
@import url('./color-variants.css');

:root {
    --block-green: #1E8A62;
    --block-light-green: #8EA525;
    --block-yellow: #f0c94c;
    --block-red: #E94B4C;
}

body {
    /*color: var(--blue);*/
    font-size: 0.875em;
    background: #f0f2f5
}

.btn-primary:disabled {
    background-color: #838383;
    border-color: #838383;
    color: #e3e3e3;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    box-shadow: 0 5px 10px rgba(24, 96, 104, 0.2);
}

.invalid-feedback {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-10px);
    }
    75% {
        transform: translateX(10px);
    }
}

.content-container {
    padding-top: 7rem
}

@media only screen and (max-height: 600px) {
    .content-container {
        padding-top: 4rem
    }
}

@media only screen and (min-height: 900px) {
    .content-container {
        padding-top: 12.5vh
    }
}

@media only screen and (max-width: 750px) {
    .content-container {
        padding-top: 4rem;
    }
}

.introduction {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem
}

.introduction h1 {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    line-height: 1;
    font-weight: 400;
    letter-spacing: 0.4rem;
    margin: -2rem 0 0;
    text-transform: uppercase;
}

.introduction .digiplein-icon {
    width: 3rem
}

.introduction p {
    font-size: 1rem;
    line-height: 2rem;
    margin: 0;
    text-align: center
}

.login-form {
    width: 100%;
}

.login-form h2 {
    margin-bottom: 1rem;
}

.login-form hr {
    border-color: #ecedec;
    margin: 1.5rem 0
}

/* Moves the bootstrap invalid input icon more to the left to not overlap the show password eye-button */
input.password-input.form-control.is-invalid {
    background-position: right 45px center;
}

form .eye-button {
    position: absolute;
    display: inline-block;
    height: 25px;
    width: 25px;
    cursor: pointer;
    top: 38px;
    right: 15px;
}

/* Fixes weird bug where HTML5 browser validation is not displayed when scroll-behavior is set to smooth */
:root {
    scroll-behavior: auto !important;
}
