* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  font-family: 'Raleway', sans-serif;
}

.hero {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #010101;
  animation: showBg 1s ease-in-out forwards;
}

.hero__title {
  font-size: 100px;
  line-height: 1.4;
  color: #FFF;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 15px;
  opacity: 0;
  animation: showText 1s ease-in-out forwards;
  animation-delay: .4s;
  font-weight: 400;

  @media(max-width: 767px) {
    font-size: 56px;
  }
}

.hero__subtitle {
  font-size: 32px;
  line-height: 1.4;
  text-align: center;
  color: #FFF;
  animation: showSubtitle 1s ease-in-out forwards;
  animation-delay: 1s;
  opacity: 0;
  font-weight: 300;

  @media(max-width: 767px) {
    font-size: 24px;
  }
}

@keyframes showText {
  from {
    opacity: 0;
    transform: translateY(200px);
  } to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes showSubtitle {
  from {
    opacity: 0;
    transform: translateY(100px);
  } to {
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes showBg {
  from {
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
  } to {
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 0);
  }
}