html {
  scroll-behavior: smooth;
}

body {
  padding: 12px;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 14px;
  color: #222;
}

.wrapper {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

main {
  margin-bottom: 48px;
}

h2 {
  margin: 48px 0 24px;
}
h3 {
  margin: 32px 0 24px;
}

p {
  line-height: 1.5;
}

a {
  color: #0077ee;
  letter-spacing: 0.5px;
}

a.sign-up {
  padding: 8px 16px;
  display: inline-block;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  color: #e7e7e7;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#b4e391+0,61c419+30,61c419+50,61c419+70,b4e391+100 */
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#97cc70+0,61c419+25,61c419+50,61c419+75,97cc70+100 */
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#61c419+0,55a815+25,509e14+50,55a815+75,61c419+100 */
  background: #61c419; /* Old browsers */
  background: -moz-linear-gradient(
    -45deg,
    #61c419 0%,
    #55a815 25%,
    #509e14 50%,
    #55a815 75%,
    #61c419 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    -45deg,
    #61c419 0%,
    #55a815 25%,
    #509e14 50%,
    #55a815 75%,
    #61c419 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    135deg,
    #61c419 0%,
    #55a815 25%,
    #509e14 50%,
    #55a815 75%,
    #61c419 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#61c419', endColorstr='#61c419',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}
a.sign-up:hover {
  filter: brightness(1.1);
}

code {
  background: rgba(200, 200, 200, 0.5);
}

.green {
  color: green;
}
.blue {
  color: blue;
}

.json {
  padding: 20px;
  border: 1px solid #999;
  border-radius: 4px;
  background: rgba(200, 200, 200, 0.2);
}

.table {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.table code {
  display: inline-block;
  margin-top: 16px;
  margin-bottom: 8px;
}
.table span {
  display: inline-block;
  margin-bottom: 16px;
}
.table hr {
  width: 100%;
}

.table-2 .row {
  display: flex;
  flex-direction: column;
}
.table-2 .inner-row {
  margin: 8px 0;
  display: flex;
  justify-content: space-between;
}
.table-2 code {
  padding: 3px 1px;
  display: inline-block;
  font-size: 0.8rem;
}
.table-2 span {
  display: inline-block;
  font-weight: bold;
}
.table-2 > div:nth-child(1) span,
.table-2 > div:nth-child(1) code {
  color: green;
}
.table-2 > div:nth-child(2) span,
.table-2 > div:nth-child(2) code {
  color: #24e;
}

@media (min-width: 500px) {
  .table-2 code {
    padding: 3px 0;
    width: 24px;
    text-align: center;
  }
}

.table-3 {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
}
.table-3 code {
  width: 120px;
  padding: 4px;
  display: inline-block;
  margin: 0 4px 4px 0;
}

.table-4 {
  display: flex;
}
.table-4 div {
  width: 80px;
  margin-right: 4px;
  display: flex;
  flex-direction: column;
}
.table-4 code {
  display: inline-block;
  padding: 4px;
  margin-bottom: 4px;
}

.button {
  padding-top: 48px;
  text-align: center;
}

footer {
  padding-top: 32px;
  border-top: 1px solid rgba(200, 200, 200, 0.5);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer.social {
  display: flex;
  justify-content: flex-end;
}
footer img {
  width: 30px;
  margin-left: 12px;
}
footer .invert {
  filter: invert(0.8);
}

@media (min-width: 640px) {
  body {
    padding: 50px 50px 24px;
    font-size: 16px;
  }
  .table {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-auto-rows: 40px;
    column-gap: 30px;
  }
  .table hr {
    display: none;
  }
  .table code {
    margin-top: 0;
    margin-bottom: 0;
  }
  .table span {
    margin-bottom: 0;
  }
}
