#navbar {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 100000;
  transition: all 300ms ease-in-out;
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: clip;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 32px #e0aa3e3b;
}

#navbar.closed {
  width: clamp(72px, 5vw, 144px);
  height: clamp(72px, 5vw, 144px);
  border-top-left-radius: clamp(72px, 5vw, 144px);
  cursor: pointer;
}

.navbar-background {
  background-color: #e0aa3e;
  opacity: 0.97;
  z-index: 0;
  position: absolute;
  width: 100%;
  height: 100%;
}

.navbar-content {
  z-index: 100;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
}

#navbar-opener-button {
  border: none;
  background-color: transparent;
  position: absolute;
  bottom: -8px;
  right: 0;
  font-size: clamp(45px, 4vw, 60px);
  padding: 0;
  margin: 0;
  color: #101010;
  font-family: "Million Dreams";
  width: clamp(72px, 5vw, 144px);
  height: clamp(72px, 5vw, 144px);
  border-top-left-radius: clamp(72px, 5vw, 144px);
  cursor: pointer;
  z-index: 100004;
}

.navbar-more-svg {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%) translateX(-100%) rotate(-90deg);
}

#navbar #navbar-opener-button .arrow-holder {
  transition: all 300ms linear;
  max-width: 32px;
  position: relative;
  right: -27px;
}

.arrow-holder.closed, #navbar.closed .arrow-holder.arrow-holder.opened {
  display: block !important;
}

#navbar.closed .arrow-holder.closed, .arrow-holder.opened {
  display: none !important;
}

.navbar-inner-content {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vh, 72px);
  transform: translateX(-50%) scale(1);
  transition: all 300ms ease-in-out;
  transition-delay: 100ms;
  color: rgb(243, 241, 225);
  z-index: 100001;
}

.navbar-inner-content h1 {
  font-size: clamp(40px, 3vw, 60px);
  cursor: pointer;
  display: flex;
  align-items: center;
}
/* 
.navbar-inner-content h1:hover::before {
    content: "→";
    display: block;
    color: white;
    font-size: 5vw;
    margin-right: 24px;
    font-family: "Million Dreams";
} */

#navbar.closed .navbar-inner-content {
  transform: translateX(-50%) scale(0);
}

@media (min-width: 900px) {
  #navbar {
    top: 0;
    bottom: auto;
    border-width: 0 0 2px 2px;
  }

  #navbar.closed {
    border-bottom-left-radius: clamp(72px, 5vw, 144px);
    border-top-left-radius: 0;
  }

  #navbar-opener-button {
    top: -8px;
    bottom: auto;
    right: 0;
  }
}

@media (min-width: 1300px) {
  #navbar-opener-button {
    right: -16px;
    top: -12px;
    font-size: 72px;
  }

  #navbar-opener-button .arrow-holder {
    max-width: 40px;
  }
}

.navbar-big-logo-outline {
  position: absolute;
  bottom: -3vh;
  left: 0;
  width: max(100vw, 400px);
  height: auto;
  opacity: 0.25;
  z-index: 100000;
}
.navbar-big-logo-outline .cls-1 {
  stroke: #fcf9ed !important;
}

.navbar-big-logo-solid {
  width: clamp(300px, 20vw, 600px);
  height: auto;
  z-index: 100000;
}
.navbar-big-logo-solid .cls-1 {
  fill: #101010 !important;
}

.navbar-items {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 100vh;
  height: 150vw;
  position: relative;
  z-index: 100004;
  transform: rotate(-90deg);
  flex-direction: column;
}

.navbar-item {
  animation: navbar-items-rotate 5s infinite alternate;
  transform: rotate(0deg);
  color: #101010;
  -webkit-text-stroke: 2px transparent;
  margin: 0;
}

.navbar-item.glitched {
  transform: rotate(90deg) !important;
  -webkit-text-stroke: 2px rgb(243, 241, 225);
  color: transparent;
}
.navbar-typewrite {
  font-size: 30px;
}

@media (max-width: 600px) {
  .navbar-item {
    transform: translateY(0) !important;
  }
  .navbar-typewrite {
    font-size: 20px;
  }
}
