* {
  font-family: Space-Grotesk,sans-serif;

  box-sizing: border-box;
  
  user-select: none;
}

@font-face {
  font-family: 'Space-Grotesk';
  src: url('../fonts/SpaceGrotesk-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'Quilon';
  src: url('../fonts/Quilon-Variable.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
  font-style: normal;
}

html {
  background-color: #0d0d11;
  color: #e6efff;

  height: 100vh;
  height: 100dvh;
}

hr {
  color: #272733;
}

.grain {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  
  background-image: url("../media/grain.png");
  z-index: -100;
  pointer-events: none;
}

.half {
  padding: .8rem;
  border: #15151c;
  border-radius: 1rem;

  box-shadow: 0 4px 30px #00000003;
  backdrop-filter: blur(4px);
  border: 1px solid #15151c;

  .avatar {
    pointer-events: none;
    max-height: 2.2rem;
    border-radius: .5rem;
    margin-right: .5rem;
  }

  h1 {
    font-family: Quilon;
    font-weight: 600;
    font-size: 3.5rem;

    margin: 0;
    line-height: 0;
    margin-bottom: .5rem;
  }

  h2 {
    font-family: Quilon;
    font-weight: 600;
    font-size: 1.5rem;

    margin: 0;
  }

  p {
    line-height: 1.5rem;
    font-weight: 500;
    text-justify: inter-character;

    margin: 0;
  }

  &.top { 
    width: 32rem;
  }

  &.takeover { 
    max-width: 42rem;
    min-width: 42rem;

    padding: 0rem;
    margin: 1rem;

    border-radius: 1rem;

    display: none;
  }

  @media (max-width: 703px) {
    &.takeover {
      max-width: 20rem;
      min-width: 20rem;
    }
  }

}

.buttons {
  display: flex;
  gap: .5rem;
  
  .button {
    align-items: center;
    padding: .25rem;
    display: flex;

    img {
      pointer-events: none;
      width: 1.5rem;
      height: 1.5rem;
      margin: auto;

    }

    &:hover {

      img {
        transform: translate(0px, 2px);
      }
      
    }
  }
}

.features {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  margin: 10rem auto;
  max-width: 60rem;
}

.fading {
  opacity: 0;
  animation-name: fadein;
  animation-duration: 1000ms;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

@keyframes fadein {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}