#header {
    width: 100%;
    height: 90px;
    background-image: url(../assets/white-paper.jpg);
    position: fixed;
    z-index: 6000;
}

body.dark #header {
    background-image: url(../assets/paper_head.jpg);
}

.heder_divider {
    background-image: url(../assets/papdiv.png);
    position: absolute;
    width: 100%;
    height: 16px;
    bottom: -8px;
    z-index: 2;
}

body.dark .heder_divider {
    background-image: url(../assets/cut_b.png);
}

.header_wrapper {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 18px 64px 0;
}

.header_left {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.header_text {
    font-family: Evolventa Bold;
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    padding: 0 8px;
}

.header_logo {
    padding: 0 10px;
}

.header_links,
.header_ather {
    display: flex;
    gap: 16px;
}

#darkModeToggle {
    height: 28px;
    padding: 0 10px;
}

.header_links {
    justify-content: flex-start;
}

.header_ather {
    justify-content: flex-end;
    align-items: center;

}

.header_links a {
    padding: 16px 8px;
    font-family: Evolventa Bold;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: var(--primary-black);
    text-transform: uppercase;
    transition: all 0.3s ease-out;
}

body.dark .header_links a {
    color: #E7E7E7;
}

.header_links a:hover {
    color: #AA0909;
}

body.dark .header_links a:hover {
    color: #BD9C49;
}

.header_ather a {
    transition: all 0.3s ease-out;
}

.header_ather a {
    padding: 16px 8px;
    font-family: Evolventa Bold;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: var(--primary-black);
    text-transform: uppercase;
}

body.dark .header_ather a {
    color: #E7E7E7;
}

.fa-sun-o {
    background: url(../assets/light.svg) !important;
    width: 30px;
    height: 22px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transition: 0.3s ease;
}

.fa-sun-o:hover {
    filter: brightness(0) saturate(100%) invert(60%) sepia(56%) saturate(385%) hue-rotate(5deg) brightness(92%) contrast(96%);
}

.fa-moon-o:hover {
    filter: brightness(0) saturate(100%) invert(13%) sepia(94%) saturate(3859%) hue-rotate(356deg) brightness(81%) contrast(98%);
}

.fa-moon-o {
    background: url(../assets/dark.svg) !important;
    width: 30px;
    height: 22px;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    transition: 0.3s ease;
}

.fa-moon-o:before {
    content: "" !important;
}

.fa-sun-o:before {
    content: "" !important;
}

.header_ather a:hover {
    color: #AA0909;
}

body.dark .header_ather a:hover {
    color: #BD9C49;
}

.header_ather button:hover {
    transform: scale(1.01);
}

.header_logo a {
    background-image: url(../assets/logo_w.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 160px;
    height: 48px;
    transition: all 0.3s ease;
}

.header_logo a:hover {
    transform: scale(1.02);
}

body.dark .header_logo a {
    background-image: url(../assets/logo_d.png);
}

.dropdown {
    position: relative;
    display: flex;
    flex-direction: column;
}

.dropdown-content {
    position: absolute;
    top: 56px;
    left: 0px;
    z-index: 3;
    display: none;
    background: linear-gradient(249.17deg, #F4F4F4 0%, #F5F5F5 85.7%);
    min-width: 56px;
    height: fit-content;
    min-height: 82px;
    padding: 4px;
    border-radius: 12px;
    box-shadow: 0px 2px 6px 2px #00000026, 0px 1px 2px 0px #0000004D;
}

body.dark .dropdown-content {
    background: url(../assets/paper_head.jpg);
}

.dropdown-content ul {
    list-style-type: none;
    border: 1px dotted #997759;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.dropdown-content ul li a {
    padding: 0;
}

.dropdown>a::after {
    display: inline-block;
    content: "";
    margin-left: 4px;
    font-size: 24px !important;
    transition: .2s linear;
    background-image: url(../assets/arrow_drop.svg);
    width: 24px;
    height: 24px;
    filter: none;
    margin-left: 0px;
    height: 13px;
    background-position: center;
}

.dropdown>a.active::after {
    transform: rotate(180deg);
}

.dropdown>a:hover::after {
    filter: brightness(0) saturate(100%) invert(12%) sepia(68%) saturate(5294%) hue-rotate(355deg) brightness(93%) contrast(100%) !important;
}

body.dark .dropdown>a::after {
    filter: brightness(0) saturate(100%) invert(98%) sepia(10%) saturate(373%) hue-rotate(220deg) brightness(117%) contrast(81%);
}

body.dark .dropdown>a:hover::after {
    filter: brightness(0) saturate(100%) invert(66%) sepia(36%) saturate(625%) hue-rotate(5deg) brightness(89%) contrast(86%) !important;
}

.dropdown_mini {
    display: none;
}


.header_wrapper label {
    display: none;
}

.header_wrapper nav {
    display: none;
}

.header_ather .red_but {
    min-width: 245px;
}

.hide_show {
    display: none;
}

@media (max-width: 1500px) {

    #header {
        height: 72px;
    }

    .header_wrapper {
        padding: 12px 64px 0;
    }

    .header_ather a {
        font-size: 16px;
        line-height: 11px;
    }

    .header_ather {
        gap: 0px;
    }

    .header_ather {
        justify-content: flex-start;
        align-items: center;
    }

    .header_wrapper label {
        display: block;
    }

    .header_wrapper nav {
        display: block;
    }


    .header_links,
    .hide_header {
        display: none;
    }

    .dropdown_mini {
        display: block;
        font-family: Evolventa Bold;
        font-size: 18px;
        line-height: 24px;
        text-align: center;
        color: var(--primary-black);
        text-transform: uppercase;
    }

    .header_ather ul {
        display: none;
    }

    .dropdown-content li {
        margin: 4px 0;
    }

    #main-header ul li.dropdown>a.active::after {
        transform: rotate(180deg);
    }

    .header_ather .red_but {
        transform: scale(0.8);
    }

    .hide_show {
        display: block;
    }

    .super_mini {
        background: url(../assets/super_mini.png) center / cover no-repeat;
        width: 170px;
        height: 34px;
        filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.30)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.15));
        color: #EDEDED;
        font-family: Evolventa Bold;
        font-size: 14px;
        line-height: 100%;
        text-transform: uppercase;
    }
}

@media (max-width: 900px) {

    .header_logo a {
        width: 140px;
        height: 42px;
    }

    #header {
        height: 64px;
    }

    .header_wrapper {
        display: flex;
        padding: 11px 16px 0;
    }

    .header_logo {
        padding: 0;
    }

    .header_ather a {
        padding: 8px 8px;
    }

    .header_logo {
        width: 140px;
        height: 42px;
        overflow: hidden;
        margin: 0 auto;
    }

    input+label {
        top: 24px;
        right: 16px;
    }
}