footer {
    position: relative;
    display: block;
    color: var(--white);
    background: var(--black);
    border-top: 2px solid var(--light-gray);
    font-weight: 400;
    font-family: "Montserrat", Sans-serif;
}

footer h3 {
    font-size: 1.25rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "brandon-grotesque", Sans-serif;
    margin: 0 0 2rem 0;
}

footer h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: "brandon-grotesque", Sans-serif;
    margin: 6px 0 1em 0;
}

footer h4 > svg {
    margin: 0 .5rem 0 0;
}

footer a {
    color: var(--secondary-color);
    font-weight: 400;
}

footer strong {
    font-weight: 900;
}

footer > .footerMain {
    padding: 4rem 0;
    overflow: hidden;
}

footer > .footerMain > article {
    position: relative;
    display: flex;
    flex-direction: column;
}

footer .insta,
footer .fb {
    height: 24px;
    width: 24px;
}

footer .insta:before,
footer .fb:before {
    content: '';
    position: relative;
    display: inline-block;
    height: 24px;
    width: 24px;
    min-width: 24px;
    background: var(--white);
    -webkit-mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/instagram.svg);
    mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/instagram.svg);

}

footer .fb:before {
    -webkit-mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/facebook.svg);
    mask-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/facebook.svg);
}

footer > .footerMain > article.contact {
    flex-direction: row;
    align-items: end;
}

footer > .footerMain > article.contact .socialMedia {
    position: relative;
    display: block;
    margin: 1rem 0 0 0;
}

footer > .footerMain > article.contact .socialMedia > a {
    position: relative;
    display: inline-block;
    margin: 0 1rem 0 0;
}

footer > .footerMain > article.contact .socialMedia > a:last-child {
    margin: 0;
}

footer > .footerMain > article > section {
    border-bottom: var(--box-border);
    margin: 1rem 0 0 0;
    padding: 0 0 1.25rem 0;
}

footer > .footerMain > article.contact > section {
    border: none;
    margin: 1rem 0 auto 0;
    padding: 0 1rem 1.25rem 1rem;
}

footer > .footerMain > article > section .phone {
    font-size: 2rem;
    font-weight: 700;
    white-space: nowrap;
}

footer > .footerMain > article > section .phone:before {
    content: '';
    position: relative;
    display: inline-block;
    height: 28px;
    width: 28px;
    background-image: url(https://mediagroup-central.s3.eu-central-1.amazonaws.com/images/icons/phone-alt-solid.svg);
    margin: 0 .5rem 0 0;
}

footer > .footerMain > article > section > p {
    line-height: 2em;
    margin: 0;
    font-size: 1rem;
}

footer > .footerMain > article > section > img {
    position: relative;
    display: block;
    width: 100%;
    max-width: 140px;
    margin: 1.25em 0 0 0;
}

footer > .footerBottom {
    position: relative;
    display: inline-block;
    width: 100%;
    background: var(--white);
    text-align: center;
    padding: 2em 1.25em;
    border-top: 2px solid var(--light-gray);
}

footer ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

footer ul > li {
    position: relative;
    display: block;
    padding: .4em;
}

footer ul > li:before {
    position: relative;
    display: inline-block;
    content: '';
    background: var(--secondary-color);
    width: 8px;
    height: 8px;
    top: -.125rem;
    margin: 0 .5rem 0 0;
    border-radius: 50%;
}

footer ul > li > a {
    font-weight: 400;
    color: var(--white);
}

footer ul > li > a:hover {
    color: var(--secondary-color);
}

footer > .footerBottom > span {
    line-height: 1.5em;
}

footer > .footerBottom > span.small {
    font-size: .8em;
}

footer > .footerMain m-button {
    margin: .5rem -1rem 2rem 0;
}

@media (min-width: 768px) {
    footer > .footerMain {
        max-width: var(--max-content-width);
        margin: 0 auto;
        overflow: initial;
        left: 2rem;
        position: relative;
        padding: 70px 0;
    }

    footer > .footerMain > article {
        display: inline-flex;
        flex-direction: row;
        width: 66%;
    }

    footer > .footerMain > article.contact {
        width: 33%;
        justify-content: space-around;
    }

    footer > .footerMain > article.contact:last-of-type {
        top: 3.7rem;
    }

    footer > .footerMain > article > section {
        border-bottom: none;
        border-right: var(--box-border);
        margin: 0 2em 2em 0;
        padding: 0 2em 0 0;
    }

    footer > .footerMain > article.contact > section {
        border: none;
        margin: 0 0 auto 0;
        padding: 0 0 1rem 1rem;
    }

    footer > .footerMain > article > section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    footer a:hover {
        color: var(--white);
        transition: color .3s;
    }

    footer > .footerMain > article > section > img {
        max-width: 280px;
        margin: -5em 0 0 0;
    }

    footer > .footerMain > article > section .phone {
        font-size: 1.5em;
    }

    footer > .footerMain > article > section .phone:before {
        height: 20px;
        width: 20px;
    }

    footer h3 {
        margin: 0 0 2rem -2rem;
    }

    footer h4 {
        margin: 6px 0 1em -2rem;
    }

    footer ul {
        margin: 0 0 1rem -2rem;
    }

    footer > .footerMain m-button {
        margin: .5rem 0 2rem 0;
    }

}

@media (min-width: 1400px) {


    footer > .footerMain > article > section .phone {
        font-size: 2em;
    }

    footer > .footerMain > article > section .phone:before {
        height: 26px;
        width: 26px;
    }
}

@media (max-width: 320px) {
    footer > .footerMain > article > section > img {
        display: none;
    }
}