footer {
    background-color: #ffffff;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
}

footer .patrocinadores {
    width: 100%;
    padding: 2em;
}

footer .patrocinadores * {
    color: darkslategray;
}

footer .patrocinadores h2 {
    font-size: 2em;
    margin: 0 0 1em 0;
}

footer .patrocinadores h3 {
    font-size: calc(1.125rem + 0.25em);
    margin: 0.5em 0 0 0;
    font-weight: 400;
    border-bottom: 1px solid var(--surface-color);
    text-align: center;
}

footer .patrocinadores ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

footer .patrocinadores>ul>li:nth-child(1) {
    font-size: 1.4em;
    flex: 1 0 100%;
}

footer .patrocinadores>ul>li:nth-child(2) {
    font-size: 1.2em;
    flex: 1 0 100%;
}

footer .patrocinadores>ul>li:nth-child(3) {
    font-size: 1.15em;
    flex: 1 0 100%;
}

footer .patrocinadores>ul>li:nth-child(4) {
    font-size: 1.1em;
    flex: 1 0 100%;
}

footer .patrocinadores>ul>li:nth-child(5) {
    font-size: 1.05em;
    flex: 1 0 100%;
}

footer .patrocinadores>ul>li:nth-child(6) {
    flex: 1 0 100%;
}

footer .patrocinadores>ul>li+li {
    font-size: 0.8em;
}

footer .patrocinadores>ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    gap: 2em;
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .patrocinadores>ul>li {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 0em;
}

footer .patrocinadores>ul ul {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 1em;
    justify-content: center;
}

footer .patrocinadores figure {
    width: 8em;
    height: 8em;
    flex: none;
}

footer .patrocinadores figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}