/* 
-----------------------------------------
FOOTER
-----------------------------------------
*/
 
footer {
    background-color: var(--primary-color);
    position: relative;
}

footer h2,
footer p,
footer li,
footer a,
footer a:link {
    color: var(--text-white);
    text-decoration: none;
}

footer p,
footer li,
footer a {
    font-size: 1rem;
    text-decoration: none;
    font-weight: 300;
}

footer a:hover {
    color: var(--neutral-color-100);
}

footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

@media screen and (min-width: 768px) {

    footer ul {
        margin-bottom: 1rem;
    }
}

footer ul:last-child {
    margin-bottom: 0;
}

footer ul li {
    line-height: 1.4;
}

footer ul li svg {
    width: 1em;
    margin-right: 0.375em;
}

footer ul li + li {
    margin-top: 0.5rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.footer-top > div {
    flex-basis: 100%;
    padding: 0;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {

    .footer-top > div {
        flex-basis: calc(50% - 1.5rem);
    }
}

@media (min-width: 1200px) {

    .footer-top > div {
        flex-basis: calc(25% - 1.5rem);        
    }
}

@media (min-width: 1700px) {

    .footer-top > div {
        margin-bottom: 3rem;
    }
}

footer h2.h3 {
    border-top: 1px solid var(--text-white);
    padding-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-bottom-row {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--text-white);
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
}

.footer-bottom-row > div {
    flex: 0 0 100%;
}

@media screen and (min-width: 768px) {

    .footer-bottom-row > div {
        flex: 0 0 calc(50% - 1rem);
    }
}

.footer-bottom-row p,
.footer-bottom-row a {
    font-size: 0.875rem;
}

ul.footer-bottom-links-list {
    display: flex;
    flex-direction: column;
}

ul.footer-links-list li + li {
    margin-top: 1rem;
}


@media screen and (min-width: 768px) {

    ul.footer-bottom-links-list {
        justify-content: flex-end;
        flex-direction: row;
        gap: 2rem;
    }
}

.sm-icons {
    display: flex;
    gap: 0.625rem;
    margin-top: 1.5rem;
}

.sm-icons a {
    display: inline-flex;
    font-size: 2rem;
    justify-content: center;
    align-items: center;
}

.footer-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.footer-background-image img {
    position: absolute;
    bottom:0;
    right: 0;
    width: 100%;
    opacity: 0.15;
}

@media screen and (min-width: 768px) {

    .footer-background-image img {
        right: 0;
        width: 70%;
    }
}

@media screen and (min-width: 1200px) {

    .footer-background-image img {
        right: 0;
        width: unset;
        height: 100%;
    }
}