.nav {
  background-color: white;
  color: black;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 60px;
  top: 0;
  left: 0;
  bottom: 0;
  position: fixed;
  z-index: 100;
  border-right: 1px solid rgba(125, 125, 125, 0.2);
}

@media (max-width: 1023.98px) {
  .nav {
    bottom: auto;
    left: 0;
    flex-direction: row;
    width: 100%;
    height: 60px;
    border-right: none;
  }
}

.navLogo {
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(
    135deg,
    var(--color-blue) 0%,
    var(--color-purple) 100%
  );
  width: 40px;
  height: 40px;
  border-radius: 3px;
  z-index: 3;
  margin-left: 10px;
  margin-top: 10px;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  text-decoration: none;
}

.navLogo span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
}

.navLogo span::after {
  content: ">_";
  font-family: monospace;
  font-weight: 700;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
}

.navLogo:hover {
  transform: rotate(12deg) scale(1.08);
  box-shadow: 0 0 14px rgba(132, 43, 255, 0.3);
}

@media (max-width: 767.98px) {
  .navLogo {
    left: 35px;
  }
}

.navContact {
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-decoration: none;
  font-size: 1.2em;
  line-height: 1.5em;
  margin: 15px;
  color: black;
  position: relative;
  overflow: hidden;
}

.navContact::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  right: 100%;
  width: 100%;
  height: 100%;
  background: rgba(14, 64, 244, 0.3);
  transition: right 250ms;
}

.navContact:hover::before {
  right: 60%;
}

@media (max-width: 1023.98px) {
  .navContact {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

@media (max-width: 767.98px) {
  .navContact {
    writing-mode: horizontal-tb;
    transform: none;
    display: none;
  }
}

.navCurrent {
  font-family: monospace;
  background-color: black;
  text-align: center;
  padding: 5px;
  color: white;
}

@media (max-width: 1023.98px) {
  .navCurrent {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }
}
