@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');

body {
  font-family: 'Nunito', sans-serif;
}

p, li {
  line-height: 2rem;
}

article h2 {
  text-align: center;
}

.header-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  text-align: center;
  padding: 0 2rem;
}

.header-title {
  font-size: 2.5em;
}

.header-description {
  font-size: 0.8em;
}

.editor-dark {
  font-family: monospace;
  background-color: #222;
  color: #fff;
  padding: 1rem;
  min-height: 12rem;
  cursor: pointer;
}

.syntax-typing {
  white-space: break-spaces;
}

.syntax-typing::after {
  content: "|";
  color: #fff;
  animation: blink ease-in 1s infinite;
  margin-left: -0.25rem;
}

.credit-person {
  padding: 1rem;
}

.person-image {
  width: 7rem;
  margin: 1rem auto;
  display: block;
  border-radius: 50%;
  border: 2px solid #fff;
}

.person-name, .person-contact {
  text-align: center;
}

.person-contact {
  opacity: 0.7;
  font-size: small;
}

@keyframes blink {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}
