footer {
    background-color: #ffffff;
    padding-top: 1em;
    padding-bottom: 1em;
    text-align: center;
}
footer .patrocinadores {
    width: 100%;
    padding: 2em;
}

footer .patrocinadores * {
    color: var(--colibri-azul);
}

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(--color-base-surface);
    text-align: center;
}
footer .patrocinadores ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* usa o contador de itens do CSS para atribuir um tamanho de fonte diferente para cada patrocinador */

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;
}

/*
.patrocinadores h2 {
    font-size: 3em;
}
section.patrocinadores {
    background-color: #ebf4f8;
    text-align: center;
}
.patrocinadores h2 {
    margin: 0 auto;
}
.patrocinadores p {
    max-width: 60em;
    margin: 1em auto 2em auto;
}
.patrocinadores .logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 3em 1em;
    width: 80%;
    margin: 0 auto;
}
@media (max-width: 700px) {
    .patrocinadores {
        font-size: 0.75em;
    }
    .patrocinadores .logos {
        font-size: 0.75em;
    }
}
@media (max-width: 400px) {
    .patrocinadores .logos {
        font-size: 0.75em;
    }
}
@media (max-width: 350px) {
    .patrocinadores {
        font-size: 0.75em;
    }
}
.patrocinadores .logos div {
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: center;
    gap: 1em;
}
.patrocinadores img {
    max-width: 13em;
    max-height: 9em;
}
.patrocinio {
    flex: 1 0 100%;
}
.patrocinio ul {
    display: flex;
    gap: 2em;
    align-items: center;
}
body.logged:not(.home) .patrocinadores {
    font-size: 0.6em;
    text-align: center;
}
body.logged:not(.home) .patrocinadores p {
    display: none;
}
body.logged:not(.home) .patrocinadores .logos {
    font-size: 0.7em;
    display: flex;
    flex-flow: row wrap;
    gap: calc(1em + 3vw);
    justify-content: space-evenly;
    width: 80%;
}
body.logged:not(.home) .patrocinio {
    flex: none;
}
*/