::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f1ff;
}
::-webkit-scrollbar-track:hover {
  background: #d1d1dd;
}
::-webkit-scrollbar-thumb {
  background: #666;
}
::-webkit-scrollbar-thumb:hover {
  background: #444;
}
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  font-family: Bree Serif, sans-serif;
  scroll-behavior: smooth;
}
button {
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.btn.copy-code {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0.5rem;
}
.btn.copy-code.big {
  width: 34px;
  height: 34px;
  padding: 1rem;
}
.btn.copy-code svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.btn.copy-code svg.clipboard,
.btn.copy-code.copied svg.copy-file {
  display: block;
}
.btn.copy-code.copied svg.clipboard,
.btn.copy-code svg.copy-file {
  display: none;
}
.btn.copy-code svg path {
  transition: fill 250ms;
}
.btn.copy-code:is(:hover, .copied) svg path {
  fill: rgb(117, 205, 117);
}
#navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 2;
  width: 150px;
  height: 100%;
  background-color: #c7c7c7;
}
header {
  margin: 25px 0px 5px 0px;
  font-size: 24px;
  font-weight: bold;
}
header:not(#navbar header) {
  border-bottom: 2px solid #121212;
  width: fit-content;
  padding: 2px;
}
#navbar header {
  text-align: center;
}
#navbar a {
  display: block;
  width: calc(100% - 8px);
  text-decoration: none;
  text-align: center;
  padding: 5px 0px;
  margin: 4px;
  background-color: #e2e2e2;
  color: #121212;
  font-size: 18px;
  transition-duration: 0.3s;
}
#navbar a:hover {
  background-color: #121212;
  color: #e2e2e2;
}
#main-doc {
  position: relative;
  left: 175px;
  width: calc(100% - 175px);
  padding: 10px 0px 50px 0px;
}
p {
  font-size: 16px;
  padding: 6px 0px 2px 0px;
}
ul,
ol {
  padding: 10px 30px;
  background-color: #e2e2e2;
  width: fit-content;
}
pre {
  padding: 6px 10px;
  width: fit-content;
  background-color: #121212;
  color: #e2e2e2;
  position: relative;

  display: flex;
  gap: 12px;
}

@media screen and (max-width: 800px) {
  #navbar {
    position: relative;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
    padding-bottom: 2px;
  }
  #navbar header {
    margin: 0px;
    padding: 20px 0px 10px 0px;
  }
  #main-doc {
    position: relative;
    left: 15px;
    padding: 10px 0px 50px 0px;
    width: calc(100% - 50px);
  }
  pre {
    max-width: 100%;
    overflow-x: auto;
  }
}
