.footer {
    background-color: var(--blue-warm-vivid-90);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.footer__container {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem 10rem 2.5rem 10rem;
    gap: 4rem;
}

.footer__nav {
    display: flex;
    width: 100%;
    gap: 2rem;
}

.footer__sections{
    display: flex;
    width: 100%;
    gap: 2rem;
}


.footer__logo {
    opacity: 0.9;
}

.footer__logo:hover{
    opacity: 1;
}

.footer__max-width {
    max-width: 16rem;
}

.footer__list-container{
    width: 100%;
    gap: 2rem;
    flex-grow: 1;
}

.footer__list-item{
    
    max-width: 16rem;
}

.footer__list-header {
    color: var(--pure);
    font-weight: 700;
    text-transform: uppercase;
    grid-column: 1 / 5;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer__nav .footer__list {
    font-size: var(--text-sm);
    line-height: calc(var(--text-sm) + 0.375rem);
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    grid-auto-flow: column;
    row-gap: 2rem;
}

.footer__list-header>i {
    display: none;
}

.footer__list-link {
    text-decoration: none;
    color: var(--pure);
    transition: 0.2s;
}

.footer__nav .footer__list-link {
    color: var(--blue-warm-20);
    display: inline-block;
}

.footer__list-link:hover {
    color: var(--blue-warm-vivid-40);
}

.footer__media {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.5rem;
}

.footer__list-media{
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__media .footer__list-header {
    padding: 0 ;
}

.footer__media .footer__list {
    display: flex;
    gap: 1.5rem;
}

.footer__media .footer__list-item {
    position: relative;
}

.footer__media .footer__list-link {
    display: flex;
    width: 48px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.footer__media .footer__list-link > i {
    color: var(--pure);
    font-size: var(--text-3xl);
    pointer-events: none;
}

.footer__media .footer__list-link:hover,
.footer__media .footer__list-link:active {
    background-color: rgba(89, 146, 237, 0.25);
}

.footer__divider {
    background-color: var(--pure);
    height: 2px;
    width: 100%;
}

.footer__rights {
    text-align: center;
    color: var(--pure);
    font-size: var(--text-xs);
    padding: 1.25rem;
}

.footer__list-header {
    pointer-events: none;
}


.footer__list-container .collapse {
    display: block;
}

.footer__info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.footer__info > * {
    opacity: 0.7 ;
    transition: 0.2s;
}

.footer__info > *:hover,
.footer__info > *:active {
    opacity: 1;
}

.footer__info-item {
    position: relative;
}

.footer__info-item>a {
    display: flex;
}

.footer__info-item>a>svg {
    pointer-events: none;
}

.sr-only {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    opacity: 0;
}

@media (width < 1170px) {
    .footer__container{
        padding: 2.5rem 5rem 2.5rem 5rem;
    }
    .footer__list-header {
        padding: 0.5rem;
        pointer-events: all;
    }

    .footer__sections{
        flex-direction: column;
    }

    .footer__max-width{
        max-width: 100%;
    }

    .footer__nav {
        flex-direction: column;
    }

    .footer__list-collapsible{
        padding: 2rem 1rem 0 1rem;
    }

    .footer__nav .footer__list-header {
        cursor: pointer;
    }

    .footer__nav .footer__list-header {
        border-bottom: 1px solid var(--pure);
    }

    .footer__nav .footer__list {
        display: flex;
        flex-direction: column;
    }

    .footer__list-header>i {
        display: inline-block;
    }

    .footer__list-container .collapse {
        display: none;
    }

}

@media (width < 768px) {
    .footer__media {
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 2rem;
    }
    
   .footer__list-media {
    align-items: center;
   }
    
    .footer__container{
        padding: 2.5rem 2.5rem 2.5rem 2.5rem;
    }
}