@font-face {
  font-family: 'Fake Receipt';
  src: url('./assets:/Fake%20Receipt%20Font/Files/Fake%20Receipt.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Haas Grotesk';
  src: url('./assets:/Haas%20grotesk%20font/neuehaasgrotdispround-45light-trial.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Haas Grotesk';
  src: url('./assets:/Haas%20grotesk%20font/neuehaasgrotdispround-55roman-trial.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  height: 100vh;
  background-color: #ffffff;
  font-family: 'Haas Grotesk', sans-serif;
  display: flex;
  flex-direction: column;
}

/* Navbar */

.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 22px 24px;
}

.nav-item {
  font-family: 'Fake Receipt', monospace;
  font-size: 22px;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  letter-spacing: -1px;
  word-spacing: -2px;
}

.nav-item.active,
.nav-item:not(.nav-unavailable):hover {
  position: relative;
}

.nav-item.active::after,
.nav-item:not(.nav-unavailable):hover::after {
  content: '';
  position: absolute;
  inset: -5px -10px;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

.nav-unavailable {
  position: relative;
  cursor: default;
}

.nav-unavailable::before,
.nav-unavailable::after {
  content: '';
  position: absolute;
  width: calc(100% + 20px);
  height: 1.5px;
  background: linear-gradient(to right, transparent, rgba(26,26,26,0.7) 12%, rgba(26,26,26,0.88) 35%, rgba(26,26,26,0.72) 55%, rgba(26,26,26,0.85) 78%, rgba(26,26,26,0.55) 92%, transparent);
  filter: blur(0.4px);
  top: 50%;
  left: -10px;
  opacity: 0;
  pointer-events: none;
}

.nav-unavailable::before { transform: translateY(-50%) rotate(12deg); }
.nav-unavailable::after  { transform: translateY(-50%) rotate(-12deg); }

.nav-unavailable:hover::before,
.nav-unavailable:hover::after {
  opacity: 1;
}

.nav-tip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Haas Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 300;
  color: #1a1a1a;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  text-transform: none;
  letter-spacing: normal;
  word-spacing: normal;
}

.nav-unavailable:hover .nav-tip {
  opacity: 1;
}

/* Links */

.links-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding-bottom: 60px;
}

.contact-link {
  font-family: 'Fake Receipt', monospace;
  font-size: 36px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: -1px;
  word-spacing: -2px;
  color: #1a1a1a;
  text-decoration: none;
  -webkit-text-stroke: 0.3px #1a1a1a;
  position: relative;
}

.contact-link:hover::after {
  content: '';
  position: absolute;
  inset: -5px -10px;
  border: 1px solid #1a1a1a;
  border-radius: 50%;
  transform: rotate(-2deg);
  pointer-events: none;
}

@media (max-width: 700px) {
  body {
    height: auto;
    min-height: 100vh;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 14px 18px;
    padding: 18px 16px 22px;
    justify-content: center;
  }

  .nav-item {
    font-size: 16px;
  }

  .nav-unavailable::before,
  .nav-unavailable::after {
    opacity: 1;
  }

  .nav-unavailable .nav-tip {
    opacity: 1;
  }

  .links-wrap {
    flex-direction: column;
    gap: 36px;
    align-items: center;
    padding-bottom: 80px;
  }

  .contact-link {
    font-size: 28px;
  }
}
