:root{
  --text-color: black;
  --background-color: white;
  --hover-color: #f0f0f0;
  --sidebar-background: rgba(255, 255, 255, 0.2);
}
.darkmode{
  --text-color: white;
  --background-color: #222222;
  --hover-color: #333333;
  --sidebar-background: rgba(0, 0, 0, 0.2);
}

nav{
  background-color: var(--background-color);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
nav ul{
  width: 100%;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
nav li{
  height: 50px;
}
nav a{
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--text-color);
}
nav a:hover{
  background-color: var(--hover-color)
}
nav li:first-child{
  margin-right: auto;
}
.sidebar{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 1001;
  background-color: var(--sidebar-background);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.sidebar li{
  width: 100%;
}
.sidebar a{
  width: 100%;
}
.menu-button{
  cursor: pointer;
  display: none;
}
.icons{
  fill: var(--text-color);
}
@media(max-width: 800px){
  .hideOnMobile{
    display: none;
  }
  .menu-button{
    display: block;
  }
}
@media(max-width: 400px){
  .sidebar{
    width: 100%;
  }
}