
footer {
    background-color: #272727;
    --color: #FFF;
    color: var(--color);
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#footer-section-container {
    /* width: 100%; */
    --max-width: 1256px;
    max-width: var(--max-width);
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #707070;
    --padding-vertical: 60px;
    padding-top: var(--padding-vertical);
}

footer section {
    color: #ADADAD;
    display: flex;
    flex-direction: column;
    /* flex: 1; */
    margin: 0 170px var(--padding-vertical) 0;
}

footer section:last-child {
    margin-right: 0;
}

footer section>*:not(:last-child) {
    margin-bottom: 35px;
}

footer section:last-child>* {
    margin-bottom: 22px;
}

footer section>div {
    font-weight: bold;
    font-size: 22px;
    /* font: normal normal bold 22px/97px var(--font-family); */
    letter-spacing: .44px;
}

footer section:last-child>div {
    font-size: 16px;
    /* font: normal normal medium 16px/18px var(--font-family); */
}

footer section>div.new-div {
    display: flex;
    /* justify-content: space-between; */
}

footer section>div.new-div>a {
    margin-right: 1rem;
}

footer a {
    color: var(--color)!important;
    font-weight: bold;
    font-size: 16px;
    /* font: normal normal bold 16px/97px var(--font-family); */
    letter-spacing: .32px;
}


footer>div:last-child {
    margin: 25px 0 60px 0;
    letter-spacing: .36px;
    padding: 0 1rem;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    font-family: var(--font-family);
}

@media (max-width: 1119px) {
    #footer-section-container {
        --max-width: 70%;
        flex-wrap: wrap;
        /* margin: 0 1rem; */
        justify-content: unset;
    }

    footer section {
        margin-right: 0;
        flex: 1 1 50%;
    }
}

@media (max-width: 984px) {
    #footer-section-container {
        --max-width: 80%;
    }
}

@media (max-width: 860px) {
    #footer-section-container {
        --max-width: 90%;
    }
}

@media (max-width: 766px) {
    #footer-section-container {
        --max-width: calc(100% - 4rem);
    }
}

@media (max-width: 500px) {
    footer section {
        --second-column-width: 234px;
    }

    footer section:nth-child(odd) {
        flex-basis: calc(100% - var(--second-column-width));
    }

    footer section:nth-child(even) {
        min-width: var(--second-column-width);
    }
}

@media (max-width: 432px) {
    footer section {
        flex-basis: 100% !important;
        min-width: unset !important;
    }
}



.back-to-top {
    position: fixed;
    bottom: calc(env(safe-area-inset-bottom) + 9px);
    right: calc(env(safe-area-inset-bottom) + 9px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    --size: 61px;
    width: var(--size);
    height: var(--size);
    background: transparent linear-gradient(152deg, #391BFD 0%, #942FA7 67%, #5D2C9B 100%) 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px #00000081;
    border: 1px solid #FFFFFF;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0px;
    color: #FFFFFF;
    transition: all .25s ease-in-out;
    z-index: 2;
}

.back-to-top:hover,
.back-to-top:focus {
    transform: scale(1.1);
}

.back-to-top>.arrow {
    border: solid #FFF;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 8px;
    transform: rotate(-135deg);

    margin-top: 2px;
}

.back-to-top>.text {
    width: 46px;
    /* margin-top: -4px; */
    margin-top: -8px;
}

html[lang="zh-HK"] .back-to-top>.text,
html[lang="zh-hk"] .back-to-top>.text {
    width: 40px;
}

.back-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px #4e85c0;
}