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

:root {
  --bg-color:        light-dark(#fcf6ed, #0b0f19);
  --bg-dot-color:    light-dark(#ffffff, #0f1421);
  --card-bg-color:   light-dark(#ffffff, #000710);
  --card-glow-color: light-dark(#111111, #002030);

}

body, html {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background-color: var(--bg-color);
  font-family: system-ui, -apple-system, sans-serif;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  z-index: 1;
}

.content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: auto; 
}

h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #818cf8, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

p {
  color: #94a3b8;
  font-size: 1;
}

/* --------------------------------------------------
 * CARD
 * -------------------------------------------------- */

.card {
  background-color: var(--card-bg-color);
  padding: 2em;
  border-radius: 15px;
  box-shadow: 0px 0px 40px var(--card-glow-color), inset 0 0 20px var(--card-glow-color);
}


/* --------------------------------------------------
 * MENU
 * -------------------------------------------------- */
.menu {
  right: 3%;
  position: absolute;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.192),
    inset 0 0 5px rgba(255, 255, 255, 0.274), 0 5px 5px rgba(0, 0, 0, 0.164);
  max-width: fit-content;
  max-height: fit-content;
  border-radius: 15px;
  background-color: var(--bg-color);

  transition: box-shadow 0.2s;
  
  &:hover {
    animation: ease-out 5s;
    background-color: var(--bg-color);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.25),
      inset 0 0 5px rgba(255, 255, 255, 0.274), 0 5px 5px rgba(0, 0, 0, 0.164);
  }
}

.menu ul {
  padding: 1rem;
  display: flex;
  list-style: none;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}

.menu li a {
  color: #6a3f84;
  font-size: 1.5rem;
  text-decoration: none;
  &:hover {
    color: #ffffff;
  }
}

.menu li .text {
  opacity: 0;
  text-orientation: upright;
  writing-mode: vertical-lr;
  max-height: 0;
  transition: max-height 0.5s;
  overflow: hidden;
  position: absolute;
  
  font-family: monospace;

  background-color: #000000;
  /*padding: 1em;*/
  padding-top: 1em;
  padding-bottom: 1em;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, .297);
  border-radius: 15px;

  left: 0.5em;
  right: 0.5em;
  align-items: center;
  display: flex;

  pointer-events: none;
}

.menu li:hover .text{
  opacity: 1;
  /*max-height: fit-content;*/
  max-height: 100%;

}
