/* The nextleap.app site footer (partials/nl-footer.hbs). Rules copied from odin's public/index.html
   ("Page Footer Start" styles); the theme sets html{font-size:62.5%}, so sizes stay in px. */

.page-shell-footer-container {
    width: 100%;
    background-color: #141414;
    color: #fff;
}

.shell-footer-logo-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    padding-top: 56px;
    padding-bottom: 56px;
}

/* The logo file is black; odin inverts it for the dark footer. */
.shell-footer-logo {
    width: 120px;
    height: 32px;
    filter: invert(100%);
}

.shell-footer-section-outer-container {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 36px;
}

.shell-footer-section-outer-container-margin {
    margin-top: 64px;
}

.shell-footer-section-inner-container,
.shell-footer-section-inner-container-courses {
    flex: 1;
}

.shell-footer-main-heading {
    width: fit-content;
    margin-bottom: 16px;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    letter-spacing: 0.25px;
}

.shell-footer-sub-heading-container {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 16px;
}

.page-shell-footer-container .shell-footer-sub-heading {
    display: flex;
    align-items: center;
    width: fit-content;
    color: inherit;
    opacity: 0.6;
    text-decoration: none;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 160%;
    letter-spacing: 0.25px;
}

.page-shell-footer-container .shell-footer-sub-heading:hover {
    color: inherit;
    text-decoration: underline;
}

/* The social icon files are already white (odin's filter works out to invert(0)). */
.shell-footer-social-logo-main {
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

.shell-second-footer-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    padding-top: 48px;
    padding-bottom: 85px;
}

.shell-footer-company-desc,
.shell-footer-copyright {
    color: inherit;
    opacity: 0.6;
    font-family: "Lexend Deca", sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 150%;
}

/* The theme resets paragraph margins to 0; odin's footer relies on the browser default. */
.shell-footer-company-desc p {
    margin: 0 0 13px;
}

.shell-footer-company-desc b {
    font-weight: 600;
}

@media (max-width: 768px) {
    .shell-footer-section-outer-container {
        column-gap: 0;
        row-gap: 32px;
    }

    .shell-footer-section-outer-container-margin {
        margin-top: 32px;
    }

    .shell-footer-logo-container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .shell-footer-section-inner-container {
        min-width: 50%;
        margin-left: 0;
        padding-left: 0;
    }

    .shell-footer-section-inner-container-courses {
        min-width: 100%;
    }

    .shell-footer-logo {
        width: 90px;
        height: 24px;
    }

    .shell-footer-sub-heading-container {
        row-gap: 20px;
    }

    .shell-second-footer-section {
        padding-top: 32px;
        padding-bottom: 24px;
    }
}
