* {
  box-sizing: border-box;
}
html,
body {
  min-height: 100%;
  background: #fff;
  color: #000;
  font-family: "Roboto", sans-serif;
}
/* sets the body height of the browser, so that backgrounds and div heights work correctly. Color and background will almost certainly be altered; they are just placeholders */

body {
  font-size: 1.4rem;
  text-rendering: optimizeLegibility;
}
/* sets the base font size for the document; turns on kerning pairs and ligatures */

body,
ul,
ol,
dl {
  margin: 0;
}
article,
aside,
audio,
footer,
header,
nav,
section,
video {
  display: block;
}

/* ensures that older browsers will display HTML5 elements correctly */

h1 {
  font-size: 1.4rem;
}
/* begins to set up font sizes relative to base rem – h1 has been used as an example */

p {
  -ms-word-break: break-all;
  word-break: break-all;
  word-break: break-word;
  -moz-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
/* sets hyphenation by default on paragraphs */

textarea {
  resize: vertical;
}
/* changes textarea resizing from "both" (UA default) to vertical only */

table {
  border-collapse: collapse;
}
td {
  padding: 0.5rem;
}
/* causes tables to actually look like tables */

img {
  border: none;
  max-width: 100%;
}
/* removes outlines from linked images (for older browsers and IE), sets up images for responsive design layout */

input[type="submit"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner {
  border: 0px;
}
/* removes the inner border effect from focused buttons for form elements in Firefox */

input[type="search"] {
  -webkit-appearance: textfield;
}
input[type="submit"] {
  -webkit-appearance: none;
}
/* removes the OS X appearance from HTML5 search inputs and submit buttons when viewed in Safari */

input:required:after {
  color: #f00;
  content: " *";
}
/* sets up required form fields with the conventional following red asterix */
input[type="email"]:invalid {
  background: #f00;
}
/* causes a visual alert in browsers that do client-side checking of HTML5 email field – this may already be the default in some browsers. */

.right {
  float: right;
  margin-left: 2rem;
  clear: right;
}
.left {
  float: left;
  margin-right: 2rem;
  clear: left;
}
/* allows a quick shortcut for floating elements left and right while avoiding the “float quirk” problem */

sub,
sup {
  line-height: 0;
}

.hamburger {
  padding: 8px;
  width: 48px;
  position: absolute;
  left: 19px;
  top: 32px;
  cursor: pointer;
}
.hamburger div {
  width: 100%;
  height: 5px;
  background-color: black;
  margin: 6px 0;
}

main {
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

body.menu-open .left-menu {
  height: 100vh;
  overflow: auto;
}

.left-menu {
  position: fixed;
  z-index: 3;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: #f4f5f8;
  font-size: 18px;
  text-align: center;
  padding: 0 0 26px;
  font-family: "Roboto Condensed", sans-serif;
  height: 120px;
  overflow: hidden;
  transition: 1s ease all;
}

.content-logo {
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
  color: #323f4c;
  font-size: 1.1em;
  font-family: "Roboto Condensed", sans-serif;
}

.left-menu img {
  display: inline-block;
  max-width: 70%;
  vertical-align: middle;
  margin: 26px auto 16px;
}

.left-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 28px;
  margin-top: 36px;
  text-align: left;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 14px;
}

.left-menu ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 42px;
  padding: 0 0 0em 13.25%;
  color: #777a7a;
  letter-spacing: 0.025em;
  text-transform: capitalize;
  cursor: pointer;
  font-size: 14px;
  font-family: Roboto, san-serif, Helvetica;
  font-weight: 400;
}

.left-menu ul li.active {
  background-color: #dcdee9;
  color: #00a8e3;
}

.left-menu ul li.empty {
  height: 1.5em;
}
.left-menu .categories {
  transition: 1s ease all;
}
.right-content {
  width: 100%;
  font-size: 0;
  position: relative;
  padding-top: 120px;
}

.right-content section {
  padding: 0;
  overflow: hidden;
}

.right-content h2,
.right-content h3,
.right-content h4,
.right-content h5,
.right-content h6 {
  font-size: 15px;
  margin-top: 2.5em;
  margin-bottom: 0.8em;
  color: #034c8f;
  text-transform: uppercase;

  font-family: "Roboto", sans-serif;

  margin-right: 50%;
  box-sizing: border-box;
  display: block;
  max-width: 680px;
  font-weight: 400;
}
.right-content h1,
.right-content h2,
.right-content h3,
.right-content h4,
.right-content h5,
.right-content h6,
.right-content p,
.right-content table,
.right-content aside,
.right-content dl {
  margin-right: 50%;
  padding: 0 28px;
  box-sizing: border-box;
  display: block;
  max-width: 680px;
}

.right-content h1,
.right-content h2 {
  font-weight: 400;
}

.right-content h4 {
  color: #00a8e3;
  margin-top: 0;
  text-transform: none;
  font-size: 14px;
  margin-bottom: 0.2em;
}
.right-content section > h4 {
  margin-top: 30px;
  font-weight: 400;
}
.right-content h1:first-child {
  font-size: 1.333em;
  color: #034c8f;
  padding-top: 2.5em;
  text-transform: uppercase;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-top-width: 0;
  margin-top: 0;
  margin-bottom: 1.3em;
  clear: both;
  font-family: "Roboto Condensed", sans-serif;
}
.right-content code,
.right-content p {
  font-size: 14px;
  color: #777a7a;
  margin-bottom: 16px;
  line-height: 1.6;
  font-weight: 300;
  font-family: "Roboto Condensed", sans-serif;
}
.right-content p code {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
}

.right-content h2 {
  font-size: 1.333rem;
}

.right-content > section > * {
  width: calc(100% - 56px);
  padding-left: 28px;
}
.right-content > section > code {
  padding-left: 0;
  margin-left: 28px;
}

.right-content pre {
  background-color: #323f4c;
  border-color: #323f4c;
  color: #fff;
  padding: 0 28px 2em;
  margin: 0;
  width: 100%;
  float: right;
  clear: right;
  box-sizing: border-box;
  padding-top: 40px;

  margin-bottom: 16px;
}
.right-content pre:empty {
  display: none;
}
.right-content code,
.right-content pre {
  font-family: "Source Code Pro", monospace;
}
.right-content code.highlighted {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  display: block;

  word-wrap: break-word;
}
.right-content pre code {
  border-radius: 3px;
  display: block;
  overflow-x: auto;
  background: #323f4c;
  background-color: rgba(0, 0, 0, 0.05);
  font-size: 12px;
  color: white;
  margin-top: 16px;
  padding: 28px 28px 28px 56px;
}
.right-content pre h4 {
  color: #00a8e3;
  margin-top: 0;
  text-transform: none;
  font-size: 14px;
  margin-bottom: 0.2em;
}
.bg-color {
  display: none;
  position: absolute;
  right: 0;
}

.right-content table {
  font-size: 13.2px;
  margin-bottom: 1.5em;
  margin-left: 28px;
  border-collapse: collapse;
  border-spacing: 0;
  display: table;
  font-family: "Roboto Light", "Roboto Condensed";
}
.right-content table tr:last-child {
  border-bottom: 1px solid #ccc;
}

.right-content table th {
  font-size: 0.925em;
  padding: 5px 18px 5px 0;
  border-bottom: 1px solid #ccc;
  vertical-align: bottom;
  text-align: left;
  line-height: 1.6;
}
.right-content table td {
  padding: 5px 18px 5px 0;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: #777a7a;
}
.right-content table td a {
  color: #00a8e3;
  text-decoration: none;
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;

  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translatey(-50%);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.load-screen {
  background: white;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  opacity: 1;
  transition: 1s ease-in all;
}
.load-screen.done {
  opacity: 0;
  pointer-events: none;
}

@media screen and (min-width: 681px) {
  .hamburger {
    display: none;
  }
  .right-content {
    width: calc(100% - 300px);
    margin-left: 300px;
    overflow: hidden;
    padding-top: 0px;
  }
  .left-menu {
    position: fixed;
    width: 300px;
    height: auto;
    overflow: auto;
  }
  .left-menu .categories {
    width: 100%;
    display: block;
  }
}
@media screen and (min-width: 981px) {
  .bg-color {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: calc(50% - 164px);
    height: 100%;
    background: #323f4c;
    /* z-index: 1; */
  }
  .right-content table {
    margin-left: 0;
  }
  .right-content pre {
    width: 50%;

    padding-top: 115px;
    margin-top: -96px;
  }
  .right-content > section > * {
    width: calc(50% - 28px);
    padding-left: 0;
  }
  .right-content > section > code {
    padding-left: 0;
    margin-left: 0;
  }

  .right-content section {
    padding: 0 0 0 28px;
  }
}
