
footer {
    width: 100%;
    padding: 2.5em;
    box-sizing: border-box;

    background-color: var(--bcg-first-color);
    border-top: 4px solid var(--box-border-1);
    color: var(--font-color-1);
}

/* Partie supérieure */

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2em;
    padding-bottom: 2em;
}

.footer-logo img {
    width: 120px;
    height: auto;
}

.footer-column h2 {
    font-size: 0.95em;
    margin: 0 0 1.5em;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 0.35em;
}

.footer-column a {
    color: inherit;
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

/* Partie inférieure */

.footer-bottom {
    border-top: 2px solid var(--box-border-1);

    padding-top: 1.5em;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1em;
}



.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 68px;
    height: 68px;

    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;

    transition: background-color 0.2s ease,
                border-color 0.2s ease;
}

/* IMAGES */

.footer-socials {
    display: flex;
    gap: 0.6em;
}

.footer-socials img {
    display: block;
    width: 42px;
    height: 42px;
}


.footer-copyright {
    text-align: right;
    font-size: 0.75em;
}

.footer-copyright p {
    margin: 0.2em 0;
}

/* Responsive */

@media screen and (max-width: 650px) {

    footer {
        padding: 2em 1.5em;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2em 1em;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-wrap: wrap;
    }

    .footer-copyright {
        width: 100%;
        text-align: left;
    }
}

@media screen and (max-width: 350px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        grid-column: auto;
    }
}
