.footer {
    padding:
        var(--space-md)
        var(--page-padding);

    background: var(--bg-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: var(--space-md);

    width: min(100%, var(--container-width));
    margin-inline: auto;
}

.footer-left {
    font-size: 1.7rem;
    line-height: 1.5;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-socials a {
    position: relative;
    z-index: 1;

    display: inline-flex;
    justify-content: center;
    align-items: center;

    width: 4rem;
    height: 4rem;

    overflow: hidden;

    background: transparent;
    border: 0.2rem solid var(--main-color);
    border-radius: var(--border-radius-round);

    color: var(--main-color);
    font-size: 2rem;

    transition: color var(--transition-normal);
}

.footer-socials a:hover {
    color: var(--bg-color);
}

.footer-socials a::before {
    content: '';

    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

    width: 0;
    height: 100%;

    background: var(--main-color);

    transition: width var(--transition-normal);
}

.footer-socials a:hover::before {
    width: 100%;
}

@media (max-width: 600px) {
    .footer-content {
        justify-content: center;

        text-align: center;
    }

    .footer-left {
        width: 100%;
        font-size: var(--font-size-small);
    }

    .footer-socials {
        justify-content: center;
    }
}