.header-container {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 100;
}

.header-container .nav-menu {
    transition: all .5s;
}

header {
    /* background: var(--main-color); */
    padding-block: 24px;
    padding-inline: 100px;
}

.header-items-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.menu-list-items {
    list-style: none;
    display: flex;
}

.link-item {
    margin-inline: 12px;
}

.link-item a {
    text-decoration: none;
    color: white;
}

.menu-button {
    color: white;
    cursor: pointer;
    font-size: 24px;
}

#check,
.close-menu,
.open-menu {
    display: none;
}

@media only screen and (max-width: 768px) {
    header {
        padding-inline: 12px;
    }

    .nav-menu {
        position: absolute;
        background: var(--main-color);
        top: 0;
        right: -80vw;
        height: 100vh;
        width: 80vw;
    }

    .menu-list-items {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .list-item {
        margin-block: 24px;
    }

    .close-menu {
        display: block;
        position: absolute;
        top: 16px;
        right: 16px;
    }

    .open-menu {
        display: block;
    }

    #check:checked~.nav-menu {
        right: 0;
    }
}