@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Righteous:wght@400;600;700&display=swap');

/* =========================================================
   Sidebar
   ========================================================= */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;

  width: 270px;
  height: 100vh;

  padding: 30px 15px;

  background: #0b0d0b;
  color: #ffe600;

  overflow-y: auto;
  z-index: 1000;

  border-right: 4px solid #39ff14;

  font-family: inherit;
  box-sizing: border-box;
}

.sidebar hr {
  margin: 16px 16px 12px 12px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.sidebar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.sidebar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.sidebar,
.sidebar * {
  box-sizing: border-box;
}

/* =========================================================
   Site title
   ========================================================= */

.sidebar h2 {
  margin: 0 10px 16px;
  color: #E07038;
  text-align: right;
  font-family: "Righteous", sans-serif;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.02em;
  

}


/* =========================================================
   Top-level links & headings
   ========================================================= */

.sidebar-heading,
.sidebar-link {
  width: 100%;

  margin: 2px 0;
  padding: 2px 12px;

  border: none;
  border-radius: 4px;

  background: transparent;
  color: #ffe600;

  text-align: left;
  font-family: inherit;
  font-size: 18px;
  line-height: 1.4;

  cursor: pointer;
  text-decoration: none;

  display: flex;
  align-items: center;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}


.sidebar-heading {
  justify-content: space-between;
}





/* =========================================================
   Arrow
   ========================================================= */

.arrow {
  margin-left: 10px;

  color: #d8c96a;

  font-size: 20px;
  line-height: 1;

  transition:
    transform 0.2s ease,
    color 0.15s ease;
}

.sidebar-heading:hover .arrow {
  color: #0b0d0b;
}

.sidebar-heading.active .arrow {
  transform: rotate(90deg);
  color: #d8c96a;
}

.sidebar-heading.active:hover .arrow {
  transform: rotate(90deg);
  color: #0b0d0b;
}


/* =========================================================
   Collapsible sections
   ========================================================= */

.sidebar-links {
  display: none;

  margin: 2px 0 8px;
  padding: 4px 0 5px 10px;

  border-left: 2px solid #8acb45;
}

.sidebar-links.open {
  display: block;
}


/* Nested links */

.sidebar-links a {
  display: block;

  margin: 1px 0;
  padding: 2px 12px;

  border-radius: 3px;

  color: #d8c96a;

  font-size: 16px;
  line-height: 1.45;

  text-decoration: none;

  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.sidebar-links a:hover {
  background: #d8c96a;
  color: #0b0d0b;
}


/* =========================================================
   Current page
   ========================================================= */

.sidebar a.active {
  background: #8acb45;
  
  color: #0b0d0b;


  box-shadow:
    inset 0 0 10px rgba(57, 255, 20, 0.05);
}


/* =========================================================
   Hover
   ========================================================= */

.sidebar-heading:hover,
.sidebar-link:hover {
  background: #d8c96a;
  color: #0b0d0b;
}

/* =========================================================
   Mobile menu button
   ========================================================= */

.menu-toggle {
  display: none;

  position: fixed;
  top: 14px;
  left: 14px;

  z-index: 998;

  padding: 8px 11px;

  border: 4px solid #39ff14;
  border-radius: 2px;

  background: #0b0d0b;
  color: #ffe600;

  font-size: 21px;
  line-height: 1;

  cursor: pointer;
}

/* =========================================================
   Mobile overlay
   ========================================================= */

#sidebar-overlay {
  display: none;
}


/* =========================================================
   Mobile sidebar
   ========================================================= */

@media (max-width: 768px) {

  .sidebar {
    transform: translateX(-100%);

    transition: transform 0.25s ease;

    box-shadow: 12px 0 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    z-index: 998;
  }

  #sidebar-overlay {
    position: fixed;
    inset: 0;

    z-index: 999;

    background: rgba(0, 0, 0, 0.55);
  }

  #sidebar-overlay.visible {
    display: block;
  }

}