.login-page {
    height: 100vh;
    width: 100vw;

    display: flex;
}

.login-page-reverse .left-panel {
    flex: 1;
    width: initial;
    min-width: initial;
    max-width: initial;
}

.login-page-reverse aside {
    flex: initial;
    width: 28rem;
    min-width: 28rem;
    max-width: 40%;
}

.left-panel {
    width: 28rem;
    min-width: 28rem;
    max-width: 40%;
    z-index: 1;

    overflow-y: auto;

    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 0px 0px;
    grid-template-areas:
        "main"
        "footer";
}

main {
    grid-area: main;

    width: 100%;
    max-width: 1000px;
    
    margin: 0 auto;
    padding: 4rem;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

footer {
    grid-area: footer;
}

.logo {
    width: 12rem;
    max-width: 80%;
}

aside {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

.background-image {
    height: 100%;
    width: 100%;
    background-size: cover;
}

.color-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--rrc-primary-color-dark);
    background: linear-gradient(167deg, rgba(79, 104, 140, 1) 20%, rgb(1 6 12) 100%);
    opacity: 0.85;
}

.text-overlay {
    position: absolute;
    left: 8rem;
    bottom: 5.5rem;
    /* top: 50vh;
    transform: translateY(-50%); */
}

.text-overlay>span {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    display: block;
    padding-right: 8rem;
}


@media (max-width: 1465px) {
    .text-overlay {
        left: 4rem;
        bottom: 3rem;
    }

    .text-overlay>span {
        padding-right: 4rem;
    }
}

@media (max-width: 1050px) {
    .text-overlay>span {
        font-size: 2.5rem;
    }
}

@media (max-width: 1200px) {
    div.left-panel {
        width: 20rem;
        min-width: 20rem;
        max-width: 40%;
    }

    main {
        padding: 4rem 2rem;
    }
}

@media (max-width: 992px) {
    div.login-page {
        display: block;
    }

    div.left-panel {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        height: 100vh;
    }

    aside,
    .background-image,
    .hide-on-mobile-screens {
        display: none;
    }
}

@media (max-height: 700px) and (max-width: 992px) {
    div.login-page {
        display: block;
    }
}

@media (max-height: 460px) {
    div.login-page {
        display: block;
    }

    div.left-panel {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        height: 100%;
    }

    aside,
    .background-image,
    .hide-on-mobile-screens {
        display: none;
    }
}