* {
  margin: 0;
  padding: 0;
}

html,
body {
  font-size: 16px;
  /* Prevent scroll on narrow devices */
  overflow-x: hidden;
  background-color: #252423;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  min-width: 320px;
}

/* navbar */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  color: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  background-color: #252423;
}

.navbar-logo {
  width: 50px;
  height: 50px;
}

.navbar-logo img {
  height: 50px;
  vertical-align: middle;
}

.navbar-toggler {
  display: none;
  background: transparent;
  border: 0;
}

.navbar-toggler-icon {
  padding: 0 15px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  font-size: 1.25rem;
  line-height: 1;
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  content: "";
  background-size: 100% 100%;
}

.navbar-menu {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
}

.navbar-menu ul {
  display: flex;
  list-style: none;
  height: 50px;
}

.navbar-menu li>a {
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-family: "Beaufort for LOL","Times New Roman";
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.navbar-menu a:not([href]) {
  cursor: default;
}

.navbar-menu li>a:hover {
  color: #fff;
  background-color: #2e2e2e;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
  height: 100%;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown>a {
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  font-family: "Beaufort for LOL","Times New Roman";
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.dropdown:hover>a {
  color: #fff;
  background-color: #2e2e2e;
}

.dropdown-content {
  width: max-content;
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 100%;
  box-shadow: 0px 4px 12px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content.dark {
    background-color: #2e2e2e;
}

.dropdown-content.right {
    right: 0;
}

.dropdown-content>a {
  color: #000;
  font-family: "Gill Sans W04", GillSans, "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-size: 15px;
  padding: 0.75em 1em;
  text-decoration: none;
  display: block;
}

.dropdown-content>a:hover {
  color: #000;
  background-color: #f1f1f1;
}

.dropdown-content.dark>a {
  color: #bbb;
}

.dropdown-content.dark>a:hover {
  color: #fff;
  background-color: #3e3e3e;
}

/* layout */

.layout {
  margin-top: 50px;
  flex: 1 1 auto;
  display: flex;
  background-color: #fff;
  /* background-color: #f2f8ff; */
  font-family: "Gill Sans W04", GillSans, "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
}

/* sidebar */

.sidebar {
  flex: 0 0 250px;
  height: calc(100vh - 50px);
  background-color: #f6f6f6;
  display: flex;
  flex-direction: column;
  border-right: 1px #ddd solid;
}

.menu {
  flex: 1 1 auto;
  overflow: auto;
}

.menu a {
  color: #414141;
  text-decoration: none;
}

.menu a:hover {
  color: #dc291e;
}

.section {
  padding: 15px;
  font-size: 15px;
}

.section:not(:first-child) {
    border-top: 1px #ddd solid;
}

.section header {
    padding-bottom: 5px;
    color: #494949;
    font-size: 16px;
    font-family: Spiegel;
    font-weight: bold;
    text-transform: uppercase;
}

.section div {
  padding-bottom: 5px;
}

.section.indent div {
  padding-left: 10px;
  padding-bottom: 5px;
}

.sidebar-footer {
  padding: 15px;
  flex: 0 0 auto;
  font-size: 11px;
}

/* footer */

.footer-social {
  width: 110px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
}

.footer-social a {
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
}

.footer-social div {
  width: 25px;
  height: 25px;
}

.sidebar-footer .footer-social path {
  fill: #d5d5d5;
}

.content-footer .footer-social path {
  fill: #aaa;
}

.content-footer .footer-social .twitter path {
  fill: #1DA1F2;
}

.content-footer .footer-social .discord path {
  fill: #7289DA;
}

.content-footer .footer-social .github path {
  fill: #181717;
}

.footer-social path {
  -webkit-transition-duration: .1s;
  transition-duration: .1s;
}

div.twitter {
  width: 24px;
}

a:hover .twitter path {
  fill: #1DA1F2;
}

a:hover .discord path {
  fill: #7289DA;
}

div.github {
  width: 22px;
}

a:hover .github path {
  fill: #181717;
}

.footer-links {
  width: 100%;
  margin: 10px auto;
  display: inline-block;
  text-align: center;
  color: #aaa;
}

.sidebar-footer .footer-links a {
  color: #aaa;
}

.content-footer .footer-links a {
  color: #666;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: #000;
}

.sidebar-footer .footer-copyright {
  color: #aaa;
}

.content-footer .footer-copyright {
  color: #666;
}

.footer-copyright {
  max-width: 250px;
  margin: 0 auto;
  text-align: center;
}

/* content */

.content-container {
  flex: 1 1 auto;
  height: calc(100vh - 50px);
  overflow: auto;
}

.content {
  margin: 50px auto 100px;
  padding: 0 25px;
  max-width: 800px;
  /* font-family: Spiegel, sans-serif; */
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.content-title {
  font-family: "Beaufort for LOL",serif;
  margin: 0 0 50px;
  font-size: 3.4375em;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  line-height: 1em;
  letter-spacing: 0.1em;
  color: #272A2F;
}

.content-footer {
  margin: 0 auto;
  padding: 25px;
  max-width: 800px;
  display: none;
  flex: 0 0 auto;
  font-size: 11px;
}

/* content styling */

.content h1 {
  margin: 30px 0 0;
}

.content h2 {
  margin: 15px 0 0;
}

.content a {
  color: #dc291e;
  text-decoration: none;
}

.content a:hover {
  text-decoration: underline;
}

.content img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.content p {
  padding: 0.66rem 0;
}

.content ol {
  padding: 0;
  padding-inline-start: 1.8rem;
}

.content ul {
  padding: 0;
  padding-inline-start: 1.8rem;
}

.content li:not(:first-child) {
  padding-top: 0.33rem;
}

.content code {
  padding: 2px 4px;
  color: #d14;
  white-space: nowrap;
  background-color: #f7f7f9;
  border: 1px solid #b7bcc7; /* #e1e1e8; */
  border-radius: 4px;
  font-family: Menlo,Monaco,Consolas,"Courier New",monospace;
  font-size: .75em;
}

.content blockquote {
  border-left: .25em solid #d0d0d0;
  background: #f7f7f7;
  color: #696969;
  padding: 0 1em;
  line-height: 1.25;
}

/*
.content code {
  padding: 1px 3px;
  color: #dc291e;
  background-color: #f5f7fa;
  border: 1px solid #b7bcc7;
  border-radius: 4px;
  font-size: .75em;
}*/

.content pre {
  padding: 0.66em 0;
}

.content pre>code {
  display: block;
  margin: 0;
  padding: 6px;
  color: #333;
  /* background: linear-gradient(to bottom,#fff 0,#fff .75rem,#f5f7fa .75rem,#f5f7fa 2.75rem,#fff 2.75rem,#fff 4rem); */
  background: linear-gradient(to bottom, #fff 0, #fff 6px, #f5f7fa 6px, #f5f7fa 24px, #fff 24px, #fff 36px);
  background-size: 100% 36px;
  border: 1px solid #d3daea; /* #ccc */
  border-radius: 4px;

  font-size: 12px;
  line-height: 18px;
  white-space: pre-wrap;       /* css-3 */
  white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
  white-space: -pre-wrap;      /* Opera 4-6 */
  white-space: -o-pre-wrap;    /* Opera 7 */
  word-wrap: break-word;
  word-break: break-all;

  cursor: text;
  overflow-x: auto;
}

.content table {
  /* border: 1px solid #e4eaec; */
  margin: 1em 0;
  border-spacing: 0;
  border-collapse: separate;
}

/* top-left border-radius */
.content table tr:first-child th:first-child {
    border-top-left-radius: 5px;
}

/* top-right border-radius */
.content table tr:first-child th:last-child {
    border-top-right-radius: 5px;
}

/* bottom-left border-radius */
.content table tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

/* bottom-right border-radius */
.content table tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

.content table tr th,
.content table tr td {
  border-right: 1px solid #d3daea;
  border-bottom: 1px solid #d3daea;
  padding: 5px;
}

.content table tr th {
  border-top:solid 1px #d3daea;
}

.content table tr th:first-child,
.content table tr td:first-child {
  border-left: 1px solid #d3daea;
}

.content table tr th:first-child,
.content table tr td:first-child {
  border-left: 1px solid #d3daea;
}

.content table>tbody>tr>td,
.content table>tbody>tr>th,
.content table>tfoot>tr>td,
.content table>tfoot>tr>th,
.content table>thead>tr>td,
.content table>thead>tr>th {
  padding: 8px;
  /* border: 1px solid rgb(228, 234, 236); */
  border-image-source: initial;
  border-image-slice: initial;
  border-image-repeat: initial;
  vertical-align: top;
  /* font-weight: 400; */
  text-align: left;
}

.content table>thead tr th {
  background: #e9ebee; /* #141414; */
  text-transform: uppercase;
  /* color: #ffffff; */
}



.content table>tbody>tr:nth-of-type(even) {
  background-color: #f5f7fa;
}

/* min-width */

@media (max-width: 349px) {
  html,
  body {
    overflow-x: auto;
  }
}

/* mobile */

@media (max-width: 1124px) {
  .navbar {
    justify-content: space-between;
  }

  .navbar-toggler {
    display: block;
  }

  .navbar-menu {
    position: fixed;
    margin-top: 50px;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 100%;
    background: #333;
    overflow: auto;
    display: block;
  }

  .navbar-menu.open {
    left: 0;
  }

  .navbar-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    height: auto;
  }

  .navbar-menu a, .navbar-menu li>a {
    padding: 1em 1em;
  }

  .dropdown {
    display: block;
  }

  .dropdown-content {
    position: static;
  }

  .dropdown2 {
    display: block;
    height: auto;
  }

  .sidebar {
    display: none;
  }

  .content {
    margin: 25px auto;
  }

  .content-title {
    margin-bottom: 25px;
  }

  .content-footer {
    display: block;
  }
}

@media (max-width: 449px) {
  .content-title {
    font-size: 2.375em;
  }
}