/* resets */

html, body, ul, ol, li, form, p { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin-top: 0; }
img { border: 0; }

/* end of resets */

html {
    height: 100%;
    font-size: 20px;
}

body {
    background: #f9f9f9;
    line-height: 1.5rem;
    height: 100%;
}

.logo {
    display: flex;
    justify-content: center;
    margin-top: 1em;
    margin-bottom: 1em;
}

.logo img {
    width: 100%;
    max-width: 600px;
}

.container {
    max-width: 920px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    padding: 6px;

    font-family: "Hack", monospace;
}

div.code {
    display: flex;
    justify-content: center;
    color: #000000;
    overflow: hidden;
    border-bottom: 1px solid #d3d3d3;
}

div.code pre {
    line-height: 1.2rem;
    font-weight: 500;
}

.highlight {
    color: #ff0000;
}

.body {
    display: block;
    justify-content: center;
    color: #696969;
    border-bottom: 1px solid #d3d3d3;
    box-sizing: border-box;
}

.body .code {
    color: black;
    background-color: #d3d3d3;
}

.body p {
    margin: 1em 0;
}

.body a {
    color: #696969;
    text-decoration: none;
    border-bottom: 1px dotted #d3d3d3;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-family: "Hack", monospace;
    color: #d3d3d3;
}

.footer p {
    margin-top: 1em;
}

.footer a {
    color: #696969;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    color: #000000;
}

.legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #d3d3d3;
    font-size: 16px;
}

.legal p {
    margin: 1em 0;
}

.legal a {
    color: #d3d3d3;
    text-decoration: none;
    border-bottom: 1px dotted #d3d3d3;
}

@media screen and (max-width: 768px) {
  html {
    font-size: 16px;
  }
  div.code {
    justify-content: start;
    font-size: 10px;
  }
  .footer {
    font-size: 12px;
  }
  .legal {
    font-size: 12px;
  }
}
