.footer {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    background-color: #000;
    margin-top: auto;
}

.footer__line {
    height: 1px;
    border-bottom: 1px solid #E6EBF0;
    margin-top: 24px;
    margin-bottom: 16px;
}

.footer__logo-wrapper {
    display: flex;
    flex-direction: column;
}

.footer__logo img {
    width: 150px;
}

.footer__top-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer__bottom-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer__top-wrapper__text {
    font-size: 12px;
    font-weight: 400;
    color: #E6EBF0;
    margin-top: 8px;
}

.footer__nav-list {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-right: 24px;
}

.footer__nav-sublist {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__nav-sublist__item {
    color:  #E6EBF0;
    font-size: 14px;
    
    line-height: 18px;
}

.footer__nav-sublist__item:hover {
    color: #cacccd;
}

.footer__nav-list__item-header {
    color: #E6EBF0;
    font-size: 20px;
    
    line-height: 34px;
    margin-bottom: 16px;
}

.footer__copyright {
    font-size: 14px;
    font-weight: 400;
    color: #E6EBF0;
}

/* TABLET */

@media only screen and (max-width: 998px) {
    .footer__top-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .footer__nav-list__item {
        width: 50%;
    }

    .footer__nav-list {
        margin-right: 0;
    }

    .footer__bottom-wrapper {
        flex-direction: column;
    }

    .footer__logo img {
        width: 200px;
    }

    .footer__top-wrapper__text {
        font-size: 14px;
        line-height: 18px;
    }
    .footer__line {
        margin-top: 16px;
        margin-bottom: 16px;
    }
}