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

body {
  margin: 0;
  padding: 0;
  background-color: #fefefe;
  font-family: 'Comic Neue', cursive, -apple-system, BlinkMacSystemFont, avenir next, avenir,
    segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
  color: #444;
  line-height: 1.5;
}

button,
a {
  font-family: 'Comic Neue', cursive, -apple-system, BlinkMacSystemFont, avenir next, avenir,
    segoe ui, helvetica neue, helvetica, Ubuntu, roboto, noto, arial, sans-serif;
}

body code {
  font-family: 'Source Code Pro', monospace;
  font-size: 14px;
}

h4 em {
  color: #ff5722;
  font-style: normal;
}

.links {
  position: absolute;
  top: 3px;
  right: 30px;
}

.links a {
  color: #5d657a;
  font-size: 15px;
  text-decoration: none;
}

.links a + a {
  margin-left: 20px;
}

.container {
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 80px 30px 120px;
}

h2 {
  margin-bottom: 20px;
  color: #000;
  font-size: 40px;
}

h3 {
  margin-bottom: 20px;
  font-size: 30px;
  color: #111;
}

h4 {
  margin-bottom: 10px;
  font-size: 24px;
}

p {
  margin-bottom: 30px;
  color: #666;
  font-size: 18px;
}

p ul {
  margin-top: 10px;
  margin-left: 20px;
}

p ul li + li {
  margin-top: 6px;
}

.description {
  margin-bottom: 60px;
  font-size: 20px;
  color: #333;
}

.example-button {
  display: inline-block;
  min-width: 60px;
  margin-left: 30px;
  padding: 8px 20px;
  outline: 0;
  border: 0;
  color: #0066cc;
  border-radius: 5px;
  background-color: #e5f2ff;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  vertical-align: middle;
}

.example-button:hover {
  opacity: 0.8;
}

.example-button:active {
  background-color: #cce5ff;
}

.example-button + .example-button {
  margin-left: 10px;
}

.playground {
  padding: 20px 30px;
  border: 1px solid #eee;
  font-size: 30px;
}

.playground > div {
  vertical-align: middle;
}

.example-area + .example-area {
  margin-top: 50px;
}

hr {
  margin: 15px 0;
  border-top: 1px dashed #fafafa;
}

.format {
  color: #888;
  font-size: 14px;
}

.char {
  padding: 0 10px;
  background: #eee;
}

.char + .char {
  margin-left: 5px;
}

.sep {
  padding: 0 2px;
}

.test span {
  display: inline-block;
}

.slot-counter {
  vertical-align: middle;
}

.item {
  box-sizing: border-box;
  display: block;
  width: 40px;
  height: 40px;
  padding: 5px;
}

.thanks {
  display: block;
  margin-top: 15px;
  color: #333;
  font-style: italic;
}

.my-code {
  padding: 2px 5px;
  border-radius: 2px;
  font-size: 16px;
  background-color: #e3eaf2;
  color: #333;
}

footer {
  border-top: 1px solid #eee;
}

footer .footer-content {
  position: relative;
  width: 1100px;
  max-width: 100%;
  margin: 0 auto;
  padding: 50px 30px 70px;
}

footer a {
  color: #999;
  text-decoration: none;
}

footer .github-link {
  position: absolute;
  top: 50px;
  right: 30px;
  width: 25px;
}

footer .github-link img {
  display: block;
  width: 100%;
}

.info {
  margin-top: 30px;
  font-size: 16px;
  color: #666;
}

.index-section {
  margin-bottom: 60px;
}

.index-section a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
}

.index-section a:hover {
  text-decoration: underline;
}

.index-section > ul {
  margin-left: 20px;
}

.index-section > ul > li + li {
  margin-top: 4px;
}

.index-section > ul > li > ul {
  margin-top: 3px;
  margin-left: 20px;
}

.index-section > ul > li > ul > li + li {
  margin-top: 1px;
}

.index-section > ul > li > ul a {
  color: #666;
  font-size: 16px;
}

.divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 80px 0;
  border-bottom: 1px dashed #afafaf;
  text-align: center;
}

.divider::before {
  content: '***';
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  padding-top: 10px;
  background-color: #fff;
  font-size: 18px;
  color: #afafaf;
  transform: translate(-50%, -50%);
}


@media screen and (max-width: 768px) {
  .container {
    padding: 30px 20px 50px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .description {
    font-size: 18px;
  }

  .playground {
    padding: 10px 20px;
    font-size: 20px;
  }

  .example-button {
    min-width: 50px;
    margin-left: 20px;
    padding: 6px 10px;
    font-size: 13px;
  }

  body code {
    font-size: 13px;
  }

  .my-code {
    font-size: 14px;
  }

  footer .footer-content {
    padding: 30px 20px;
  }

  footer .github-link {
    display: block;
    position: static;
    margin: 30px 0 0 auto;
    width: 20px;
  }

  .divider {
    margin: 60px 0;
  }
}