@font-face {
    font-family: 'ru_Century Gothic';
    src: url('ofont.ru_Century Gothic.ttf') format('truetype');
}

.march_8__body {
    margin-top: 80px !important;
}

.march_8__container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    z-index: 1000;
    background: #318ef7 url('background_desktop.jpg') no-repeat;
    background-position: center;
    background-size: cover;
}

.march_8__close {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    color: white;
    padding-right: 8px;
    font-size: 18px;
    font-weight: bold;
}

.march_8__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    max-width: 1100px;
    margin: auto;
    height: 80px;

    background: url('picture_desktop.png') no-repeat;
    background-position: center;

    color: white;
    font-family: 'ru_Century Gothic';
    font-size: 47px;
    line-height: normal;
    font-weight: bold;
}

@media (max-width: 750px) {
    .march_8__body {
        margin-top: 60px !important;
    }

    .march_8__container {
        height: 60px;
        background: #318ef7 url('background_mobile.jpg') no-repeat;
        background-size: cover;
    }

    .march_8__content {
        background: url('picture_mobile_left.png'), url('picture_mobile_right.png');
        background-position: left, right;
        background-repeat: no-repeat;
        height: 60px;
        row-gap: 2px;
    }

    .march_8__content__variant_1 {
        font-size: 33px !important;
    }


    .march_8__content__variant_2 {
        font-size: 27px !important;
    }

}

@media (max-width: 640px) {
    .march_8__content__variant_1 {
        font-size: 30px !important;
    }

    .march_8__content__variant_2 {
        font-size: 24px !important;
    }
}

@media (max-width: 600px) {
    .march_8__content__variant_1 {
        font-size: 25px !important;
    }

    .march_8__content__variant_2 {
        font-size: 20px !important;
    }
}

@media (max-width: 550px) {
    .march_8__content {
        background-position: -30px, calc(100% + 30px);
    }
}

@media (max-width: 480px) {
    .march_8__content {
        background-position: -60px, calc(100% + 60px);
    }

    .march_8__content__variant_1 {
        font-size: 23px !important;
    }

}

@media (max-width: 415px) {
    .march_8__content {
        background-position: -70px, calc(100% + 70px);
    }

    .march_8__content__variant_2 {
        font-size: 18px !important;
    }
}
