/********************* Footer ******************************/
.footer {
    background-color: var(--black);
    padding: 52px 0 40px;
}

.footer .wrapper_main {
    z-index: 0;
}

.footer_wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
}

.footer_wrapper .col {
    color: var(--white);
}

.footer_flex {
    display: flex;
    align-items: flex-start;
}

.footer_flex ul {
    margin-top: 0;
}

.footer_flex ul:first-of-type {
    margin-right: 92px;
}

.footer_logo {
    position: relative;
    top: unset;
    left: unset;
    margin-right: 0;
    margin-left: 0;
    margin-top: -5px;
    margin-bottom: 25px;
    width: 450px;
    height: 280px;
    cursor: pointer;
}

.footer h3 {
    color: var(--white);
    margin-top: -5px;
    margin-bottom: -5px;
    font-size: 50px;
}

.footer_wrapper .page_links li a {
    color: var(--white);
    font-style: normal;
    font-family: 'Cooper Hewitt', sans-serif;                                                
    font-weight: 711;
    text-transform: uppercase;
    text-align: left;
    width: 100%;
    margin-bottom: 10px;
    transition: 0.2s all ease-in-out;
}

.footer_wrapper .page_links li a:hover {
    color: var(--red);
    transition: 0.2s all ease-in-out;
}

/*************** Social ********************/
.footer .connect_links {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 5;
}

.footer .social {
    display: flex;
    align-items: center;
}

.social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 46px;
    height: 46px;
    background-color: var(--red);
    color: var(--white);
    box-sizing: border-box;
    font-size: 20px;
    margin-right: 15px;
    transition: 0.2s all ease-in-out;
}

.social a:hover {
    opacity: 0.8;
    transition: 0.2s all ease-in-out;
}

.social a:last-of-type {
    margin-right: 0;
}

.dh-credit {
    color: var(--white);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 30px;
}

.dh-credit a {
    color: var(--white);
    transition: 0.2s all ease-in-out;
}

.dh-credit a:hover {
    color: var(--red);
    transition: 0.2s all ease-in-out;
}

.footer .durham_svg {
    width: 344px;
    height: 140px;
    right: 0;
    bottom: -40px;
    position: absolute;
    z-index: 0;
}

.footer .durham_svg path,
.footer .durham_svg rect {
    fill: var(--white);
}

@media (max-width: 900px) {
    .footer_wrapper,
    .footer_copyright {
        display: block;
    }

    .footer_wrapper .col {
        width: 100%;
    }

    .footer .page_links {
        flex-wrap: wrap;
    }

    .footer .social {
        margin-top: 40px;
    }

    .footer .durham_svg {
        right: 50%;
        margin-right: -172px;
    }
}

@media (max-width: 500px) {
    .footer_flex {
        flex-direction: column;
        align-items: center;
    }

    .footer_wrapper .page_links li a {
        width: 100%;
        text-align: center;
    }

    .footer_flex ul:first-of-type {
        margin-right: 0;
        margin-bottom: 0;
    }

    .footer h3 {
        font-size: 30px;
        text-align: center;
    }

    .footer .col .copyright {
        text-align: center;
    }

    .footer .connect_links {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 420px) {
    .footer {
        overflow: hidden;
    }
    
    .footer .durham_svg {
        width: 100%;
        right: 0;
        margin-right: 0;
        bottom: -40px;
        transform: translate(0px, 30px);
    }
}