footer {
    --height: 120px;
    width: 100vw;
    height: var(--height);
    background-color: var(--a-color);
    color: var(--t-color);

    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 1fr;
    gap: 10px;
    box-shadow: 0px -7px 7px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

#footer-left {
    height: var(--height);
    grid-column: 1 / span 2;

    display: flex;
    justify-content: left;
    align-items: center;
    padding-left: 2vw;
}

#footer-centered {
    height: var(--height);
    grid-column: 3 / span 8;

    display: flex;
    justify-content: center;
    align-items: center;
}

#footer-right {
    height: var(--height);
    grid-column: 11 / span 2;

    display: flex;
    justify-content: right;
    align-items: center;
    padding-right: 2vw;
}

.expander {
    flex: 0 1 10vw;
    height: var(--height);
}

.footer-logo {
    height: var(--height);
}

.sponsor-logo {
    box-sizing: border-box;
    width: 350px;
    height: var(--height);
    padding: 15px 10px 10px 10px;
    object-fit: contain;
}

.footer-img-wrapper {
    flex: 0 0 auto;
    height: var(--height);
    display: flex;
    align-items: center;
}

.footer-socials {
    box-sizing: border-box;
    height: 40%;
    margin: 15px;
}

@media only screen and (max-width: 1470px) {
    .sponsor-logo {
        width: 275px;
    }

    .footer-socials {
        margin: 7px;
    }
}

@media only screen and (max-width: 1280px) {
    #footer-left {
        /* prevent unnessecary wrapping */
        grid-column: 1 / span 4
    }

    #footer-centered {
        grid-column: 5 / span 4
    }

    #footer-right {
        grid-column: 9 / span 4
    }

    .sponsor-logo {
        display: none;
    }

    .expander {
        display:none;
    }
}

@media only screen and (max-width: 780px) {
    #footer-centered {
        display: none;
    }

    #footer-left {
        /* prevent unnessacery text wrapping */
        grid-column: 1 / span 6
    }

    #footer-right {
        grid-column: 7 / span 6
    }
}