* {
  box-sizing: border-box;
  color: #333;
}

body {
  background-color: #81a69b;
  background-image: url(http://pets-images.dev-apis.com/pets/wallpaperB.jpg);
  font-family: "Fredoka One", cursive, Tahoma, Geneva, Verdana, sans-serif;
  margin-left: 50px;
  margin-right: 50px;
}
h1 {
  font-size: 50px;
  font-family: "Permanent Marker", cursive;
  color: rgb(163, 163, 163);
  text-transform: uppercase;
}
h1 span {
  animation: animate 2s linear infinite;
}

@keyframes animate {
  0%,
  80% {
    color: #333;
    text-shadow: none;
  }
  100% {
    color: rgb(181, 105, 154);
    text-shadow: 0 0 20px white;
    text-shadow: 0 0 50px white;
    text-shadow: 0 0 70px white;
    text-shadow: 0 0 90px white;
  }
}

h1 span:nth-child(1) {
  animation-delay: 0s;
}

h1 span:nth-child(2) {
  animation-delay: 0.4s;
}

h1 span:nth-child(3) {
  animation-delay: 0.8s;
}

h1 span:nth-child(4) {
  animation-delay: 1.2s;
}

h1 span:nth-child(5) {
  animation-delay: 1.6s;
}
h1 span:nth-child(6) {
  animation-delay: 2s;
}
h1 span:nth-child(7) {
  animation-delay: 2.4s;
}
.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  justify-items: center;
  align-items: center;
}
.container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
}
.madLibsPreview,
.madLibsEdit {
  line-height: 60px;
}
input,
.preInput {
  width: 100px;
  margin: 0 auto;
  padding: 10px;
  margin-bottom: 25px;
  border-radius: 6px;
  background: #faeff0;
  box-shadow: 0px 0px 12px #aaa, -0px -0px 12px #fff;
}
@media (max-width: 900px) {
  h1 {
    font-size: 30px;
  }
  .container {
    flex-direction: column;
  }
}
