footer {
    color: var(--clr-black);
    padding: 20px var(--page-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10rem;
    font-family: var(--font-family-description);
    position: relative;
}

.infoContainer{
    display: flex;
    flex-direction: row;
    width: 70%;
    justify-content: space-between;
}

.footerBackgroundImage{
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 130%;
    object-fit: cover;
}

.footer-section {
    margin: 10px 20px;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-weight: var(--font-weight-btn);
    font-style: normal;    
}

.footer-section a, .footer-section ul, .footer-section li {
    margin: 5px 0;
    list-style: none;
}

.footer-section ul {
    padding: 0;
}

footer address ul{
  display:  flex;
  margin-top: 1rem;
  flex-direction: column;
  gap: 0.2rem;
}

footer address ul li{
  list-style: none;
  display: flex;
  align-items: center
}

.footer-section a {
    color: var(--clr-black);
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-logo img {
    max-height: 7em;
    object-fit: contain;
}

footer li img{
  width: 1.3em;
  margin-right: 1ch;
}

@media screen and (max-width: 872px){
    .footer-logo{
        display: none;
    }
    .infoContainer{
        width: 100%;
        flex-wrap: wrap;
    }
}

@media screen and (min-width: 1368px){
    .footerBackgroundImage{
        object-fit: cover;
        height: 150%;
    }
    .infoContainer{
        width: 50%;
    }
}