* {
  box-sizing: border-box;
}

body {
  box-sizing: border-box;
  margin: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Space Grotesk", sans-serif;
}

#digital canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  color: white;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #9ea0a3;
}

.links {
  display: flex;
  gap: 1.5rem;
}

.link {
  font-size: 1.2rem;
  cursor: pointer;
  text-decoration: none;
  color: white;
  position: relative;
  transition: all 0.3s ease;
  font-weight: 500;
}

.link::after {
  content: "";
  display: block;
  height: 2px;
  width: 0%;
  background: #696969;
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

.link:hover::after {
  width: 100%;
}

.link:visited,
.link:hover,
.link:active,
.link:focus {
  text-decoration: none;
  color: inherit;
}

nav .menu {
  position: absolute;
  font-size: 1.4rem;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  cursor: pointer;
}

.options {
  position: absolute;
  top: 100%;
  right: 1rem;
  margin-top: 0.5rem;
  background-color: hsla(0, 0%, 20%, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  width: min(220px, 70vw);
  text-align: left;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 0.2s ease;
  z-index: 11;
}

.options.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

main {
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  gap: 18px;
  z-index: 2;
}

main h1 {
  font-size: 3rem;
  display: flex;
  align-items: center;
  gap: 14px;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

main h1 i {
  font-size: 0.85em;
  opacity: 0.95;
  transform: translateY(2px);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.25));
}

main h1 i:first-child {
  color: #ff5a1f;
}

main h1 i:last-child {
  color: #3aa8ff;
}

main h2 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

main p {
  margin: 0;
  margin-top: 8px;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

main p a.link {
  display: inline-block;
  margin-left: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease;
}

main p a.link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

main p a.link::after {
  bottom: 6px;
  left: 14px;
  width: 0%;
}

main p a.link:hover::after {
  width: calc(100% - 28px);
}

@media (max-width: 600px) {
  nav .menu {
    display: block;
  }

  nav .links {
    display: none;
  }

  main {
    padding: 0 16px;
    gap: 14px;
  }

  main h2 {
    line-height: 1.55;
  }
}
