:root {
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  font-weight: 400;
  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #242424;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

body {
  margin: 0;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
}

h1 {
  font-size:5em;
  line-height: 1.1;
  line-height: 1;
}

h1 >*:first-child {
  line-height: 1.2;
  letter-spacing: 0.1em;
}

.heading {
  display: flex;
  padding: 3em 1em;
  text-align: justify;
  margin: 0 auto;
  max-width: 800px;
}

.heading p {
  font-size: 1.72em;
  line-height: 2;
}

.heading * {
  margin: 0;
  padding: 0 1rem;
}


h1>*:last-child {
  letter-spacing: 0.175em;
  line-height: 1.25;
}

#app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vanilla:hover {
  filter: drop-shadow(0 0 2em #f7df1eaa);
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

@media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
}


.game {
  display: flex;
  padding: 0 1em;
  text-align: justify;
  margin: 0 auto;
  max-width: 800px;
  margin-bottom: 4em;
}

.game p {
  padding:  0 3.5rem 0 2rem;
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.8;
}

.game video {
  width: 330px;
}

@media (max-width: 800px) {
  .heading, .game {
    flex-direction: column;
    align-items: center;
  }

  :root {
    font-size: 0.7em;
  }

  .heading p, .game p {
    padding: 0;
  }

  .game p {
    margin-bottom: 1em;
  }

  .heading h1 {
    margin-bottom: 2rem;
  }

  .game video {
    width: 100%;
    max-width: 400px;
  }
}