.header{
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
}

.checkbox{
    display: none;
}

.burger{
    display: none;
}

/* --- Header mark --- */

.header_mark{
    width: 135px;
    height: fit-content;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: 0.3s;
}

.header_mark:hover{
    cursor: pointer;
    opacity: 0.7;
}

/* image */

.header_mark img{
    width: 38px;
    height: 38px;
}

/* text */

.header_mark p{
    font-size: 20px;
    font-weight: 700;
    color: var(--text1);
}

/* --- Header links --- */

.header_links{
    flex: 1;
    height: fit-content;
    margin-left: 4%;
    display: flex;
    align-items: center;
}

/* --- Header link --- */

.header_link{
    margin-right: 20px;
    font-size: 14px;
    text-decoration: none;
    color: var(--text1);
    transition: 0.3s;
}

.header_link:hover{
    cursor: pointer;
    opacity: 0.6;
}

/* --- Access link --- */

.access_link{
    margin-left: auto;
    margin-right: 30px;
    font-size: 14px;
    text-decoration: underline;
    color: var(--blue);
    transition: 0.3s;
}

.access_link:hover{
    cursor: pointer;
    opacity: 0.7;
}

/* --- Create link --- */

.create_link{
    width: 140px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    background: var(--blue);
    font-size: 13px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.create_link:hover{
    cursor: pointer;
    opacity: 0.7;
}

/* --- Media --- */

@media screen and (max-width: 1080px) {

    .mark{
        width: fit-content;
        gap: 15px;
    }

    /* --- Burger --- */

    .burger{
        width: 36px;
        height: 36px;
        margin-left: auto;
        box-sizing: border-box;
        padding: 10px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-radius: 6px;
        background: var(--blue);
        cursor: pointer;
    }

    /* span */

    .burger span {
        width: 100%;
        height: 2px;
        border-radius: 2px;
        background: white;
        transition: all 0.3s;
    }

    /* burger x effect */

    #menu-toggle:checked + .burger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px); /* top line */
    }

    #menu-toggle:checked + .burger span:nth-child(2) {
        opacity: 0;  /* hide middle line */
    }

    #menu-toggle:checked + .burger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px); /* bottom line */
    }

    /* --- Header links --- */
    
    .header_links{
        display: none;
    }

    /* active */

    #menu-toggle:checked ~ .header_links{
        width: 100%;
        height: fit-content;
        margin-left: 0;
        padding-bottom: 20px;
        display: block;
        background: white;
        position: absolute;
        top: 80px;
        left: 0;
        z-index: 100;
    }

    /* a tags */

    .header_links a{
        display: flex;
        align-items: center;
        font-size: 16px;
        box-sizing: border-box;
        margin-right: 0;
        width: 100%;
        height: 60px;
        border-bottom: 1px solid var(--border);
        text-decoration: none;
    }

    /* last a tag */

    .header_links a:last-of-type{
        border-radius: 0;
        background: none;
        justify-content: flex-start;
        color: var(--blue);
    }

}