.header {
    width: 100%;
    height: 530px;

    background-color: #1B54C2;
    background-image:
            url(../img/header-bg-left.svg),
            url(../img/phones-desktop.png),
            url(../img/header-bg-right.svg);
    background-position: left top, right bottom, right top;
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-size: auto, 595px, auto;
}

.header__content {
    max-width: 1120px;
    margin: 0 auto;
    padding-top: 20px;
    box-sizing: border-box;
}

.header__top-block {
    width: 100%;
    margin-bottom: 88px;
    display: grid;
    grid-template-columns: 113px 1fr 1fr;
}

.header__top-block .logo {
    align-items: center;
    display: flex;
}

.header__top-block .menu {
    margin: 0 auto;
    list-style: none;
    display: flex;
    align-items: center;
}

.header__top-block .menu li:first-child {
    margin-left: 68px;
}

.header__top-block .menu li {
    margin-left: 32px;
    font-size: 16px;
    line-height: 24px;
    color: #FFFFFF;
}

.header p {
    white-space: pre-line;
    margin-bottom: 48px;
}

.header .burger {
    display: none;
}

.header .auth {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    min-width: max-content;
}

.header .auth .button,
.header .auth h4 {
    margin-right: 16px;
}

.header .auth .button:last-child {
    margin-right: 0;
}

.header .auth i {
    margin-right: 8px;
}

@media (max-width: 1184px) {
    .header {
        background-position: left top, calc(100% + 150px) top, right top;
    }

    .header__content {
        margin: 0 32px;
        max-width: 100%;
    }
}

@media (max-width: 1060px) {
    .header {
        background-position: left top, calc(100% + 250px) top, right top;
    }
}

@media (max-width: 940px) {
    .header {
        height: auto;
        background-image:
                url(../img/header-bg-left-mobile.svg),
                url(../img/phone-mobile.png),
                url(../img/header-bg-right-mobile.svg);
        background-position: left top, center bottom, right bottom;
        background-size: auto, 290px, auto;
    }

    .header__content {
        margin: 0 16px;
        max-width: 100%;
    }

    .header .auth,
    .header .button {
        display: none;
    }

    .header__top-block {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 24px;
    }

    .header__top-block .menu {
        display: none;
    }

    .header .burger {
        display: block;
    }

    .header p {
        white-space: initial;
        padding-bottom: 316px;
        margin-bottom: 0;
    }
}
