
header {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    padding: 5px 0;
    z-index: 5;
    background: #1055AD;
}

.header-inner {
    display: flex;
}

.header-burger {
    display: none;
    position: relative;
    width: 35px;
    height: 25px;
}

.header-container {
    position: relative;
}

.logo {
    min-width: 205px;
    height: auto;
    background: url(/img/atf_logo_100_age.svg) no-repeat;
    background-size: contain;
}

nav * {
    color: #FFF;
}

nav {
    display: flex;
    position: relative;
    width: 100%;
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 38px 0 0 38px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    height: max-content;
}

.nav-links {
    display: flex;
    align-self: flex-start;
    justify-content: space-between;
}

.nav-link {
    padding: 0 19px 0;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
}

.nav-link:last-child {
    padding: 0;
}

.burger-line {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

.burger-line-first {
    top: 0;
}

.burger-line-second {
    top: 50%;
    transform: translateY(-50%);
}

.burger-line-third {
    bottom: 0;
}

.phone {
    color: #FFF;
    font-family: "ObjectSans-Heavy";
    font-size: 22px;
    text-transform: uppercase;
}

#burger {
    position: absolute;
}

.burger-close {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 30px;
    right: 30px;
    background: url(/img/close.svg) no-repeat;
    z-index: 999;
    background-size: contain;
    cursor: pointer;
}

.burger-nav-links {
    position: fixed;
    width: 100vw;
    top: 0;
    left: 0;
    background: white;
    display: flex;
    flex-direction: column;
}

.burger-nav-link {
    z-index: 100;
    color: black;
    text-align: center;
    padding: 0 19px 0;
    font-size: 16px;
    line-height: 40px;
    text-transform: uppercase;
    background: white;
}

.mask {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .8);
}

@media all and (max-width: 1200px) {
    .nav-link {
        font-size: 13px;
    }

    .phone {
        align-self: center;
        font-size: 20px;
    }
}

@media all and (max-width: 1024px) {
    .nav-links {
        display: none;
        position: absolute;
    }

    .nav-inner {
        padding-bottom: 23px;
    }

    #burger {
        position: relative;
        display: block;
        width: 30px;
        height: 20px;
        background: url("/img/burger.svg") no-repeat;
        background-size: contain;
        cursor: pointer;
    }

    .header-inner img {
        max-width: 107px;
        width: 100%;
        height: auto;
    }
}

@media all and (max-width: 516px) {
    .logo {
        min-width: 128px;
    }

    .nav-inner {
        margin: 10px 0 0 10px;
    }

    .phone {
        font-size: 12px;
    }
}
