.header-banner {
    height: 138px;
    margin-bottom: 20px;
    transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, margin 0.5s ease;
}
.header-banner.hidden{
    opacity: 0;
    transform: translateY(-100px);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.tm-banner {
    position: relative;
    height: 138px;
    max-height: 138px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(133deg, #e95a0c 0%, #131312 50.5%);
    color: white;
    padding: 2px 80px;
    font-family: tt severs, sans-serif;
    overflow: hidden;

    border: 2px solid rgba(233, 90, 12, 0.5);
    border-radius: 24px;
    box-shadow: 4px 4px 16px 0 rgba(255, 255, 255, 0.25);
    background: linear-gradient(135deg, #000 0%, #2c2c2c 100%);
    transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease, margin 0.5s ease;

}

.tm-banner.hidden {
    opacity: 0;
    transform: translateY(-100px);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.section__header-decoration_red-banner {
    width: 388px;
    height: 388px;
    top: 0;
    left: 405px;
    background: #E20714;
}

.tm-banner-max-width-wrapper {
    max-width: 1170px;
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tm-banner-max-width {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tm-banner-left {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.tm-banner-left__logo {
    font-size: 40px;
    max-width: 190px;
    font-weight: 600;
    font-family: monospace;
    line-height: 40px;
}

.tm-banner-left__vertical-line {
    border: 1px solid #fff;
    width: 71px;
    height: 0px;
    transform: rotate(-90deg);
}

.tm-banner-left__about {
    max-width: 130px;
    font-weight: 700;
    font-size: 16px;
    background: linear-gradient(90deg, #f2ab63 0%, #fff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tm-banner-right {
    display: flex;
    align-items: center;
    gap: 80px;
}

.tm-banner-right-inner {
    display: grid;
    justify-items: center;
    gap: 4px;
}

.tm-banner-right-inner img:first-child {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 20px;
    padding: 10px 30px;
    width: 128px;
    height: 39px;
    background-color: #e20714;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.tm-banner-text {
    font-weight: 400;
    font-size: 12px;
    text-align: center;
    color: #fff;
}

.tm-banner-gif {
    width: 282px;
    height: 176px;
    mix-blend-mode: lighten;
}

.tm-banner-close {
    position: absolute;
    top: 8px;
    right: 16px;
    cursor: pointer;
    padding: 10px;
    z-index: 1;
}

@media screen and (max-width: 1380px) {
    .header-banner {
        height: 100px;
    }
    .tm-banner {
        padding: 20px !important;
        height: 100px;
        max-height: 100px;
    }

    .tm-banner-left {
        display: grid !important;
        gap: 10px !important;
        width: min-content !important;
    }

    .tm-banner-left__logo {
        font-size: 26px !important;
        max-width: 176px !important;
        line-height: 26px !important;
    }

    .tm-banner-left__vertical-line {
        display: none;
    }

    .tm-banner-left__about {
        display: none;
    }

    .tm-banner-max-width {
        margin-right: 20px !important;
    }

    .tm-banner-button {
        font-weight: 400 !important;
        font-size: 14px !important;
        padding: 5px 20px !important;
        width: 99px !important;
        height: auto !important;
    }

    .tm-banner-close {
        top: 5px !important;
        right: 5px !important;
    }
}

@media screen and (max-width: 980px) {
    .tm-banner-gif {
        display: none !important;
    }
}