:root {
    --background-base-color: #f4f4f4;
    --text-primary: #161616;
    --border-subtle: #C6C6C6;
    --link-color: #525252;
    --link-hoover-color: #0F62FE;
    --login-panel-backround: #FFFFFF;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background-color: var(--background-base-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.login-header {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 8000;
    display: flex;
    background-color: var(--background-base-color);
    block-size: 3rem;
    border-bottom: 1px solid var(--border-subtle);
    inset-block-start: 0;
    inset-inline: 0;
}

.login-header-text {
    font-size: .875rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    padding: 0 2rem 0 1rem;
    font-weight: 400;
    text-decoration: none;
}

.landing-footer {
    width: 100%;
    background-color: var(--login-panel-backround);
    padding: 1rem 2rem;
    font-size: 0.75rem;
    color: var(--link-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-subtle);
    box-sizing: border-box;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1.25rem;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--link-hoover-color);
    text-decoration: underline;
}

.footer-right {
    color: var(--text-primary);
    white-space: nowrap;
}

.landing-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.landing-main {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 6rem;
    padding-top: 3rem;
}

.content-left {
    width: 30%;
    background-color: var(--login-panel-backround);
    display: flex;
    flex-direction: column;
}

.content-left-text {
    padding: 2rem;
}

#content-left-title {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 400;
    margin: 2rem 0 2rem 0;
}

.content-text-holders span {
    display: block;
}

.content-left p {
    font-size: 1rem;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0;
    padding-right: 1rem;
    gap: 2rem;
}

.content-left a {
    color: var(--link-hoover-color);
    text-decoration: none;
}

.content-left a:hover {
    text-decoration: underline;
}

.content-divider {
    border: none;
    border-top: 1px solid var(--border-subtle);
    margin: 2rem 0;
}

.login-button {
    background-color: var(--link-hoover-color);
    color: white;
    border: none;
    padding: 1rem 1.25rem;
    width: 100%;
    font-size: 1rem;
    border-radius: 2px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

}

.login-button:hover {
    background-color: #0353e9;
}

.content-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-right img {
    width: 100%;
    height: auto;
}

@media (min-width: 672px) {
    .content-left h1 {
        font-size: 2rem;
    }
}

@media (min-width: 1056px) {
    .content-left h1 {
        font-size: 2.25rem;
    }
}

.content-left-second-container {
    padding-top: 2rem;
}


.content-left-paragraphs p {
    margin: 0 1rem 1rem 0;
    font-size: 1rem;
    line-height: 1.5;
}

.content-left-paragraphs p:last-child {
    margin-bottom: 0;
}

@media (max-width: 671px) {

    body {
        overflow-x: hidden;
    }

    .landing-main {
        flex-direction: column;
        padding: 1rem;
        gap: 1.5rem;
    }

    .content-text-holders span {
        display: inline;
    }

    .content-left {
        width: 100%;
        padding: 1rem 0 0 0;
        background-color: var(--login-panel-backround);
    }

    .content-left-text {
        padding: 1.25rem 1rem;
    }

    #content-left-title {
        font-size: 1.6rem;
        line-height: 2rem;
        margin: 1rem 0;
    }

    .content-left-paragraphs {
        white-space: normal;
    }

    .content-left p {
        font-size: 1rem;
        line-height: 1.5rem;
        margin-bottom: 1rem;
        padding-right: 0;
    }

    .login-button {
        width: 100%;
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

    .content-right {
        display: none;
    }

    .landing-footer {
        flex-direction: column;
        gap: 0.625rem;
        text-align: center;
        padding: 1rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
}

@media (min-width: 672px) and (max-width: 1055px) {

    .landing-main {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 2rem;
        overflow: hidden;
    }

    .content-left {
        width: 100%;
        padding: 1.5rem 1rem;
    }

    .content-left-text {
        padding: 0;
    }

    #content-left-title {
        font-size: 2rem;
        line-height: 2.5rem;
        margin-top: 1rem;
    }

    .content-left p {
        font-size: 1.125rem;
        line-height: 1.6rem;
    }

    .content-right {
        display: none;
    }

    .content-right img {
        max-width: 65%;
        height: auto;
    }

    .landing-footer {
        padding: 1rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        gap: 1rem;
    }

    .login-button {
        display: inline;
    }
}

.flash-messages {
    position: sticky;
    top: var(--login-header, 4rem);
    z-index: 9999;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-left: 0;
}

.alert {
    width: 100%;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    animation: slideDown 0.4s ease-out;
}

.alert-error {
    background-color: #f8d7da;
    color: #842029;
}

.alert-info {
    background-color: #cff4fc;
    color: #055160;

}

.auto-hide {
    opacity: 1;
    transition: opacity .5s ease;
    animation:
        fadeOut 0.5s ease 5s forwards,
        collapse 0.5s ease 5.5s forwards;
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes collapse {
    to {
        height: 0;
        padding: 0;
        margin: 0;
        overflow: hidden;
    }
}