body,
textarea,
p,
input {
    background: black;
    color: white;
}

body {
    font-size: 1em;
    line-height: 1.6;
    font-family: system-ui, sans-serif;
}

a {
    color: #5dccff;
    font-weight: bold;
}

code {
    background-color: #0c0c0c;
    color: orange
}

.toolbar-item button {
    background-color: #000000 !important;
    border: 1px solid orange !important;
    padding: 5px 3px !important;
    font-weight: bolder !important;
}

pre[class*="language-"] {
    background: #252218 !important;
    border-radius: 1em;
}

div {
    text-align: left;
}

.katex-display .katex {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

table {
    border-collapse: collapse;
}

th,
td {
    padding: 8px 12px;
    border: 1px solid #303030;
    text-align: left;
}

.sidebar {
  margin: 0;
  padding: 0;
  width: 12em;
  position: fixed;
  height: 100%;
  overflow: auto;
}

.sidebar a {
  display: block;
  color: rgb(255, 255, 255);
  text-decoration: none;
  margin-top: 2px;
  border-radius: 0.5em;
}

.sidebar a.sidebar-main {
  background-color: #0f0f0f;
  font-size: 1.1em;
  padding: 12px;
  color: white;
}

.sidebar a.sidebar-sub {
  background-color: #050505;
  font-size: 1.1em;
  color: white;
  padding: 10px;
  margin-left: 15px;
}

.sidebar a.active {
    color: #5dccff;
    font-weight: bold;
}

.content {
  margin-left: 12em;
  padding: 1px 16px;
}

.menu-buttons {
    color: white;
    background-color: black;
    border: 1px solid orange;
    top: 0;
    width: 100%;
    padding: 15px;
    border-radius: 1em;
}

@media screen and (max-width: 767px) {
    .sidebar {
    	display: none;
    	width: 100%;
    	height: 100vh;
    	position: fixed;
    	top: 0;
    	left: 0;
    	z-index: 1000;
        background: black;
    }
    
	.content {
		margin-left: 0;
	}

	.sidebar.open {
		display: block;
	}
    .code-toolbar {
        width: 100%;
    }

    .toolbar-item {
        font-size: 1.5em;
    }
}

@media screen and (min-width: 768px) {
    .code-toolbar {
        width: 75%;
    }

    .toolbar-item {
        font-size: 1.2em;
    }

    .menu-buttons {
        display: none;
    }
}
