body {
  text-align: center;
  background-color: #e8eaf9;
}
header {
  margin: 50px 500px;
  font-family: "Charter";
  font-size: 20px;
  border: solid 7px white;
  background-color: #e8eaf9;
}
h1 {
  color: #008854;
  margin-bottom: 0;
}
h2 {
  color: #c60a8d;
  margin-top: 0;
}
.search-block {
  background-color: white;
  padding: 50px 20px 30px 40px;
  margin: auto 400px;
  border-radius: 20px;
}
form {
  display: flex;
}
.exemple {
  margin-top: 20px;
  display: flex;
  color: #008854;
}
.input-text {
  border: 2px solid black;
  border-radius: 10px;
  width: 70%;
  padding: 14px;
  font-size: 14px;
  margin-right: 10px;
}
.input-button {
  font-size: 18px;
  border-radius: 10px;
  padding: 15px 20px;
  background-color: #e8eaf9;
  border: solid 2px black;
}
.input-button:hover {
  cursor: pointer;
  background-color: #aaf0d1;
  color: #c60a8d;
  border: solid 2px #c60a8d;
  transition: all ease-in-out 0.5s;
}

.poem-author {
  background-color: #aaf0d1;
  padding: 20px 0 40px;
  margin: 20px 470px;
  border: solid 4px white;
  border-radius: 10px;
}
.poem-title {
  color: #006f46;
  font-family: "Palatino";
  font-size: 30px;
  padding-bottom: 20px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #aaf0d1;
}

.loader {
  max-width: 150px;
  width: 150px;
  height: auto;
  stroke-linecap: round;
}

circle {
  fill: none;
  stroke-width: 3.5;
  animation-name: preloader;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  transform-origin: 170px 170px;
  will-change: transform;

  &:nth-of-type(1) {
    stroke-dasharray: 550px;
  }

  &:nth-of-type(2) {
    stroke-dasharray: 500px;
  }

  @for $i from 1 through 2 {
    &:nth-of-type(#{$i}) {
      animation-delay: -#{$i * 0.15}s;
    }
  }
}

@keyframes preloader {
  50% {
    transform: rotate(360deg);
  }
}

.poem {
  font-size: 17px;
  line-height: 1.6;
}
.name {
  padding-top: 30px;
  color: #c60a8d;
  font-size: 28px;
  font-family: Apple Chancery;
}
footer {
  margin: 50px 0;
  font-size: 18px;
}
footer a {
  color: #c60a8d;
}
