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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}
body {
  background-color: #1b1b32;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: white;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  width: 100%;
}
h1 {
  padding-top: 10px;
}
h2,
h3,
h4 {
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 0.55rem;
  line-height: 1.3;
  padding-top: 40px;
}

#navbar {
  background: #0a0a23;
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 6fr 6fr;
  padding: 1rem;
  align-items: center;
}

#navbar img {
  width: 60px;
}

#navbar .left {
  display: flex;
  vertical-align: middle;
}

#navbar .right {
  display: flex;
  justify-self: end;
}

.sidenav {
  height: 90%;
  width: 15%;
  position: fixed;
  z-index: 2;
  left: 0;
  background-color: #2a2a40;
  overflow-x: auto;
  padding-top: 0px;
}

.sidenav a {
  padding: 6px 8px 6px 16px;
  text-decoration: none;
  color: white;
  display: block;
}

.subtag {
  margin-left: 30px;
}

.active {
  background: #1b1b32;
}

.sidenav a:hover {
  color: #f1f1f1;
  background: #1b1b32;
}

.content {
  margin-left: 15%;
}

.container {
  width: 1100px;
  margin: auto;
  padding: 20px 40px;
}

pre {
  color: white;
  font-size: 20px;
  border: 2px solid grey;
  width: 100%;
  border-left: 5px solid white;
  padding: 14px;
  background-color: #0a0a23;
}

.output {
  padding: 0px 20px;
}

#quiz ul {
  list-style-type: none;
  width: 500px;
}

#quiz ul li {
  background: #2a2a40;
  width: 200px;
  margin: 10px;
  padding: 10px;
  display: inline-block;
}

input[type='radio'] {
  cursor: pointer;
}

.button {
  width: 120px;
  height: 25px;
  text-align: center;

  background-color: #fff;
  margin: 10px;
  cursor: pointer;
}

#checkans{
  width: 120px;
  height: 25px;
  text-align: center;
  background-color: #fff;
  margin: 10px;
}
#checkans a{
  text-decoration: none;
  color: black;
  font-size: 1.1em;
}
#checkans a:hover{
  color: red;
}

table {
  border-collapse: collapse;
}
table,
th,
td {
  border: 1px solid #fff;
}
th,
td {
  padding: 20px 25px;
  text-align: center;
}

thead tr {
  background-color: #0a0a23;
  color: #ffffff;
  text-align: left;
}

#footer {
  margin-top: 50px;
  padding: 20px 0;
  background: #0a0a23;
  text-align: center;
}
