@font-face {
  font-family: 'ABCFavoritMono';
  font-style: normal;
  font-weight: 400;
  src: url(ABCFavoritMono-Light.woff) format('truetype');
}
html {
	margin:auto;
  margin-top: 5vh;
  margin-left: 1vw;
	width:80%;
}

.status {
  background-color: white;
  height: 3vh;
  z-index: 99999;
  font-family: 'ABCFavoritMono';
  font-size: 0.6vw;
  color: blue;
}
.banner {
  position: fixed;
  top: 0px;
  left: 20px;
  right: 40px;
  height: 5vh;
  width: 90%;
  background-color: white;
  z-index: 99999;
}
.logo {
  font-family: 'ABCFavoritMono';
  font-size: 0.6vw;
  font-weight: bold;
  display: inline-block;
  padding: 0 0.4vw;
  color: white;
  background-color: black;
  vertical-align: center;
  height: 5vh;
}

.menubar, .sidebar {
  font-family: 'ABCFavoritMono';
  font-size: 0.6vw;
  position: fixed;
  top: 10vh;
  right: 0px;
  height: 90vh;
  width: 18%;
  overflow-y: auto;
}
.menubar {
  left: 5px;
  width: 15%;
}
.menuitem {
  margin-top: 5px;
  display: block;
  text-decoration: none;
  color: white;
  padding-left: 22px ;
  text-indent: -22px ;
}
.menuitem:hover {
  color: red;
}
.sidebar>table {
  border: none;
  border-collapse: collapse;
}

.menubar::-webkit-scrollbar {
    width: 10px;
}
.menubar::-webkit-scrollbar-track {
    background-color: #ddd;
}
.menubar::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.sidebar::-webkit-scrollbar {
    width: 10px;
}
.sidebar::-webkit-scrollbar-track {
    background-color: #ddd;
}
.sidebar::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body{
	padding: 10px 20px;
  margin-left: 18%;
}

.tips {
  font-size: 0.5vw;
}
.anchor {
  display: block;
  position: relative;
  top: -5vh;
  visibility: hidden;
}
.title {
  font-family: 'ABCFavoritMono';
  font-size: 0.7vw;
  font-weight: bold;
}

h1 {
	text-align: center;
	color: #222;
	margin: 0 0 30px;
}

.fileselect {
  margin: 0 0.5vw;
  display: inline-block;
  height: 5vh;
}
.button {
	color: white;
	background: linear-gradient(#000, #222);
  background-color: black;
	border: 1px solid #222;
	padding: 7px;
	transition: .3s;
	font-family: ubuntu, sans-serif;
	font-size: 1vw;
  height: 5vh;
}

.button:active {
	background: linear-gradient(#ddd, #eee);
}

.button:hover, button:focus {
	box-shadow: 0 0 2px #222;
}

#execute {
	margin-top: 5px;;
	width: 10%;
	min-width:100px;
}

.CodeMirror {
  border: 1px solid #222;
  height: auto;
}
.CodeMirror-scroll {
  overflow-y: hidden;
  overflow-x: auto;
}

.error {
	color:red;
	transition:.5s;
	overflow:hidden;
	margin: 15px;
}

.output {
	overflow: auto;
  max-height: 40vh;
}

.output>table {
	width:auto;
	margin:auto;
	border:1px solid black;
 	border-collapse:collapse;
 	margin-bottom:10px;
}

.output>table>thead>tr>th {
	border:1px solid #777;
}
.output>table>tbody>tr>td {
	border:1px solid #777;
}

footer {
  font-family: 'ABCFavoritMono';
	font-size:.8em;
	color: #222;
}

.output::-webkit-scrollbar-track {
    background-color: #999;
}

.hints {
  padding-left: 2vw;
  font-family: 'ABCFavoritMono';
  font-size: 0.6vw;
  display: inline-block;
}
.hints>table {
  border: none;
  border-collapse: collapse;
}

.editorContainer:focus {
  outline: 0.5px solid lightblue;
}
.CodeMirror-focused {
  border: 0.5px solid lightblue;
}

/*@media (prefers-color-scheme: dark) {*/

/* Use dark mode by default, it's prettier */
.status, .banner, body, footer {
  color: #eee;
  background: #121212;
}

body a {
  color: #809fff;
}
.button, .logo {
  background-color: orange;
  color: black;
}
.button {
  background: linear-gradient(orange, orange);
  border: 1px solid orange;
}
.output::-webkit-scrollbar {
    width: 10px;
}
.output::-webkit-scrollbar-track {
    background-color: #222;
}
.menubar::-webkit-scrollbar-track {
    background-color: #222;
}
.sidebar::-webkit-scrollbar-track {
    background-color: #222;
}
:root {
  color-scheme: dark;
}
.CodeMirror-focused {
  border: 0.5px solid #b37400;
}

