.footer-links {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding: 25px 20px 20px;
    border-top: 1px solid #000;
}

.footer-left,
.footer-right {
    display: flex;
    gap: 20px;
}

@media (max-width: 700px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-left,
    .footer-right {
        display: block;
        text-align: center;
    }

    .footer-left a,
    .footer-right a {
        display: block;
        margin: 5px 0;
    }
}

.footer-right {
    margin-top: 2px;
}

.footer-links a {
    color: #000;
    background-image: linear-gradient(#28a745, #28a745);
    background-size: 0 2px;
    background-position-y: 100%;
    background-position-x: 0;
    background-repeat: no-repeat;
    transition: background-size .4s ease-in-out;
    text-decoration: none;
    padding-bottom: 5px;
}

.footer-links a:hover,
.footer-links a:focus {
    color: #28a745;
    background-size: 100% 1px;
}