.sidebar {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 49px;
  left: 0;
  background-color: #151515;
  overflow-x: hidden;
  transition: 0.4s;
  padding-top: 10px;
}
.sidebar-dark{
  background-color: #fffbfb;
}
.sidebar_left {
  width: 200px;
  max-width: 200px;
  margin: 0;
  padding: 0;
}
.sidebar_right {
  margin: 0;
  padding: 0;
}

.sidebar a {
  padding: 8px 8px 8px 16px;
  text-decoration: none;
  font-size: 18px;
  color: #ddd;
  display: block;
  transition: 0.3s;
}
.sidebar-dark a{
  color: #515151;
}

.sidebar a:hover {
  color: #999;
}
.sidebar-dark a:hover {
  color: #111111;
}

.sidebar button {
  padding: 8px 8px 8px 8px;
  background-color: #151515;
  text-decoration: none;
  font-size: 16px;
  color: #ddd;
  display: block;
  transition: 0.3s;
}
.sidebar button:hover {
  color: #777;
}
.sidebar-dark button {
  background-color: #fffbfb;
  color: #515151;
}
.sidebar-dark button:hover {
  color: #111;
}

.sidebar .closebtn {
  position: absolute;
  top: 0px;
  right: 16px;
  font-size: 22px;
  margin-left: 59px;
  cursor: pointer;
}

.openbtn {
  font-size: 18px;
  cursor: pointer;
  background-color: #151515;
  color: white;
  padding: 10px 15px;
  border: none;
}

.openbtn:hover {
  background-color: #999;
}

.profil_btn {
  margin: 0px 0px 0px 8px;
  border: none;
  cursor: pointer;
}
.sidebar-profil {
  display: none;
  position: relative;
  background-color: #151515;
  width: 100%;
  max-width: 100%;
  height: max-content;
  max-height: 100%;
  padding: 0px 0px 0px 8px;
  margin: 0px 0px 0px 0px;
  z-index: 1;
}
.sidebar-profil-dark {
  background-color: #fffbfb;
}
.sidebar-profil a {
  padding: 8px 8px 8px 16px;
  text-decoration: none;
  font-size: 18px;
  color: #ddd;
  display: block;
  transition: 0.3s;
}
.sidebar-profil-dark a {
  color: #515151;
}

.sidebar-profil a:hover {
  color: #999;
}
.sidebar-profil-dark a:hover {
  color: #111111;
}

.page_btn {
  border: none;
  cursor: pointer;
}
.sidebar-page {
  display: none;
  position: relative;
  background-color: #151515;
  width: 100%;
  max-width: 100%;
  height: max-content;
  max-height: 100%;
  padding: 0px 0px 0px 8px;
  margin: 0px 0px 0px 0px;
  z-index: 1;
}
.sidebar-page-dark {
  background-color: #fffbfb;
}
.sidebar-page a {
  padding: 8px 8px 8px 16px;
  text-decoration: none;
  font-size: 18px;
  color: #ddd;
  display: block;
  transition: 0.3s;
}
.sidebar-page-dark a {
  color: #515151;
}

.sidebar-page a:hover {
  color: #999;
}
.sidebar-page-dark a:hover {
  color: #111111;
}

.show {display:block;}

#main {
  transition: margin-left .4s;
  padding: 16px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidebar {padding-top: 35px;}
  .sidebar a {font-size: 16px;}
  .sidebar button {font-size: 14px;}
  .sidebar-profil {height: 123px;}
  .sidebar-profil a {font-size: 16px;}
}
