@font-face {
    font-family: "hellix-medium";
    src: url("https://static1.squarespace.com/static/628a51fb0d1ada7f482e1682/t/63126a820d60e35c88b287bd/1662151298628/Hellix-Medium.ttf")
      format("truetype"); /* Safari, Android, iOS */
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    max-width: 1920px;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem;
    font-family: hellix-medium;
    color: hsl(var(--hue), 100%, 9%);
    background: linear-gradient(
      to bottom,
      hsl(var(--hue), 95%, 99%),
      hsl(var(--hue), 95%, 84%)
    );
  }

  .navbar {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100px;
    display: block;
    background-color: transparent;
  }
  
  .title-logo {
    display: contents;
  }

  .title-logo-img {
    width: 55px;
    height: 55px;
    margin-right: 5px;
    transition: all 0.3s ease;
  }
  
  .navbar-logo {
    display: grid;
    margin-right: 15px;
    float: right;
    margin-bottom: 10px;
    text-align: right;
    justify-content: end;
  }
  
  .navbar-logo-img {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
  }
  
  .navbar-logo-img:hover {
    content: url("https://static1.squarespace.com/static/628a51fb0d1ada7f482e1682/t/63aaa70e4527106aea6b41c5/1672128270871/science-white.png");
  }
  
  /* Preload the logo image */
  #logo.loaded {
    opacity: 1;
  }


  .orb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }
  
  strong {
    font-weight: 600;
    font-family: hellix-medium;
  }
  
  .overlay {
    position: relative;
    width: 100%;
    max-width: 1140px;
    max-height: 640px;
    padding: 8rem 6rem;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.375);
    box-shadow: 0 0.75rem 2rem 0 rgba(0, 0, 0, 0.1);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.125);
  }
  
  .overlay__inner {
    max-width: 36rem;
  }
  
  .overlay__title {
    display: inline-flex;
    font-size: 1.875rem;
    line-height: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    font-family: hellix-medium;
    width: 100%;
    align-items: center;
  }
  
  .text-gradient {
    font-family: hellix-medium;
    background-image: linear-gradient(
      45deg,
      hsl(var(--hue), 95%, 50%) 25%,
      hsl(var(--hue-complimentary2), 95%, 50%)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
  }
  
  .overlay__description {
    font-size: 1rem;
    line-height: 1.75rem;
    margin-bottom: 3rem;
    font-family: hellix-medium;
  }
  
  .overlay__btns {
    width: 100%;
    max-width: 30rem;
    display: flex;
  }
  
  .overlay__btn {
    width: 50%;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--hue), 95%, 98%);
    background: hsl(var(--hue), 100%, 9%);
    border: none;
    border-radius: 0.5rem;
    transition: transform 150ms ease;
    outline-color: hsl(var(--hue), 95%, 50%);
  }
  
  .overlay__btn:hover {
    transform: scale(1.05);
    cursor: pointer;
  }
  
  .overlay__btn.overlay__btn--colors a {
    color: white !important;
  }
  
  .overlay__btn--transparent {
    background: transparent;
    color: hsl(var(--hue), 100%, 9%);
    border: 2px solid hsl(var(--hue), 100%, 9%);
    border-width: 2px;
    margin-right: 0.75rem;
  }
  
  .overlay__btn-emoji {
    margin-left: 0.375rem;
  }
  
  a {
    text-decoration: none;
    color: hsl(var(--hue), 100%, 9%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: hellix-medium;
  }
  
  /* Not too many browser support this yet but it's good to add! */
  @media (prefers-contrast: high) {
    .orb-canvas {
      display: none;
    }
  }
  
  @media only screen and (max-width: 1140px) {
    .overlay {
      padding: 8rem 4rem;
    }
  }
  
  @media only screen and (max-width: 840px) {
    body {
      padding: 1.5rem;
    }
  
    .overlay {
      padding: 4rem;
      height: auto;
    }
  
    .overlay__title {
      font-size: 1.25rem;
      line-height: 2rem;
      margin-bottom: 1.5rem;
    }
  
    .overlay__description {
      font-size: 0.875rem;
      line-height: 1.5rem;
      margin-bottom: 2.5rem;
    }
    .navbar {
      position: relative;
      display: inline-flex;
    }
    .navbar-logo {
      margin-right: 0px;
      margin-bottom: 0px;
      margin-top: 12px;
    justify-content: center;
    }
  }
  
  @media only screen and (max-width: 600px) {
    .overlay {
      padding: 1.5rem;
    }
  
    .overlay__btns {
      flex-wrap: wrap;
    }
  
    .overlay__btn {
      width: 100%;
      font-size: 0.75rem;
      margin-right: 0;
    }
  
    .overlay__btn:first-child {
      margin-bottom: 1rem;
    }
  }
  