#footer {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 2.25rem 0;
    background-color: #1e1e28;
}

.footer-link {
    display: flex;
    align-items: center;
    margin-left: 1.25rem;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.8125rem;
    line-height: 1.125rem;
    color: #c8c8c8;
}

.footer-link:nth-child(1) {
    margin-left: 0;
}

.footer-product-link {
    margin-left: 1.25rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #c8c8c8;
}

.footer-link:hover,
.footer-product-link:hover {
    text-decoration: none;
    color: #a5a5aa;
}

.footer-link:active,
.footer-link:focus,
.footer-product-link:active,
.footer-product-link:focus {
    text-decoration: none;
    color: #8c8c91;
}

.footer-p {
    margin: 0 0 0 0.75rem;
    font-weight: normal;
    font-size: 0.8125rem;
    line-height: 1.125rem;
    color: #c8c8c8;
}

.footer-price-without-vat {
    color: #82828c;
}

/* 3. Tablet; 4. Phone horizontal */
@media (min-width: 576px) and (max-width: 991px) {
    #footer {
        gap: 1rem;
    }

    .footer-link {
        margin-left: 0;
        margin-bottom: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
    }

    .footer-product-link {
        margin-left: 0;
        margin-bottom: 0.75rem;
    }

    .footer-p {
        margin: 0 0 0 0.625rem;
        font-size: 0.875rem;
    }
}

/* 5. Phone vertical */
@media (min-width: 0px) and (max-width: 575px) {
    #footer {
        gap: 1rem;
    }

    .footer-link {
        margin-left: 0;
        margin-bottom: 0.75rem;
        font-size: 0.875rem;
        line-height: 1.125rem;
    }

    .footer-product-link {
        margin-left: 0;
        margin-bottom: 0.75rem;
    }

    .footer-p {
        margin: 0 0 0 0.5rem;
        font-size: 0.75rem;
    }

    .footer-price-without-vat {
        font-size: 0.625rem;
    }
}

