html, body {
  margin: 0;
  padding: 0;
}

body {
  color: #333;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

h1, h2, h3, h4, h5, h6 {
  color:#159957;
}

.header {
  background-color: #159957;
  background-image: linear-gradient(120deg, #155799, #159957);
  padding: 15px 30px;
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center;
  position: relative; /* Allows positioning of nav-menu */
}

.header h1 {
  color: #fff;
  margin: 0;
  position: absolute; /* Position h1 absolutely to keep it centered */
  left: 50%;
  transform: translateX(-50%);
}

.nav-menu {
  margin-left: auto; /* Push the nav-menu to the right */
}

.nav-menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.nav-menu ul li {
  display: inline;
}

.nav-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

.nav-menu ul li a:hover {
  color: #000; /* Change text color to black */
  background-color: transparent;
  border-top: 2px solid #fff; /* White top border */
  border-bottom: 2px solid #fff; /* White bottom border */
}

.nav-menu ul li a.active {
  color: #000; /* Active text color */
  border-top: 2px solid #fff; /* Active top border */
  border-bottom: 2px solid #fff; /* Active bottom border */
}

.header, .content, .footer {
  padding: 15px 30px;
}

code {
  display: inline-block;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  padding: 3px;
  word-break: normal;
  white-space: pre;
}

footer {
  border-top: solid 1px #eff0f1;
  padding: 30px;
}

pre {
  overflow-x: auto;
}

pre::-webkit-scrollbar {
  background-color: #cee2ce;
}
pre::-webkit-scrollbar-button {
  color: #fff;
}
pre::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5px;
}

pre {
  background: #cee2ce;
  color: #000;
  padding: 15px;
  font-size: 13pt;
  tab-size: 4;
  -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, .75);
  border-radius: 5px;
}

@media (max-width: 768px) {
  .header h1 {
    position: relative;
    left: 0;
    transform: none;
    margin-right: auto;
  }

  .nav-menu {
    margin-left: 0;
    margin-right: auto; /* Push the nav-menu to the right */
  }
}
