#header {
    width: 100%;
    height: 90px;
    background-image: url(../assets/white-paper.jpg);
    position: fixed;
    z-index: 6;
    display: block;
}

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: 10;
}

body.dark .heder_divider {
    background-image: url(../assets/cut_b.png);
}

.header_wrapper {
    max-width: 1792px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px 0;
}

.header_links,
.header_ather {
    display: flex;
    gap: 16px;
}

.header_links {
    justify-content: flex-start;
}

.header_ather {
    justify-content: flex-end;
}

.header_links a {
    padding: 16px 8px;
    font-family: Evolventa;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: var(--primary-black);
    text-transform: uppercase;
    transition: all 0.3s ease-out;
}

.header_links a:hover {
    text-shadow: 1px 2px 1px #00000026, 1px 1px 1px #0000004D;
}

.header_ather a {
    transition: all 0.3s ease-out;
}

.header_ather a:hover {
    text-shadow: 1px 2px 1px #00000026, 1px 1px 1px #0000004D;
}

.header_ather a {
    padding: 16px 8px;
    font-family: Evolventa;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
    color: var(--primary-black);
    text-transform: uppercase;
}


.header_logo a {
    background-image: url(../assets/logo_w.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    width: 191px;
    height: 57px;
    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);
}

.header_logo_mini {
    display: none;
}

.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%);
    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;
}

.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;
}

.dropdown-content ul li a {
    padding: 0;
}

.dropdown>a::after {
    display: inline;
    content: "\f107";
    font-family: FontAwesome;
    margin-left: 8px;
    font-size: 18px;
    transition: .2s linear;
}

.dropdown>a.active::after {
    transform: rotate(180deg);
}

.burger_menu {
    display: none;
}

.dropdown_mini {
    display: none;
}

#burger {
    visibility: hidden;
    display: none;
}

.header_wrapper label {
    display: none;
}

.header_wrapper nav {
    display: none;
}

@media (max-width: 1600px) {
    .heder_divider {
        display: none;
    }

    #header {
        height: 0;
    }

    .header_logo {
        display: none;
    }

    .header_wrapper h1 {
        display: none;
    }

    .hide_header {
        display: none;
    }

    body.dark .header_ather {
        position: absolute;
        right: 16px;
        top: 30px;
        border-radius: 12px;
        background: linear-gradient(180deg, #2C2C2C 0%, #141414 100%);
        box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.28);
        padding: 4px;
    }

    .header_ather {
        position: absolute;
        right: 16px;
        top: 30px;
        border-radius: 12px;
        background: url(../assets/white-paper.jpg);
        box-shadow: 0px 2px 3px 0px rgba(0, 0, 0, 0.28);
        padding: 4px;
    }

    #darkModeToggle {
        border-radius: 8px;
        border: 2px solid #F5F5F5;
        box-shadow: 0px 0.809px 1.619px 0px rgba(0, 0, 0, 0.40) inset;
    }

    body.dark #darkModeToggle {
        border-radius: 8px;
        border: 2px solid #454545;
        box-shadow: 0px 0.809px 1.619px 0px rgba(0, 0, 0, 0.40) inset;
    }
}

@media (max-width: 990px) {
    #header {
        height: 90px;
    }

    .header_wrapper h1 {
        display: block;
    }

    .header_logo_mini {
        display: block;
        position: absolute;
        top: 16px;
        left: 64px;
    }

    .heder_divider {
        display: block;
    }
}

@media (max-width: 1320px) {

    .hide_header {
        display: none;
    }

    .header_wrapper {
        grid-template-columns: 1fr;
        padding: 12px 64px 0;
    }

    .header_logo {
        display: none;
    }
}

@media (max-width: 990px) {
    .header_ather {
        justify-content: flex-end;
        position: absolute;
        right: 54px;
    }

    body.dark .header_ather {
        position: absolute;
        right: 54px;
        top: auto;
        border-radius: 0;
        background: inherit;
        box-shadow: none;
        padding: 0;
    }

    .header_ather {
        position: absolute;
        right: 54px;
        top: 18px;
        border-radius: 0;
        background: inherit;
        box-shadow: none;
        padding: 0;
    }

    #darkModeToggle {
        border-radius: 0;
        border: none;
        box-shadow: none;
    }

    body.dark #darkModeToggle {
        border-radius: 0;
        border: none;
        box-shadow: none;
    }
}

@media (max-width: 920px) {

    .header_ather {
        right: 6px !important;
    }

    .header_wrapper {
        grid-template-columns: 1fr;
        padding: 32px 64px 0;
    }

    .header_logo_mini {
        left: 16px;
    }
}