* {
  font-family: Tabular,sans-serif;

  box-sizing: border-box;
  
  user-select: none;
}

@font-face {
  font-family: 'Tabular';
  src: url('../fonts/Tabular-Variable.woff2') format('woff2');
  font-weight: 600 700;
  font-display: swap;
  font-style: normal;
}

html {
  background-color: #ffffff;
  color: #000000;

  height: 100vh;
  height: 100dvh;
}

body { 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;

  margin: 10rem auto;
  max-width: 60rem;
}

.half {
  padding: 1rem;

  h1 {
    font-weight: 700;
    font-size: 3rem;

    margin: 0;
  }

  h2 {
    font-weight: 600;
    font-size: 1.5rem;

    margin: 0;
  }

  p {
    line-height: 1.5rem;
    font-weight: 500;

    margin: 0;
  }

  &.top { 
    width: 22rem;
  }

  &.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: 1.25rem;
  
  .button {
    align-items: center;
    padding: .25rem;
    display: flex;
    text-decoration: none;
    color: #000000;

    img {
      pointer-events: none;
      width: 1.5rem;
      height: 1.5rem;
      margin: auto;
    }

    &:hover {

      img {
        transform: translate(0px, 2px);
      }
      
    }
  }
}

.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;
  }
}