a {
    all: unset;
}

header>ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header {
    z-index: 100;
    margin: 0;
    top: 0;
    left: 0;
    position: fixed;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: start;
    width: 100%;
    height: max-content;
    padding: 30px;
    box-sizing: border-box;
    pointer-events: none;
    transition: transform 0.5s ease-in-out;
}

h2 {
    all: unset;
}

header * {
    pointer-events: auto;
}

header.hidden {
    transform: translateY(-100%);
}

.hb{
    display: flex;
    justify-content: start;
    flex-direction: column;
    align-items: start;
    width: max-content;
    height: max-content;
    pointer-events: auto;
}

.hb>li {
    margin: 0 0 3px 0;
    padding: 0;
    width: max-content;
    height: max-content;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: start;
    flex-wrap: nowrap;
    cursor: pointer;
}

.hb>li>a {
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    border-radius: 25px;
    border: 2px solid #F5E9CE;
    background: linear-gradient(90deg, #BC2D29 0%, #450E14 100%);
    /*box-sizing: border-box;*/
    overflow: hidden;
    transition-duration: 300ms;
    transition-timing-function: ease-in-out;
}

/*.hb>li>a:hover {*/
/*    width: max-content;*/
/*}*/

.hb>li>a>div {
    margin: 0;
    padding: 0;
    width: max-content;
    height: max-content;
}

.hb-logo {
    display: flex;
    width: 40px;
    height: 40px;
    padding: 10px!important;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
    border: 2px solid #F5E9CE;
    background: #450E14;
    margin: 0 10px 0 -2px!important;
}

.hb-logo-text {
    color: #F5E9CE;
    font-family: Geologica, sans-serif;
    font-size: 15px;
    font-style: normal;
    line-height: normal;
    margin-right: 15px!important;
    text-wrap: nowrap;
    font-weight: 450;
}

#hlang {
    display: flex;
    justify-content: start;
    flex-direction: row;
    column-gap: 5px;
    align-items: center;
    width: 79px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 25px;
    border: 2px solid #F5E9CE;
    background: #FFA102;
    padding: 5px!important;
    box-sizing: border-box;
    pointer-events: auto;
}

#hlang>li {
    margin: 0;
    padding: 0;
    cursor: pointer;
}

#hlang>li>a {
    margin: 0;
    display: flex;
    width: 30px;
    height: 30px;
    /*padding: 3px;*/
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

#hlang-current {
    background: #F5E9CE;
}

#hlang-inactive {
    background: none;
}

.hlang-current>a {
}

#hlang>li>a>img {
    width: 24px;
    height: 24px;
}


@media (max-width: 500px) {
    .hb-email, .hb-phone, .hb-tg, .s-greeting-scroll {
        display: none!important;
    }

    header {
        padding: 25px;
    }
}