section.footer {
    background-color: #DE3558;
    text-align: center;
    color: white;
    position: relative;
    padding: 2rem 0rem 5rem 0rem;
    z-index: 7;
}
section.footer .innerSection {
    position: relative;
    width: 100%;
    max-width: 1100px;
    height: 100%;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    z-index: 5;
}
.footerLinks {
    display: flex;
    width: 100%;
    position: relative;
    justify-content: space-between;
    flex-direction: row;
}
.footerLogos {
    display: flex;
    flex-direction: column;
    width: 22%;
    padding: 1.5%;
}
.swinttFooterLogo {
    max-width: 120px;
}
.socialMedia {
    display: flex;
    flex-direction: row;
    width: 70%;
    max-width: 7rem;
    padding-top: 10%;
}
.socialMediaLink {
    width: 23%;
    padding: 10%;
}
.socialMediaImage {
    max-width: 17px;
    max-height: 17px;
}
.authorityLogos {
    display: flex;
    flex-direction: row;
    width: 47%;
    padding: 1.5%;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    left: -4%;
    position: relative;
}
.authorityLink {
    width: 22%;
    padding: 5%;
    align-self: center;
}
.authorityLogo {
    width: 100%;
}
.policyLinks {
    display: flex;
    width: 22%;
    padding: 1.5%;
    justify-content: center;
}
.policyElements {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 100%;
    overflow: visible;
    text-align: left;
}
.policyLink {
    width: 100%;
    padding: 2%;
    white-space: nowrap;
    text-decoration: none;
    color: white;
    font-size: 90%;
}
.policyLink:hover {
    text-decoration: underline;
}
section.footer .environment {
    display: block;
}
section.footer .copyrights {
    display: block;
}
.footerInfoSection {
    padding-top: 1vw;
    font-size: 90%;
    display: flex;
    justify-content: center;
}
.footerInfo {
    overflow: visible;
    white-space: pre-line;
}
.copyrights p {
    margin-bottom: 0;
}
.uwejjaFooterLogo {
    height: 1rem;
    top: 0.25rem;
    position: relative;
}

/* MEDIA QUERIES */

@media screen and (max-width: 980px) {
    section.footer .innerSection {
        width: 70%;
    }
}

@media screen and (max-width: 805px) {
    section.footer .innerSection {
        width: 60%;
    }
}

@media screen and (max-width: 630px) {
    .authorityLogos {
        width: 100%;
    }
    .authorityLink {
        width: 23%;
    }
    .policyLogoImg {
        width: 6rem !important;
        align-self: flex-start;
    }
    section.footer .innerSection {
        width: 50%;
    }
    .footerInfoSection {
        font-size: 80%;
    }
    .copyrights p {
        font-size: 90%;
    }
    .policyLink {
        font-size: 80%;
        width: fit-content;
        padding-bottom: 0px;
    }
    .footerLogos {
        margin: auto;
        align-items: center;
    }
}

@media screen and (max-width: 455px) {
    .footerLinks {
        flex-wrap: wrap;
    }
    .footerLogos {
        width: 34.5%;
    }
    .policyLinks {
        width: 100%;
    }
    .policyElements {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .policyLogoImg {
        position: relative;
        top: -2.3vw;
    }
}

@media screen and (max-width: 368px) {
    
}