footer {
    flex-direction: column;
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgb(24, 30, 43) 0%, rgba(24, 31, 46, 1) 45%, rgba(41, 54, 79, 1) 100%);
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
}

.footer-wrapper {
    width: 100%;
    max-width: 2500px;
    height: 100%;
}

.footer-logo {
    width: 40%;
    height: 100%;
}

.footer-logo a {
    width: 70%;
    height: 100%;
    margin-left: 20%;
}

.footer-logo img {
    width: 70%;
}

.footer-link-wrapper {
    width: 60%;
    height: 100%;
    justify-content: space-around;
}

.footer-links {
    width: 25%;
    height: 100%;
    margin-top: 5rem;
    text-transform: uppercase;
    text-align: left;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-links a {
    text-decoration: none;
}

.footer-links .footer-header a {
    height: 50px;
}

.footer-links h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    letter-spacing: .25em;
    line-height: 1.3;
    color: #FFBF00;
    text-align: left;
    display: inline-block;
    word-spacing: 10000px;
}

.footer-links a h2:hover {
    color: white;
}

.footer-links:nth-of-type(1) {
    flex: .5 9 auto;
}

.footer-links:nth-of-type(2) {
    flex: .75 9 auto;
}

.footer-links:nth-of-type(3) {
    flex: 2 0 auto;
}

.footer-link-child a {
    height: 30px;
}

:where(.footer, .follow, .footer-logo, .lower-container) img::selection,
h2::selection,
a h3::selection,
span p::selection {
    color: #29364F;
    background-color: #FFBF00;
}

.footer-link-child a:hover h3 {
    color: #FFBF00
}

.footer-link-child {
    width: 100%;
    margin-top: 20px;
    flex-direction: column;
    align-items: baseline;
}

.follow {
    flex-direction: row;
    justify-content: flex-start;
}

.follow h2 {
    cursor: default;
}

.follow img {
    width: 31px;
    padding-right: 12px;
    transition: transform 0.2s ease;
}

.follow img:hover {
    /* transform: rotate(10deg); */
    transform: translateY(-3px);
}

.follow a:hover {
    filter: hue-rotate(180deg);
    -webkit-filter: hue-rotate(180deg);
}

.footer-links h3 {
    font-size: calc(0.6em + 0.4vw);
    font-weight: 400;
    letter-spacing: .1em;
    color: white;
    white-space: nowrap;
    display: inline-block;
}

.lower-wrapper {
    width: 100%;
    height: 50px;
    background-color: #29364F;
}

.lower-container {
    margin: 0 auto;
    border-top: 1px solid white;
    width: 90%;
    height: 50px;
    line-height: 50px;
    text-align: center;
}

.lower-container span {
    display: inline-block;
    vertical-align: middle;
}

.lower-container p {
    color: white;
    font-size: 1.2em;
}

@media (max-width: 980px) {
    .footer-logo {
        width: 30%;
    }

    .footer-logo img {
        width: 100%;
    }

    .footer-link-wrapper {
        width: 70%;
    }
}

@media (max-width: 769px) {
    footer {
        height: 100vh;
        min-height: 645px;
    }

    .footer-wrapper {
        flex-direction: column;
    }

    .footer-logo {
        height: 20%;
        width: 75%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-logo a {
        margin: 0;
    }

    .footer-logo img {
        width: 100%;
    }

    .footer-link-wrapper {
        height: 80%;
        flex-direction: column;
        justify-content: space-around;
    }

    .footer-links {
        margin-top: 20px;
        flex: auto !important;
    }

    .footer-link-child {
        align-items: center;
    }

    .footer-header h2 {
        text-align: center;
    }

    .footer-link-child h2 {
        text-align: center;
    }

    .follow {
        justify-content: center;
        width: 400px;
    }
}