@import url("colors.css");
@import url("https://fonts.googleapis.com/css2?family=Hack:wght@400;700&display=swap");

:root {
  --white: #fff;
  --black: #333;
  --light-gray: #f2f2f2;
  --gray: #bbbbbb;
  --dark-gray: #a1a1a1;
  --pink: #ff2e88;
  --red: #f44336;
  --blue: #2196f3;
  --orange: #ff9800;
  --light-blue: #00bcd4;
  --green: #4caf50;
}

body {
  font-family: "Hack";
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.page-header {
  top: 0;
  height: 60px;
  padding: 10px;
  text-align: center;
  position: fixed;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-header h1 {
  margin: 0;
  font-size: 1em;
  font-size: 1.2em;
}
.page-header a {
    text-decoration: none;
}

.header-button-gei {
  padding: 10px 20px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: background-image 0.3s ease-in-out, color 0.3s ease-in-out;
}

.header-button {
  padding: 10px 20px;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.switch-button {
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.page-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 20px;
}
.logo {
  height: 50px; /* adjust as needed */
}

.page-header-right {
  display: flex;
  align-items: center;
  margin-right: 30px;
  gap: 10px;
}

.container {
  position: fixed;
  display: flex;
  flex-direction: row;
  width: 100%;
  height: calc(100vh - 60px);
  box-sizing: border-box;
  top: 60px;
}

.sidebar {
  width: 300px;
  overflow: auto;
  padding: 20px;
  padding-top: 30px;
  transition: width 0.3s;
  font-size: 0.9em;
}
.sidebar a {
    text-decoration: none;
}
.main-content {
  flex: 1;
  overflow: auto;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 15%; /* Adjust this to your preference */
  padding-right: 15%; /* Adjust this to your preference */
}

.main-content p {
  line-height: 1.5;
  text-align: justify;
}

.sidebar-item-h1 a,
.sidebar-item-h2 a,
.sidebar-item-h3 a,
.sidebar-item-h4 a,
.sidebar-item-h5 a,
.sidebar-item-h6 a {
  margin-top: 10px;
  font-weight: 200;
  transition: color 0.3s;
}

.main-content h1::before {
  content: "# ";
}

.main-content h2::before {
  content: "## ";
}

.main-content h3::before {
  content: "### ";
}

.main-content h4::before {
  content: "#### ";
}

.main-content h5::before {
  content: "##### ";
}

.main-content h6::before {
  content: "###### ";
}

/* Sidebar item styles */
.sidebar-item-h1 {
  padding-left: 10px;
}
.sidebar-item-h2 {
  padding-left: 25px;
}
.sidebar-item-h3 {
  padding-left: 40px;
}
.sidebar-item-h4 {
  padding-left: 55px;
}
.sidebar-item-h5 {
  padding-left: 70px;
}
.sidebar-item-h6 {
  padding-left: 85px;
}

.main-content code {
  padding: 2px 4px;
  font-family: "Hack", monospace;
  font-size: 0.8em;
  border-radius: 3px;
}
.main-content pre code {
  padding: 0;
  font-size: 0.8em;
  border: none;
}

.main-content pre {
  padding: 10px;
  font-family: "Hack", monospace;
  overflow: auto;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
  scroll-margin-top: 40px;
}

.main-content a {
  text-decoration: underline;
  padding: 2px 4px;
}

.main-content blockquote {
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 20px;
}

@keyframes slideInFromRight {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
.main-content * {
  animation: slideInFromRight 0.5s ease-out forwards;
}

.main-content li {
  margin-bottom: 5px; /* Adjust this value as needed */
  padding-top: 0px;
}
.main-content li p {
  margin-top: 0px;
  margin-bottom: 0px;
  padding-top: 0px;
}
.main-content hr {
    margin-bottom: 50px;
    margin-top: 50px;
}
.main-content li::marker {
  content: '- ';
}

/* CODE HIGHLIGHTING */
.highlight .c {
  color: #998;
  font-style: italic;
} /* Comment */
.highlight .err {
  color: #a00;
  background-color: #faa;
} /* Error */
.highlight .k {
  font-weight: bold;
} /* Keyword */
.highlight .o {
  font-weight: bold;
} /* Operator */
.highlight .ch {
  color: #998;
  font-style: italic;
} /* Comment.Hashbang */
.highlight .cm {
  color: #998;
  font-style: italic;
} /* Comment.Multiline */
.highlight .cp {
  color: #999;
  font-weight: bold;
} /* Comment.Preproc */
.highlight .cpf {
  color: #999;
  font-style: italic;
} /* Comment.PreprocFile */
.highlight .c1 {
  color: #998;
  font-style: italic;
} /* Comment.Single */
.highlight .cs {
  color: #998;
  font-style: italic;
} /* Comment.Special */
.highlight .gd {
  color: #a00;
  background-color: #faa;
} /* Generic.Deleted */
.highlight .ge {
  font-style: italic;
} /* Generic.Emph */
.highlight .gr {
  color: #a00;
} /* Generic.Error */
.highlight .gh {
  color: #999;
} /* Generic.Heading */
.highlight .gi {
  color: #090;
  background-color: #f0f0f0;
} /* Generic.Inserted */
.highlight .go {
  color: #888;
} /* Generic.Output */
.highlight .gp {
  color: #555;
} /* Generic.Prompt */
.highlight .gs {
  font-weight: bold;
} /* Generic.Strong */
.highlight .gu {
  color: #800080;
  font-weight: bold;
} /* Generic.Subheading */
.highlight .gt {
  color: #2a00ff;
} /* Generic.Traceback */
.highlight .kc {
  font-weight: bold;
} /* Keyword.Constant */
.highlight .kd {
  font-weight: bold;
} /* Keyword.Declaration */
.highlight .kn {
  font-weight: bold;
} /* Keyword.Namespace */
.highlight .kp {
  font-weight: bold;
} /* Keyword.Pseudo */
.highlight .kr {
  font-weight: bold;
} /* Keyword.Reserved */
.highlight .kt {
  color: #445588;
  font-weight: bold;
} /* Keyword.Type */
.highlight .m {
  color: #099;
} /* Literal.Number */
.highlight .s {
  color: #d14;
} /* Literal.String */
.highlight .na {
  color: #008080;
} /* Name.Attribute */
.highlight .nb {
  color: #0086b3;
} /* Name.Builtin */
.highlight .nc {
  color: #445588;
  font-weight: bold;
} /* Name.Class */
.highlight .no {
  color: #008080;
} /* Name.Constant */
.highlight .nd {
  color: #3c5d5d;
  font-weight: bold;
} /* Name.Decorator */
.highlight .ni {
  color: #800080;
} /* Name.Entity */
.highlight .ne {
  color: #990000;
  font-weight: bold;
} /* Name.Exception */
.highlight .nf {
  color: #990000;
  font-weight: bold;
} /* Name.Function */
.highlight .nl {
  color: #445588;
  font-weight: bold;
} /* Name.Label */
.highlight .nn {
  color: #555555;
} /* Name.Namespace */
.highlight .py {
  color: #008080;
} /* Name.Property */
.highlight .nt {
  color: #2f6f9f;
} /* Name.Tag */
.highlight .nv {
  color: #008080;
} /* Name.Variable */
.highlight .ow {
  font-weight: bold;
} /* Operator.Word */
.highlight .w {
  color: #bbb;
} /* Text.Whitespace */
.highlight .mb {
  color: #099;
} /* Literal.Number.Bin */
.highlight .mf {
  color: #099;
} /* Literal.Number.Float */
.highlight .mh {
  color: #099;
} /* Literal.Number.Hex */
.highlight .mi {
  color: #099;
} /* Literal.Number.Integer */
.highlight .mo {
  color: #099;
} /* Literal.Number.Oct */
.highlight .sb {
  color: #d14;
} /* Literal.String.Backtick */
.highlight .sc {
  color: #d14;
} /* Literal.String.Char */
.highlight .sd {
  color: #d14;
} /* Literal.String.Doc */
.highlight .s2 {
  color: #d14;
} /* Literal.String.Double */
.highlight .se {
  color: #d14;
} /* Literal.String.Escape */
.highlight .sh {
  color: #d14;
} /* Literal.String.Heredoc */
.highlight .si {
  color: #d14;
} /* Literal.String.Interpol */
.highlight .sx {
  color: #d14;
} /* Literal.String.Other */
.highlight .sr {
  color: #009926;
} /* Literal.String.Regex */
.highlight .s1 {
  color: #d14;
} /* Literal.String.Single */
.highlight .ss {
  color: #990073;
} /* Literal.String.Symbol */
.highlight .bp {
  color: #999;
} /* Name.Builtin.Pseudo */
.highlight .vc {
  color: #008080;
} /* Name.Variable.Class */
.highlight .vg {
  color: #008080;
} /* Name.Variable.Global */
.highlight .vi {
  color: #008080;
} /* Name.Variable.Instance */
.highlight .il {
  color: #099;
} /* Literal.Number.Integer.Long */
