*,
*::after,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  height: 100vh;
  max-width: 500px;
  border: 1px solid black;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

section#title {
  text-align: center;
  padding: 1rem 1rem;
}
section#title p {
  text-transform: capitalize;
}

section#input {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
section#input button {
  padding: 0 1rem;
  font-size: 2rem;
}
section#input span {
  font-size: 2rem;
}

section#display {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
section#display div {
  display: none;
}
section#display svg {
  -webkit-animation-name: rotate;
          animation-name: rotate;
  -webkit-animation-duration: 10s;
          animation-duration: 10s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
}
section#display .show-polygon {
  display: block;
}

@-webkit-keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}/*# sourceMappingURL=styles.css.map */