/* footer */

.c-footer {
    position: relative;
    background: var(--primary-900);
    padding-top: 64px;
    padding-bottom: 50px;
}

@media (min-width: 90em) {
    .c-footer {
        padding-top: 83px;
        padding-bottom: 60px;
    }
}

/* footer links */

.c-footer a {
    cursor: pointer;
    text-decoration: none;
    position: relative;
    text-decoration: none;
    background-position: 0% 98%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size 0.2s cubic-bezier(.54,.12,.56,1.05);
    color: var(--white);
    text-shadow: -2px 0 var(--primary-900), 2px 0 var(--primary-900), 0 2px var(--primary-900),
        2px 2px var(--primary-900), -2px 2px var(--primary-900);
    background-image: linear-gradient(var(--blue-700), var(--blue-700));
}

.c-footer a:hover,
.c-footer a:focus {
    background-size: 100% 2px;
    outline: none;
}

/* logo */

.c-footer__logo {
    width: 200px;
    margin-bottom: 48px;
}

@media (min-width: 90em) {
    .c-footer__logo {
        margin-bottom: 52px;
    }
}

@media (min-width: 90em) {
    .c-footer__logo {
        width: 268px;
        margin-bottom: 59px;
    }
}

/* nav menu container */

.c-footer__menus {
    display: grid;
    column-gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 67px;
}

@media (min-width: 48em) {
    .c-footer__menus {
        column-gap: 20px;
        row-gap: 45px;
        grid-template-columns: repeat(12, 1fr);
        margin-bottom: 60px;
    }
}

@media (min-width: 90em) {
    .c-footer__menus {
        column-gap: 24px;
        grid-template-columns: repeat(12, 1fr);
        margin-bottom: 73px;
    }
}

@media (min-width: 120em) {
    .c-footer__menus {
        margin-bottom: 96px;
    }
}

/* nav menu */

.c-footer__nav {
    margin-bottom: 35px;
    grid-column: 1 / span 3;
}

.c-footer__nav:last-child {
    margin-bottom: 0;
}

@media (min-width: 48em) {

    .c-footer__nav {
        margin-bottom: 0;
    }

    .c-footer__nav:nth-child(1) {
        grid-row: 1 / span 8;
        grid-column: 1 / span 5;
        margin-bottom: 0;
    }

    .c-footer__nav:nth-child(2) {
        grid-row: 1 / span 5;
        grid-column: 8 / span 5;
    }

    .c-footer__nav:nth-child(3) {
        grid-row: 9 / span 3;
        grid-column: 1 / span 5;
        margin-bottom: 0;
    }

    .c-footer__nav:nth-child(4) {
        grid-row: 6 / span 5;
        grid-column: 8 / span 5;
    }

    .c-footer__nav:nth-child(5) {
        grid-row: 12 / span 3;
        grid-column: 1 / span 5;
        margin-bottom: 0;
    }

    .c-footer__nav:nth-child(6) {
        grid-row: 11 / span 3;
        grid-column: 8 / span 5;
        margin-bottom: 0;
    }
}

@media (min-width: 64em) {

    .c-footer__nav:nth-child(1) {
        grid-row: 1 / span 2;
        grid-column: 1 / span 3;
        margin-bottom: 0;
    }

    .c-footer__nav:nth-child(2) {
        grid-row: 1 / span 5;
        grid-column: 4 / span 3;
    }

    .c-footer__nav:nth-child(3) {
        grid-row: 1 / span 6;
        grid-column: 7 / span 3;
        margin-bottom: 0;
    }

    .c-footer__nav:nth-child(4) {
        grid-row: 1 / span 7;
        grid-column: 10 / span 3;
    }

    .c-footer__nav:nth-child(5) {
        grid-row: 3 / span 2;
        grid-column: 1 / span 3;
        margin-bottom: 0;
    }
}

/* nav menu title */

/* nav menu list */

.c-footer__nav-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* nav menu item */

.c-footer__nav-item {
    margin-bottom: 15px;
    padding: 0;
}

.c-footer__nav-item:last-child {
    margin-bottom: 0;
}

@media (min-width: 90em) {
    .c-footer__nav-item {
        margin-bottom: 24px;
    }
}


/* nav menu item link */

.c-footer__nav-link {
    font-size: 18px;
    line-height: 27px;
    font-weight: 500;
    color: var(--white);
    ', blue_500) }}
}

@media (min-width: 120em) {
    .c-footer__nav-link {
        font-size: 21px;
        line-height: 30px;
    }
}


.c-footer__nav-item:first-child .c-footer__nav-link {
    font-size: 16px;
    line-height: 24px;
    font-weight: normal;
    margin-bottom: 7px;
    color: var(--blue-500);
}

@media (min-width: 90em) {
    .c-footer__nav-item:first-child .c-footer__nav-link {
        line-height: 27px;
    }
}

@media (min-width: 90em) {
    .c-footer__nav-item:first-child .c-footer__nav-link {
        font-size: 18px;
        line-height: 30px;
        margin-bottom: 4px;
    }
}

/* the footer of the footer */

.c-footer__footer {
    border-top: 1px solid var(--primary-700);
    padding-top: 45px;
}

/* footer social link container */

.c-footer__social {
    margin-bottom: 45px;
}

@media (min-width: 90em) {
    .c-footer__social {
        float: right;
    }
}

/* footer social link */

a.c-footer__social-link {
    margin-right: 39px;
    background: none;
    text-decoration: none;
}

a.c-footer__social-link:hover,
a.c-footer__social-link:focus {
    background: none;
}

.c-footer__social-link:last-child {
    margin-right: 0;
}


.c-footer__social-icon {
    height: 19px;
}

@media (min-width: 120em) {
    .c-footer__social-icon {
        height: 25px;
    }
}

/* footer policy nav */

@media (min-width: 90em) {
    .c-footer__policy-nav {
        margin-bottom: 26px;
    }
}

/* footer policy nav list */

.c-footer__policy-nav-list {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* footer policy nav list item */

.c-footer__policy-nav-item {
    margin-right: 47px;
    margin-bottom: 29px;
    display: inline-block;
    padding: 0;
}

.c-footer__policy-nav-item:last-child {
    margin-bottom: 45px;
}

@media (min-width: 90em) {
    .c-footer__policy-nav-item,
    .c-footer__policy-nav-item:last-child {
        margin-bottom: 0;
    }
}

/* footer policy nav link */

a.c-footer__policy-nav-link {
    font-size: 16px;
    line-height: 24px;
    color: var(--blue-500);
    background-size: 0% 1px;
}

a.c-footer__policy-nav-link:hover,
a.c-footer__policy-nav-link:focus {
    background-size: 100% 1px;
}


@media (min-width: 120em) {
    .c-footer__policy-nav-link {
        font-size: 18px;
        line-height: 30px;
    }
}

/* footer copyright */

.c-footer__copyright {
    font-size: 16px;
    line-height: 24px;
    color: var(--white);
}

@media (min-width: 90em) {
    .c-footer__copyright {
        line-height: 27px;
    }
}

@media (min-width: 120em) {
    .c-footer__copyright {
        font-size: 18px;
        line-height: 30px;
    }
}
