/* RESET + VARIABLES */

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

:root {
  --primary: #00ffffe6;
  --black: #0e0e0e;
  --white: #dddddd;
  --link: #0c0568;
  --hover: 

}

/* BASE */

html, body {  
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7em;
  color-scheme: dark; /* Keep overall UI dark */

}

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #000;
  color: var(--white);
}

/* Typo START */

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

h1 {
  font-family: orbitron;
  font-size: 3.5rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  animation: fadeIn 2s ease forwards;
  opacity: 0;

  -webkit-text-stroke: 1px black;
  color: white;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 #000;
}

h2 {
  font-family: orbitron;
  font-size: 1.5em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* SCROLL TO TOP BUTTON */
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.65);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease;
  z-index: 50;
}

.scroll-top:hover {
  box-shadow: 0 0 10px rgba(0,255,255,0.22);
}

.scroll-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


