:root {
  --bg: rgb(0, 0, 239);
  --fg: rgb(250, 250, 250);
  --muted: #6b6b6b;
  --accent: #FBFF93;
}

* {
  box-sizing: border-box;
}

  @font-face {                                                                  
    font-family: "Scto";                                                     
    src: url("/fonts/Scto-Grotesk-B-Medium.woff") format("woff");                      
    font-weight: 500;                                                           
    font-style: normal;                                        
    font-display: swap;                                                         
  }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Scto", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", system-ui, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

main {
  min-height: 100dvh;
  padding: 1rem;
}

.hero {
  text-align: left;
  max-width: 80rem;
  position: relative;
}

.hero h1 {
  font-size: 72px;
  font-weight: 500;
  line-height:0.84;
  letter-spacing: -0.06em;
  margin: 0 0 0.5rem -0.05em;
  touch-action: none;
}

.js-particles .hero h1 {
  color: transparent;
}

.hero h1::selection,
.hero h1 ::selection {
  background: var(--accent);
  color: var(--fg);
}

.hero canvas.h1-particles {
  position: absolute;
  pointer-events: none;
}

.tagline {
  font-size: 1.25rem;
  color: var(--muted);
  margin: 0 0 2.5rem;
}

.contact {
  font-size: 1.38rem;
  letter-spacing:-0.03em;
  margin: 0;
}

@media (min-width: 700px) {
  .hero h1 {
    font-size: 100px;
  }
  .contact {
    font-size: 1.96rem;
  }
}

@media (min-width: 1600px) {
  .hero{
    max-width:200em;
  }
  .hero h1 {
    font-size: 140px;
  }
  .contact {
    font-size: 2.5rem;
  }
}

.contact a {
  color: var(--fg);
  text-decoration: none;
  border: 2px solid currentColor;
  padding: 5px 10px;
  transition: opacity 0.15s ease;
  background: rgb(0, 0, 239);
}

.contact a:hover {
  opacity: 0.6;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
}

