.header{
    width: 100%;
    height: 80px;
    background: white;
    box-sizing: border-box;
    padding-left: 18%;
    padding-right: 18%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    z-index: 100;
}

.header_checkbox{
    display: none;
}

.burger{
    display: none;
}

/* --- Header mark --- */

.header_mark{
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: 0.3s;
}

.header_mark:hover{
    cursor: pointer;
    opacity: 0.8;
}

.header_mark:hover img{
    transform: rotate(-20deg);
}

/* logo */

.header_mark img{
    width: 32px;
    height: 32px;
    transition: 0.3s;
}

/* text */

.header_mark p{
    font-size: 20px;
    font-weight: 700;
    color: var(--text1);
}

/* --- Header links --- */

.header_links{
    width: fit-content;
    height: fit-content;
    display: flex;
    align-items: center;
    gap: 25px;
}

/* --- Header links a --- */

.header_links a{
    font-size: 14px;
    color: var(--text2);
    text-decoration: none;
    transition: 0.3s;
}

.header_links a:hover{
    cursor: pointer;
    opacity: 0.7;
}

/* --- Header blue link --- */

.header_blue_link{
    width: fit-content;
    height: 38px;
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
    border-radius: 6px;
    background: var(--blue);
    text-decoration: none;
    transition: 0.3s;
}

.header_blue_link:hover{
    cursor: pointer;
    opacity: 0.8;
}

.header_blue_link:hover img{
    transform: translateX(3px);
}

/* text */

.header_blue_link p{
    font-size: 13px;
    color: white;
}

/* image */

.header_blue_link img{
    width: 14px;
    height: 14px;
    filter: invert(100%);
    transition: 0.3s;
}


/* --- MEDIA --- */

@media screen and (max-width: 1300px) {

    .header{
        padding-left: 5%;
        padding-right: 5%;
        justify-content: flex-start;
        border-bottom: 1px solid var(--border);
    }

    /* --- Burger --- */

    .burger{
        width: 36px;
        height: 36px;
        margin-left: auto;
        margin-right: 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        border-radius: 6px;
        background: var(--component);
        cursor: pointer;
    }

    .burger:hover{
        cursor: pointer;
        opacity: 0.8;
    }

    /* lines */
    
    .burger span {
        width: 50%;
        height: 2px;
        border-radius: 2px;
        background: rgba(0, 0, 0, 0.5);
        transition: all 0.3s;
    }

    /* burger x effect */

    #menu-toggle:checked + .burger span:nth-child(1) {
        transform: rotate(45deg) translateY(5px) translateX(4px);
    }
        
    #menu-toggle:checked + .burger span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .burger span:nth-child(3) {
        transform: rotate(-45deg) translateY(-5px) translateX(4px);
    }

    /* --- Header blue link --- */

    .header_blue_link{
        display: none;
    }

    /* --- Header links --- */

    .header_links{
        display: none;
    }

    #menu-toggle:checked ~ .header_links{
        width: 100%;
        height: calc(100vh - 80px);
        display: flex;
        flex-direction: column;
        gap: 0;
        background: white;
        position: absolute;
        top: 80px;
        left: 0;
        z-index: 99;
    }
    
    #menu-toggle:checked ~ .header_blue_link{
        display: flex;
        position: absolute;
        top: 520px;
        left: 5%;
        z-index: 100;
    }

    /* --- Header links a --- */

    .header_links a{
        width: 100%;
        height: 80px;
        box-sizing: border-box;
        padding-left: 5%;
        padding-right: 5%;
        border-bottom: 1px solid var(--border);
        display: flex;
        align-items: center;
        font-size: 15px;
        text-align: left;
        transition: 0.3s;
    }

    .header_links a:hover{
        cursor: pointer;
        opacity: 0.6;
    }
}

@media screen and (max-width: 500px) {
    
    .burger{
        margin-right: 0;
    }
}