@import url('https://fonts.googleapis.com/css?family=PT+Serif&display=swap');
@font-face {
  font-family: 'sansforgetica-regular';
  src: url('./assets/SansForgetica-Regular.woff2') format('woff2'), url('./assets/SansForgetica-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

:root {
  --theme-color: #e50914;
  --theme-color-dark: #b20710;
  --text-color-base: #2e2e46;
  --text-color-secondary: #646473;
  --text-color-tertiary: #81818e;
}

body {
  font-size: 100%;
  line-height: 1.5;
  color: var(--text-color-base);
}

a {
  transition: all 0.3s linear;
}

.github-corner {
  z-index: 5;
}

/****** Cover Page ******/

section.cover {
  padding-bottom: 112px;
  /* fixed footer (Netflix) height */
  height: auto;
  min-height: 100vh;
  /**
     * Intended to defeat this inline style on initial boot that flashes when on page load:
     * https://github.com/docsifyjs/docsify/blob/8352a1e489abc2a7b6361fe02d696e1891a031cd/src/core/render/tpl.js#L56-L70
     */
  background: #fff !important;
}

section.cover .cover-main {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0;
  padding: 32px 16px 0;
}

section.cover img {
  width: 400px;
}

section.cover h1 {
  margin: 0.625rem 0 1rem;
}

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

section.cover ul {
  font-size: 1.25rem;
  line-height: 2rem;
  display: grid;
  text-align: left;
  grid-column-gap: 16px;
  grid-row-gap: 20px;
  grid-template-columns: repeat(2, 50%);
  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;
}

.cover-main .netflix-logo {
  position: fixed;
  display: flex;
  align-items: center;
  background: #ffffff;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  z-index: 5;
}

.cover-main .netflix-logo .logo {
  width: 125px;
  height: 32px;
  background: url('images/Netflix_Logo.png');
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.cover-main .buttons {
  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;
  color: #221f1f;
  background: #fff;
  outline: none;
  border: none;
  background-color: #fff;
  -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: white;
  box-shadow: 0 5px 16px rgba(229, 9, 20, 0.3);
}

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

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

@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 .sidebar-logo {
  height: 150px;
}

.sidebar ul li a {
  font-size: 15px;
}

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

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

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

/****** Sidebar Toggle ******/

.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);
  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 General ******/

.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(--theme-color-dark);
  color: var(--theme-color-dark);
}

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

/****** Markdown Table ******/

.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);
}

/****** CODE HIGHLIGHTING ******/

.token.string {
  color: #42b983;
}

.token.boolean, .token.number {
  color: var(--theme-color);
}

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

/****** COPY TO CLIPBOARD ******/

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

table {
  width: 100%;
}

.markdown-section td {
  width: 50%;
}

.contribute td {
  width: initial!important;
}

a[href^="https://github.com/rockmanvnx6/SeptNotes/blob/master/"] {
  float: right;
}

a[href^="https://github.com/rockmanvnx6/SeptNotes/blob/master/"]::after {
  content: '';
  display: block;
  clear: both;
}

article>p:first-child {
  overflow: hidden;
}

.app-name-link {
  font-weight: 300;
}

.app-name-link:hover {
  /* color: var(--theme-color); */
  color: var(--theme-color);
}

.note {
  z-index: 9999999999!important;
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
  border-radius: 100%;
  transition: all .2s ease;
  display: flex;
  box-shadow: 0 0 50px rgba(0, 0, 0, .2);
  background: white;
}

.note:hover {
  background: var(--theme-color);
  cursor: pointer;
  color: white;
}

.note svg {
  width: 30px;
  height: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  position: relative;
}

.editable {
  width: 100%;
  height: 100%;
  font-family: 'PT Serif', serif!important;
  overflow: auto;
  font-size: 1.5em;
}

.noscroll {
  overflow: hidden;
}

.editable:focus {
  outline: 0;
}

.edit-holder {
  width: 100%;
  height: 100%;
  background: white;
  z-index: 999999999;
  top: 0;
  left: 0;
  display: none;
  padding: 5em;
  position: fixed!important;
}

.edit-holder svg {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 0;
  right: 0;
  color: lightgray;
  margin: 3em;
}

.erase:hover {
  cursor: pointer;
}

.edit {
  display: block;
}

.display-n {
  display: none!important;
}

.medium-editor-toolbar {
  z-index: 999999999999999999999999!important;
}

blockquote {
  border-left: 5px solid var(--theme-color);
  padding-left: 1em;
}

.sq-trans {
  z-index: 9999;
}

.closeBtn {
  width: 80px;
  height: 80px;
  position: fixed;
  z-index: 9999999999!important;
  bottom: 1em;
  right: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
  align-items: center;
  border-radius: 100%;
  box-shadow: 0 0 50px rgba(0, 0, 0, .2);
  transition: all .2s ease;
  display: flex;
}

.closeBtn:hover {
  background: var(--theme-color);
  cursor: pointer;
  color: white;
}

.closeBtn svg {
  width: 30px;
  height: auto;
  position: relative;
}

.container {
  bottom: 0;
  position: fixed;
  margin: 1em;
  right: 0px;
}

.buttons {
  color: black;
  border-radius: 50%;
  display: block;
  width: 80px;
  height: 80px;
  margin: 20px auto 0;
  position: relative;
  -webkit-transition: all .1s ease-out;
  transition: all .1s ease-out;
}

.buttons:active, .buttons:focus, .buttons:hover {
  cursor: pointer;
}

.buttons:not(:last-child) {
  width: 40px;
  height: 40px;
  margin: 20px auto 0;
  opacity: 0;
  -webkit-transform: translateY(50px);
  -ms-transform: translateY(50px);
  transform: translateY(50px);
}

.container:hover .buttons:not(:last-child) {
  opacity: 1;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  margin: 15px auto 0;
}

.reader-content {
  display: none!important
}

/* GIT BOOK THEME */
.sidebar {
  background-color: #F5F7F9;
}

.search input {
  border-color: #E6ECF1 !important
}

.app-name-link{
  font-weight: bold;
}