* {
  box-sizing: border-box;
}

body {
  background-color: #F1F1F1;
  font-family: monospace, sans-serif;
  line-height: 1.72;
  font-size: 16px;
  color: #333;
}

h1 {
  text-align: center;
  font-size: calc(10vw + 8px);
  font-weight: lighter;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 3.75rem;
  }
}

h2 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: lighter;
  margin: 0 auto;
}

h3 {
  font-size: 1.4rem;
  margin: 2rem auto 1rem;
}

main {
  max-width: 800px;
  padding: 10px 20px 40px;
  margin: 0 auto;
}

hr {
  margin: 20px auto;
}

.btn-container {
  display: flex;
  flex-wrap: wrap;
}

.btn-container .btn {
  margin: .4rem .8rem;
  margin-left: 0;
}

.btn {
  background: none;
  border: 1px solid;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0;
  padding: 0.2rem .8rem;
  transition: .1s ease-in-out;
}

.btn:hover {
  background-color: #333;
  border-color: #333;
  color: #F1F1F1;
}

.darkli .title {
  font-size: 1.4rem;
  font-weight: bold;
}

/**
 * GitHub corner
 */
.github-corner:hover .octo-arm {
  animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {
  0%,
  100% {
    transform: rotate(0)
  }
  20%,
  60% {
    transform: rotate(-25deg)
  }
  40%,
  80% {
    transform: rotate(10deg)
  }
}

@media (max-width:500px) {
  .github-corner:hover .octo-arm {
    animation: none
  }
  .github-corner .octo-arm {
    animation: octocat-wave 560ms ease-in-out
  }
}
