.header-container {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  font-size: 1.125rem;
  /* background: var(--color-secondary); */
}



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

header {
  padding-block: 24px;
  /* padding-inline: 100px; */
}

.header-items-container {
  display: flex;
  justify-content: center;
  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: 991px) {
  header {
    padding-inline: 12px;
  }
  .logo{
    max-width: 7rem;
  }

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

  .menu-list-items {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* max-height: 80%; */
    /* overflow: auto; */
    padding-block-start: 50px;
  }

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

  .close-menu {
    display: block;
    position: sticky;
    top: 16px;
    /* text-align: right;
    padding-inline-end: 16px; */
    left: 70vw;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: red;
    border-radius: 999px;
  }

  .open-menu {
    display: block;
  }

  #check:checked ~ .nav-menu {
    right: 0;
  }
  .header-items-container {
    justify-content: right;
  }
}
