:root {
  --white: #FFF;
  --black: #000;
  --rich-black: #030D11;
  --grey: #949494;
  --dark-grey: #94949447;
  --light-orange: #FF9400;
  --orange: #FF6B00;
  --purple: #4b00d7;
  --gradient: linear-gradient(90deg, #ffa52f, #ff6b00 33%, #ff00d9 63%, #4b00d7);
  --bg-elev-1: rgba(255, 255, 255, 0.04);
  --bg-elev-2: rgba(255, 255, 255, 0.06);
  --border-1: rgba(255, 255, 255, 0.15);
  --border-2: rgba(255, 255, 255, 0.14);
  --text-hi: #eaeaea;
  --text-med: #c9c9c9;
  --text-lo: #a8a8a8;
  --surface: #121212;
  --bg-card: #272D3B;
}

p, h1, h2, h3, h4, h5, h6 {
  text-align: start;
  color: var(--white);
}

p, h1, h4, h6 {
  letter-spacing: .03rem;
}

h1, h2, h3 {
  font-weight: 500;
}

h4, h5, h6 {
  font-weight: 700;
}

p {
  font-size: 1.2rem;
  line-height: 2rem;
}

h1 {
  font-size: 2.1rem;
  line-height: 2.5rem;
  letter-spacing: .06rem;
}

h2 {
  font-size: 1.6rem;
  line-height: 1.9rem;
  letter-spacing: .05rem;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.7rem;
  letter-spacing: .04rem;
}

h4 {
  font-size: 1.2rem;
  line-height: 1.4rem;
}

h5 {
  font-size: 1rem;
  line-height: 1.2rem;
  letter-spacing: .15rem;
  text-transform: uppercase;
}

h6 {
  font-size: .9rem;
  line-height: 1.1rem;
}

#staging-banner {
  z-index: 99999;
  position: fixed;
  top: 4rem;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid white;
  border-radius: 0.25rem;
  padding: 0 1.5rem;
  pointer-events: none;
  background-color: rgba(3, 13, 17, 0.7);
  animation: fadeOut 1s ease forwards;
  animation-delay: 10s;
  & > p {
    font-family: 'FK Grotesk Mono';
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.5rem;
  }
}

#tradeshow-img {
  position: fixed;
  animation: softAppearText 2.5s forwards;
  filter: blur(9px);
  margin: 0 3rem;
  z-index: 2;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  & .page-wrapper {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    align-items: center;
    justify-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    user-select: none;
    background-color: #030D11;
    &.disable-pointer-events {
      pointer-events: none;
    }
    & .background {
      position: absolute;
      z-index: 1;
      width: 100%;
      height: 100%;
      background-image: url('../images/homepage-background.png');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      overflow: hidden;
      opacity: 0;
      animation: softAppearText 2s forwards;
      filter: blur(3px);
    }
    & .header {
      width: 100%;
      margin-top: 2rem;
      grid-row: 1 / 2;
      .white-line {
        width: 0;
        margin: 0 2rem;
        height: 2px;
        background: var(--white);
        z-index: 2;
        animation: expand 1s ease-in-out forwards;
        animation-delay: .5s;
        transform: translateY(-50%);
      }
      & .top {
        width: 100%;
        margin-top: 0.5rem;
        display: grid;
        align-items: center;
        grid-template-columns: 1fr 1fr;
        & p {
          display: flex;
          align-items: center;
          line-height: 1rem;
          font-size: 1.25rem;
          animation: moveAndAppear 1s ease-in-out forwards;
          animation-delay: 1.5s;
          opacity: 0;
          position: relative;
          justify-content: flex-start;
          margin: 1vw 0 1vw 2vw;
          font-family: 'FK Grotesk Mono';
          &:before {
            content: "▪";
            margin-right: 0.5rem;
            color: var(--white);
            font-size: 1.5rem;
          }
        }
      }
    }
  }
}

/* Global animations / keyframes */

@keyframes rainbow { 
  0% { background-position: left; }
  50% { background-position: right; }
  100% { background-position: left; }
}

@keyframes expand {
  from {
    width: 0;
  }
  to {
    width: 96%;
  }
}

@keyframes appearText {
  0% {
    opacity: 0;
  } 100% {
    opacity: 1;
  }
}

@keyframes softAppearText {
  0% {
    opacity: 0;
  } 100% {
    opacity: 0.1;
  }
}

@keyframes moveAndAppear {
  from {
    opacity: 0;
    bottom: 10px;
  } 
  to {
    opacity: 1;
    bottom: 0;
  }
}

@keyframes backAndForth {
  0% { transform: translateX(0); }
  50% { transform: translateX(3px); }
  10% { transform: translateX (0); }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}