#header {
    position: fixed;
    width: 100%;
    padding: 25px 16px 0;
    z-index: 100;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#header.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.header_wrapper {
    max-width: 1792px;
    height: 73px;
    margin: 0 auto;
    padding: 8px 16px;
    align-items: center;
    border-radius: 64px;
    position: relative;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.liquidGlass-effect {
    position: absolute;
    z-index: 0;
    inset: 0;
    backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    overflow: hidden;
    isolation: isolate;
}

.liquidGlass-tint {
    z-index: 1;
    position: absolute;
    inset: 0;
    background: #ffffff99;
    border-radius: 64px;
}

.liquidGlass-shine {
    border-radius: 64px;
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow: hidden;
    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
}

.liquidGlass-text {
    z-index: 3;
    font-size: 2rem;
    color: black;
}

.dropdown {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header_ather {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.header_ather * {
    color: #12161D;
    font-family: 'Inter';
    font-size: 18px;
    line-height: 32px;
}

.dropdown::after {
    display: inline-block;
    content: "";
    margin-left: 4px;
    font-size: 24px !important;
    transition: .2s linear;
    background-image: url(../assets/arrow_drop.svg);
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    filter: none;
}

.header_logo {
    padding: 10px;
    z-index: 10;
}

.header_logo a {
    background-image: url(../assets/logo.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 161px;
    height: 48px;
    transition: all 0.3s ease;
    margin-top: 6px;
}

.header_logo a:hover {
    color: #515151;
}

.online_servers span {
    color: #4C8DF5;
}

.burgernav.online_servers {
    justify-content: flex-start;
    gap: 16px;
}

.burger_menu {
    display: none;
}

#burger {
    visibility: hidden;
    display: none;
}

.header_wrapper nav {
    display: none;
}

.header_wrapper label {
    display: none;
}

.header_links {
    display: flex;
    flex-direction: row;
    gap: 32px;
    z-index: 10;
    align-items: center;
    padding: 0 0 0 16px;
}

.header_links a {
    font-size: 18px;
    line-height: 24px;
    padding: 16px 8px;
    text-align: center;
}

.dropdown-content {
    position: absolute;
    top: 56px;
    left: 0px;
    z-index: 3;
    display: none;
    background: #ffffffd1;
    min-width: 56px;
    height: fit-content;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D;
}

.dropdown.active::after {
    transform: rotate(180deg);
}

.dropdown-content ul li {
    text-align: left;
    white-space: nowrap;
}

.red_but {
    display: flex;
    padding: 12px 32px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    border-radius: 52px;
    border: 2px solid #FF001E;
    background: linear-gradient(180deg, #FF001E 0%, #C60017 100%), #F03;
    color: #FFF;
    text-align: center;
    font-family: 'Inter';
    font-size: 18px;
    line-height: normal;
    letter-spacing: 0.54px;
    text-transform: uppercase;
    cursor: pointer;
}

.red_but:hover {
    background: linear-gradient(0deg, #FF9D00 0%, #C66300 100%);
    border: 2px solid #FF9D00;
}

.burger_menu li {
    width: 100%;
}

.burgernav {
    display: flex;
    padding: 16px 24px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-radius: 18px;
    border: 1px solid #FFF;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, #FFF 100%);
}

@media (max-width: 1400px) {

    input:checked+label span:first-child {
        opacity: 1;
        transform: rotate(405deg);
    }

    input:checked+label span:last-child {
        opacity: 1;
        transform: rotate(-405deg);
    }

    input~nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0px;
        z-index: 2;
        transition: 0.3s;
        transition-delay: 0.3s;
        overflow: hidden;
    }

    .header_wrapper nav {
        display: block;
    }

    input:checked~nav {
        height: 100vh;
        transition-delay: 0s;
    }

    input+label span {
        position: absolute;
        width: 24px;
        height: 2px;
        top: 50%;
        margin-top: -1px;
        left: 0;
        display: block;
        background: #080808;
        transition: 0.5s;
    }

    input+label span:first-child {
        top: 2px;
    }

    input+label span:last-child {
        top: 16px;
    }

    input:checked+label span {
        opacity: 0;
        top: 50%;
    }

    .header_ather {
        order: 1;
        justify-content: flex-start;
        align-items: center;
    }

    input+label {
        position: absolute;
        top: 22px;
        right: 40px;
        height: 18px;
        width: 27px;
        z-index: 5;
    }

    .header_logo a {
        width: 124px;
        height: 43px;
    }

    .header_wrapper label {
        display: block;
    }

    .enter {
        display: block;
    }

    .header_logo {
        display: block;
        order: 2;
    }

    .center_nav {
        margin: 0 auto !important;
    }

    .header_wrapper {
        max-width: 1920px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 64px 0;
        height: 62px;
        flex-direction: row;
        gap: 32px;
    }

    .hide_header {
        display: none;
    }

    #header {
        position: fixed;
    }

    #burger {
        display: block;
        order: 3;
    }

    .burger_menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        width: 100%;
        padding: 24px 32px;
        top: 70px;
        z-index: 2;
        align-items: center;
        left: 0;
        gap: 16px;
        backdrop-filter: blur(4px);
        border-radius: 28px;
        background: rgba(255, 255, 255, 0.64);
        font-size: 18px;
        line-height: 24px;
        text-align: center;
        height: calc(100dvh - 96px);
        list-style-type: none;
        justify-content: space-between;
    }

    .burger_menu li {
        display: flex;
        flex-direction: column;
    }

    .burger_menu a {
        transition: all 0.3s ease;
    }

    .burger_menu a:hover {
        color: #AA0909;
    }

    .burgernav {
        margin: 0;
    }

    input~nav>ul>li {
        opacity: 0;
        transition: 0.3s;
        transition-delay: 0s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    input:checked~nav>ul>li {
        opacity: 1;
        transition-delay: 0.3s;
    }

}

@media (max-width: 500px) {
    .header_wrapper {
        padding: 0 32px;
    }

    input+label {
        top: 22px;
        right: 24px;
    }

    .header_logo {
        padding: 0px;
        z-index: 10;
    }

    .header_wrapper {
        padding: 0 16px;
        gap: 16px
    }
}