:root {
  --theme-color: #ffffff;
  --theme-color-bg: #252525;
  --text-color-base: #252525;
  --text-color-base-secondary: #ffffff;
  --text-color-secondary: #3b3b3b;
  --text-color-tertiary: #81818e;
  --accent-color: #e4be22;
  --accent-color-bright: #fcd63a;
}

body {
  font-size: 100%;
  font-family: 'aileron', sans-serif;
  line-height: 1.5;
  color: var(--text-color-base);
}

* {
  text-decoration: none !important;
}

a {
  transition: all 0.3s linear;
}

.anchor span, .markdown-section h3 {
  color: var(--accent-color);
}

.cover .github-corner {
  display: none;
}

.github-corner svg {
  z-index: 5;
  fill: var(--text-color-base);
}

section.cover {
  padding-bottom: 112px;
  height: auto;
  min-height: 100vh;
  background-image: url("./images/js-main-min.png") !important;
  background-size: cover !important;
}
section.cover img {
  margin-top: 50px;
}

section.cover .cover-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 32px 16px 0;
}
section.cover h1 {
  margin: 0.3rem 0 2rem;
  font-weight: 600;
  letter-spacing: 0.2rem;
  color: var(--theme-color);
}

section.cover h2 {
  color: var(--theme-color);
}

section.cover blockquote,
section.cover blockquote p {
  margin: 0;
}

section.cover ul {
  font-size: 1.25rem;
  line-height: 2rem;
  list-style: none;
  max-width: unset;
  margin: 1.5em 0;
}

section.cover ul li {
  white-space: nowrap;
}

section.cover.show ~ .sidebar,
section.cover.show ~ .sidebar-toggle {
  display: none;
}

.sidebar ul li.active > a {
  color: var(--text-color-secondary);
}

.sidebar ul li a:hover {
  color: var(--text-color-base);
}

.cover-main .ciklum-logo {
  position: fixed;
  display: flex;
  align-items: center;
  background: var(--theme-color-bg);
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 5;
}

.cover-main .buttons {
  margin-top: 100px;
  width: 100%;
}

.cover-main .buttons a {
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding: 12px 25px;
  font-size: 14px;
  text-align: center;
  line-height: 18px;
  outline: none;
  border: none;
  background-color: var(--theme-color-bg);
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  margin: 0 1rem;
  color: var(--theme-color);
  overflow: hidden;
  transition: color 0.25s cubic-bezier(0.215, 0.61, 0.355, 1);
  vertical-align: baseline;
  text-transform: uppercase;
}

.cover-main .buttons a:before,
.cover-main .buttons a:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 2px solid var(--theme-color);
  box-sizing: border-box;
}

.cover-main .buttons a:after {
  background: var(--theme-color);
  transform: translateX(-101%);
  transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.cover-main .buttons a:hover {
  color: var(--text-color-base);
}

.cover-main .buttons a:hover:after {
  transform: translateX(0);
}

.cover-main .buttons a span {
  position: relative;
  z-index: 1;
}

.markdown-section code {
  background-color: var(--theme-color-bg);
  color: var(--accent-color-bright);
}

.markdown-section a {
  color: var(--text-color-base);
}

.markdown-section blockquote {
  border-left: 4px solid var(--text-color-tertiary);
}

@media (max-width: 850px) {
  section.cover ul {
    grid-template-columns: 100%;
    padding: 0;
  }

  section.cover ul li {
    text-align: center;
  }
}

@media (max-width: 450px) {
  section.cover ul li {
    white-space: normal;
  }

  .cover-main .buttons a {
    width: 100%;
    margin: 0.2rem 0;
  }
}

.sidebar .sidebar-logo {
  height: 150px;
}

.sidebar ul li a {
  font-size: 15px;
  color: var(--text-color-base);
  display: inline;
}

.sidebar ul li.active > a {
  border: none;
}

.sidebar ul li a:hover {
  color: var(--text-color-base);
}

.app-sub-sidebar li:before {
  display: none;
}

.sidebar .search .clear-button {
  cursor: pointer;
}

.sidebar-toggle {
  cursor: pointer;
}

body .sidebar-toggle {
  background: none;
  top: 1.5rem;
  left: calc(300px + 1.5rem);
  cursor: pointer;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  transition: left 0.25s ease-out;
}

body .sidebar-toggle span {
  background-color: var(--theme-color-bg);
  height: 0.2rem;
  width: 1.5rem;
  position: absolute;
  left: 0;
  margin: 0;
  transform-origin: 0;
  border-radius: 1px;
}

body.close .sidebar-toggle {
  transition: left 0.25s ease-out;
  width: 1.5rem;
  height: 1.5rem;
  left: 1.5rem;
}

body.close .sidebar-toggle span {
  transform-origin: center;
}

body .sidebar-toggle span:nth-child(1) {
  top: 0;
}
body .sidebar-toggle span:nth-child(2) {
  top: 0.5rem;
}
body .sidebar-toggle span:nth-child(3) {
  top: 1rem;
}

.sidebar-toggle:hover {
  opacity: 0.8;
}
.sidebar-toggle .sidebar-toggle-button:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  body .sidebar-toggle {
    left: 1rem;
  }

  body.close .sidebar-toggle {
    left: calc(300px + 1.5rem);
  }
}

.markdown-section {
  padding: 30px 30px 40px;
}

.markdown-section a {
  text-decoration: none;
  border-bottom: 0.1rem solid var(--theme-color);
  transition: all 0.3s ease;
}

.markdown-section a:hover {
  border-color: var(--text-color-base);
  color: var(--text-color-base);
}

.markdown-section a.anchor {
  border: none;
}

.markdown-section table {
  display: table;
}

.markdown-section table tr {
  border-width: 0.15rem 0;
  border-style: solid;
  border-color: #f1f1f2;
}

.markdown-section table thead tr {
  text-transform: uppercase;
  font-size: 90%;
  border-top: none;
}

.markdown-section table tbody tr:last-of-type {
  border-bottom: none;
}

.markdown-section table tr:nth-child(2n) {
  background-color: transparent;
}

.markdown-section table td,
.markdown-section table th {
  border: none;
  padding: 1.1rem 0.5rem;
  text-align: left;
}

.markdown-section table td p {
  margin: 0;
}

.markdown-section blockquote {
  margin: 1em 0;
}

.markdown-section blockquote > p {
  font-weight: 500;
}

.markdown-section em,
.markdown-section blockquote {
  color: var(--text-color-tertiary);
}

.token.string {
  color: #42b983;
}
/*
.token.boolean,
.token.number {
   color: var(--theme-color);
}*/

.lang-bash .token.function,
.lang-json .token.property {
  color: #e96900;
}

.content img {
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 4px 0;
}

.markdown-section .mentors {
  padding: 0;
  margin: 0 0 0 -40px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}
.markdown-section .mentors > li {
  flex: 0 0 100%;
  padding: 40px 0 0 40px;
}

@media (min-width: 600px) {
  .markdown-section .mentors > li { flex-basis: 50%; }
}

@media (min-width: 950px) {
  .markdown-section .mentors > li { flex-basis: 33%; }
}

.markdown-section .mentor {
  text-align: center;
}
.markdown-section .mentor__img {
  position: relative;
  max-width: 240px;
  margin: 0 auto 10px;
  border-radius: 100%;
  box-shadow: rgba(0, 0, 0, 0.2) 0 2px 4px 0;
}
.markdown-section .mentor__img:before {
  content: '';
  display: block;
  padding-top: 100%;
}
.markdown-section .mentor__img:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  border-radius: inherit;
  opacity: .5;
  border: 1px solid var(--text-color-base);
}
.markdown-section .mentor__img img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: none;
  border-radius: inherit;
}
.markdown-section .mentor__name {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}
.markdown-section .mentor__desc {
  margin: 0;
  text-transform: uppercase;
  opacity: .6;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .4px;
}

.docsify-copy-code-button {
  font-size: 0.7em !important;
}
