/* ===== SIDEBAR (DESKTOP) ===== */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 130px;
  padding: 40px 15px;
  background: #c2ddc2;
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  font-family: 'Alfa Slab One', serif;
  border-right: 1px solid rgba(0,0,0,0.1);
}

/* LINKS */
.side-menu a {
  text-decoration: none;
  color: #111;
  font-size: 0.85rem;
  line-height: 1.2;
}

.side-menu a:hover,
.side-menu a:active,
.side-menu a:focus {
  color: #ff82b4;
}

/* GROUPS */
.side-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* SMALL LABELS ("--") */
.side-block-title {
  font-size: 0.7rem;
  opacity: 0.7;
}

/* ASCII BAT */
pre.ascii {
  font-family: monospace;
  font-size: 0.7rem;
  line-height: 1;
  margin: 0;
}

/* ===== MOBILE ===== */
@media (max-width: 700px) {

  .side-menu {
    position: relative;
    width: 100%;
    height: auto;
    padding: 20px 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;

    border-right: none;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }

  /* TOP ROW */
  .side-block:first-of-type {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  /* BAT */
  pre.ascii {
    text-align: center;
    font-size: 0.6rem;
    margin: 6px 0;
  }

  /* BOTTOM ROW */
  .side-block:last-of-type {
    flex-direction: row;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  /* BACK TO MAIN ON ITS OWN LINE */
  .side-block:last-of-type a:last-child {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  /* HIDE "--" ON MOBILE */
  .side-block-title {
    display: none;
  }
}
