.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 52px;
}

.header .header__date {
    font-family: Rubik;
    font-size: 28px;
    font-weight: 500;
    line-height: 33.6px;
    text-align: center;
    text-underline-position: from-font;
    text-decoration-skip-ink: none;
    padding: 11px 18.5px;
    border: 1px solid #7BE6E6;
    border-radius: 11px;
}

.header .header__link {
    display: flex;
}

.header .header__img {
    height: auto;
}

.header .header__nf {
    width: 145px;
}

.header .header__roistat img {
    width: 123px;
}

@media screen and (max-width: 980px) {
    .header .header__date {
        font-size: 24px;
        line-height: 28.8px;
        padding: 11px 26px;
    }

    .header {
        padding-top: 32px;
    }
}

@media screen and (max-width: 750px) {
    .header {
        padding-top: 16px;
    }

    .header {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .header .header__nf {
        width: 106px;
        grid-column: 1;
        grid-row: 1;
    }

    .header .header__roistat {
        width: 92px;
        grid-column: 2;
        grid-row: 1;
        margin-left: auto;
    }

    .header .header__date {
        margin: 0 auto;
        margin-top: 36.18px;
        grid-column: 1/3;
        font-size: 20px;
        line-height: 24px;
        padding: 11px 44px;
    }
}
