@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

@keyframes openPage {
  from { background-color: black; }
  to { background-color: rgba(0, 0, 0, 0.3); }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-50%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

body {
  width: 100%;
  height: 100vh;

  background-image: url('./images/background.gif');
  background-size: cover;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  height: 100%;

  animation: openPage 2s cubic-bezier(0.250, 0.460, 0.450, 0.940);
  background-color: rgba(0, 0, 0, 0.3);
}

.content {
  margin: 0 10%;

}

.content > h1, h2, h3, p {
  color: white;

  font-family: 'Pacifico';
  text-shadow: 2px 2px 24px rgba(0, 0, 0, 0.8);

  opacity: 0;
  transform: translateX(-50%);

  animation: fadeRight 800ms ease;
  animation-fill-mode: forwards;
}

.content > h1 {
  font-size: 64px;
  line-height: 150%;
  animation-delay: 600ms;
}

.content > h3 {
  font-size: 32px;
  animation-delay: 1000ms;
}

