/*

Gruvbox style (dark) (c) Pavel Pertsev (original style at https://github.com/morhetz/gruvbox)

*/

.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #282828;
}

.hljs,
.hljs-subst {
  color: #ebdbb2;
}

/* Gruvbox Red */
.hljs-deletion,
.hljs-formula,
.hljs-keyword,
.hljs-link,
.hljs-selector-tag {
  color: #fb4934;
}

/* Gruvbox Blue */
.hljs-built_in,
.hljs-emphasis,
.hljs-name,
.hljs-quote,
.hljs-strong,
.hljs-title,
.hljs-variable {
  color: #83a598;
}

/* Gruvbox Yellow */
.hljs-attr,
.hljs-params,
.hljs-template-tag,
.hljs-type {
  color: #fabd2f;
}

/* Gruvbox Purple */
.hljs-builtin-name,
.hljs-doctag,
.hljs-literal,
.hljs-number {
  color: #8f3f71;
}

/* Gruvbox Orange */
.hljs-code,
.hljs-meta,
.hljs-regexp,
.hljs-selector-id,
.hljs-template-variable {
  color: #fe8019;
}

/* Gruvbox Green */
.hljs-addition,
.hljs-meta-string,
.hljs-section,
.hljs-selector-attr,
.hljs-selector-class,
.hljs-string,
.hljs-symbol {
  color: #b8bb26;
}

/* Gruvbox Aqua */
.hljs-attribute,
.hljs-bullet,
.hljs-class,
.hljs-function,
.hljs-function .hljs-keyword,
.hljs-meta-keyword,
.hljs-selector-pseudo,
.hljs-tag {
  color: #8ec07c;
}

/* Gruvbox Gray */
.hljs-comment, .hljs-ln-numbers {
  color: #928374;
  text-decoration: none;
}

.hljs-ln-numbers:hover {
  color: #83a598;
}
.hljs-ln-numbers:focus {
  outline: none;
}
/* Gruvbox Purple */
.hljs-link_label,
.hljs-literal,
.hljs-number {
  color: #d3869b;
}

.hljs-comment,
.hljs-emphasis {
  font-style: italic;
}

.hljs-section,
.hljs-strong,
.hljs-tag {
  font-weight: bold;
}

.hljs-ln td {
  padding-right: 5px !important;
}

.hljs-ln-numbers {
  float: left;
  width: 35px;
}

body {
  background: #282828;
  margin: 0;
  font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}

textarea {
  font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}

.logo-area {
  position: fixed;
  top:0;
  right: 0;
}

#menu-toggle {
  display: none;
}

.menu {
  display: flex;
  background: #282828;
  width: 200px;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
}

.logo {
  display: block;
  height: 70px;
  width: 200px;
  background: #928374;
  font-weight: bold;
  text-align: center;
  color: #282828;
  cursor: pointer;
  -webkit-transition: all 0.25s ease-out;
  transition: all 0.25s ease-out;
}

.logo:hover {
  color: #ebdbb2;
}

.logo::before {
  content: ' ';
  display: inline-block;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid currentColor;
  float: left;
  margin-left: 5px;
  margin-top: 60px;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  -webkit-transition: transform .2s ease-out;
  transition: transform .2s ease-out;
}

#menu-toggle:checked + .logo::before {
  -webkit-transform: rotate(-180deg);
  transform: rotate(-180deg);
}

.toggle:checked + .logo + .menu {
  max-height: 100px;
}

@media only screen and (max-width: 768px)
{
  pre {
    margin-top: 65px;
  }
}

.icon {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

.icon.nohover:hover {
  border: none;
  cursor: default;
}

.icon:hover {
  border-bottom: 1px solid #928374;
}

.icon, .logo, .toggle, .beforeCode, .actual-logo, .icon-title, .container, .name, .name-block, .hljs-ln-numbers {
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */  
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: 50px;
  text-align: center;
  color: #928374;
  font-weight: bold;
}

.enterCode {
  background-color: transparent;
  height: 89.5vh;
  width: 100%;
  float: right;
  border: none;
  color: #ebdbb2;
  overflow-y: auto;
}

.enterCode:focus {
  outline: none;
}

.beforeCode {
  color: #ebdbb2;
  margin-top: 70px;
  margin-left: 10px;
  display: flex;
}

.beforeCode::before {
  content: ">_";
  float: left;
  font-weight: bold;
}

.actual-logo {
  height: 65px;
}

.name-block {
  float: right;
  right: 210px;
  position: absolute;
  top: 10px;
  color: #928374;
  font-weight: bold;
  font-size: 1.1em;
  transition: color .2s ease-out;
}

.name-block:hover {
  color: #ebdbb2;
}

.italic {
  font-style: italic;
}

.name {
  cursor: pointer;
}

textarea {
  resize: none;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: transparent; 
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #83a598; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #ebdbb2; 
}

.link {
  text-decoration: none;
  color: #928374;
}

.link:hover {
  color: #ebdbb2;
}

a.highlighted {
  color: #83a598;
}
span.highlighted {
  background: #fabd2f40;
}