

.sidebar {
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
  background-color: #111; /* Black*/
  overflow: hidden;
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidebar */
}

.sidebar a {
  margin-top: 30px;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.sidebar a:hover {
  color: #f1f1f1;
}

.sidebar .sidebar-kofi-link {
  position: absolute;
  left: 5%;
  bottom: 10%;
  width: 80%;
  margin-top: 0;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: 'Audiowide';
  color: #432700;
  background: linear-gradient(135deg, rgba(255, 180, 80, 0.85) 0%, rgba(255, 150, 60, 0.75) 35%, rgba(255, 120, 40, 0.65) 70%, rgba(255, 90, 20, 0.55) 100%);
  box-shadow: 0 0 14px rgba(255, 160, 80, 0.35);
  transition: box-shadow 0.15s ease, transform 0.15s ease, color 0.15s ease;
  justify-content: center;
  text-align: center;
  text-decoration: none;
}

.sidebar .sidebar-kofi-link:hover {
  color: #2a1400;
  box-shadow: 0 0 18px rgba(255, 180, 100, 0.45);
  transform: translateY(-1px);
}

.sidebar .sidebar-kofi-emoji {
  margin-right: 0.45rem;
}

/* Position and style the close button (top right corner) */
.sidebar .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* The button used to open the sidebar */
.openbtn { 
  font-size: 20px;
  cursor: pointer;
  border: 2px solid rgba(140, 220, 255, 0.4);
  border-radius: 2px;
  background-color: rgba(19, 10, 90, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 10px 15px;
  box-sizing: border-box;
}

.openbtn:hover {
  background-color: #444;
}

/* 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: 15px;}
  .sidebar a {font-size: 18px;}
}