* {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
}
body.light-theme {
  --color-text: #2e353f;
  --color-background: #fff;
  --color-fone-background: #eee;
  --color-filter: brightness(0) saturate(100%) invert(10%) sepia(11%)
    saturate(1275%) hue-rotate(201deg) brightness(97%) contrast(90%);
}
body.dark-theme {
  --color-text: #eee;
  --color-background: #1b1b1b;
  --color-fone-background: #23232e;
  --color-filter: brightness(0) saturate(100%) invert(100%) sepia(0%)
    saturate(2149%) hue-rotate(310deg) brightness(117%) contrast(87%);
}
body {
  z-index: 100;
  background-color: var(--color-background);
  color: var(--color-text);
  /* -webkit-tap-highlight-color: rgba(255, 255, 255, 0); */
  /* -webkit-tap-highlight-color: transparent; */ 
}
.light_check {
  position: absolute;
  bottom: 0;
  opacity: 0;
  margin: 0 0 1.7rem 1.7rem;
  transition: all 0.3s ease;
  filter: var(--color-filter);
}
.dark_check {
  position: absolute;
  bottom: 0;
  transition: all 0.3s ease;
  margin: 0 0 1.7rem 1.7rem;
  filter: var(--color-filter);
}
#input_theme {
  display: none;
}

#input_theme:checked ~ .label_theme .light_check {
  opacity: 1;
  transform: rotate(180deg);
  transition: all 0.3s ease;
}
#input_theme:checked ~ .label_theme .dark_check {
  opacity: 0;
}
#input_theme {
  position: absolute;
  bottom: 0;
  display: none;
}
@media (max-width: 40rem) {
  .menu-btn {
    display: none;
  }
  .first_item_sidebar {
    white-space: nowrap;
    pointer-events: none;
    margin-left: 3rem;
  }

  li {
    display: inline-block;
  }

  .bottom_item_sidebar {
    z-index: -1;
    position: absolute;
    margin-bottom: 1.7rem;
    bottom: 0;
  }
  #sidebar {
    position: fixed;
    bottom: 0;
    white-space: nowrap;
    background: var(--color-fone-background);
    height: 5rem;
    width: 100%;
    transition: all 0.2s ease;
    /* -webkit-tap-highlight-color: rgba(255, 255, 255, 0); */
    /* -webkit-tap-highlight-color: transparent; */ 
  }
  .limited {
    width: 100%;
    position: fixed;
  }

  .bottom_bar {
    width: 10%;
    float: left;
    text-align: center;
    /* -webkit-tap-highlight-color: rgba(255, 255, 255, 0); */
    /* -webkit-tap-highlight-color: transparent; */ 
  }

  .user_svg {
    margin-right: 1rem;
    margin-left: 5rem;
    margin-bottom: 20%;
    margin-top: 1.7rem;
    text-align: center;
    filter: var(--color-filter);
  }
  #txt_sidebar {
    display: none;
  }

}
@media (min-width: 40rem) {
  #sidebar {
    position: fixed;
    top: 0;
    white-space: nowrap;
    background: var(--color-fone-background);
    width: 5rem;
    transition: all 0.2s ease;
    height: 100%;
  }
  .menu-btn {
    position: absolute;
    position: fixed;
    color: #fff;
    height: 3rem;
    margin-top: 0.5rem;
    margin-left: 1rem;
    width: 3rem;
    z-index: 100;
    border-radius: 5px;
    cursor: pointer;
    display: inline-flex;
    user-select: none;
    align-items: center;
    justify-content: center;
  }
  .first_item_sidebar {
    white-space: nowrap;
    pointer-events: none;
    margin-top: 2rem;
  }

  .burger {
    filter: var(--color-filter);
    position: fixed;
  }

  .wrapper .menu-btn .cross {
    opacity: 0;
    transition: all 0.3s ease;
  }
  .cross {
    filter: var(--color-filter);
  }
  #btn:checked ~ .menu-btn .cross {
    opacity: 1;
    transform: rotate(180deg);
  }
  #btn:checked ~ .menu-btn .burger {
    position: fixed;
    opacity: 0;
  }

  #btn:checked ~ #sidebar {
    background: #23232e;
    background: var(--color-fone-background);
    left: 0;
    width: 16rem;
  }
  #sidebar .list-items li {
    position: relative;
    padding-left: 1.7rem;
    line-height: 3rem;
    overflow: hidden;
  }

  #sidebar .list-items li:hover {
    background: #686868;
  }
  .user_svg {
    position: relative;
    vertical-align: middle;
    left: 0;
    margin-right: 1.6rem;
    text-align: center;
    filter: var(--color-filter);
  }
  .user_li {
    font-size: 1.3rem;
    margin: auto;
    color: #f2f2f2;
    color: var(--color-filter);
    text-decoration: none;
  }
  #txt_sidebar {
    display: inline;
  }
}

