footer {
    padding: 1rem 2rem;
    width: 100%;
    width: -moz-available;
    /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available;
    /* Mozilla-based browsers will ignore this. */
    width: fill-available;
    color: #fff;
    display: inline-block;
    margin: 3rem 0 1rem 0;
}

.footerContainer {
    width: 50%;
    float: left;
    display: flex;
    align-items: baseline;
    justify-content: space-evenly;
    flex-wrap: wrap;
    flex-direction: column;
}

nav.footerContainer a {
    border: solid;
    border-width: 0.125rem;
    border-color:rgba(255, 255, 255, 0.7);
    padding: 0.5rem;
    line-height: 1.325;
}
nav.footerContainer {
    margin: 0.75rem 0;
    width: 25%;
}

.footerContainer:has(.footerIcon) {
    width: 25%;
}

footer>nav {
    width: 100%;
    display: inline-block;
    padding-bottom: 0.75rem;
}

footer>nav>* {
    float: left;
    margin: 0.25rem 0.375rem;
    padding: 0 0.625rem;
    color: #fff;
}

footer>span {
    float: right;
    margin: 0.25rem 0.375rem;
    font-weight: lighter;
}

.footerTXT {
    border: solid;
    border-width: 0.125rem;
    border-color:rgba(255, 255, 255, 0.7);
    padding: 1rem;
    margin: 1rem;
    line-height: 1.325;
}

.footerTXT H2 {
    font-size: 1.5rem;
}

.footerTXT H3 {
    font-size: 1.25rem;
}

.footerTXT H4 {
    font-size: 1.125rem;
}

.footerTXT H5 {
    font-size: 1.25rem;
    font-weight: 400;
}

.footerTXT * {
    color: #fff!important;
}

.footerTXT h2, .footerTXT h3 ,.footerTXT h4 ,.footerTXT h5 {
    margin: 0;
}

.footerTXT a {
    text-decoration: solid;
    text-decoration-line: underline;
    text-decoration-thickness: 0.0625rem;
    text-underline-offset: 0.25rem;
}

.footerIcon {
    width: max-content;
    margin: 1rem;
    float: left;
    cursor: pointer;
}

.footerIconIMG {
    background-color: #fff;
    padding: 6px;
}

.footerNavHR {
    border-style: solid;
    border-width: 0.0625rem;
    border-color:rgba(255, 255, 255, 0.7);
    width: 50%;
}

.footerCopyright {
    width: 100%;
    float: left;
    text-align: end;
    padding: 1rem;
}

.footerIconName {
    text-align: center;
    list-style-type: none;
}

@media only screen and (max-width: 900px) {
    .footerContainer {
        width: 100%;
    }
    .footerNavHR {
        width: 100%;
    }
    nav.footerContainer {
        width: 100%;
    }
    
    .footerContainer:has(.footerIcon) {
        width: 100%;
    }
    .footerNavTXT {
        width: 100%;
        width: -moz-available;
        /* WebKit-based browsers will ignore this. */
        width: -webkit-fill-available;
        /* Mozilla-based browsers will ignore this. */
        width: fill-available;
    }
}