* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: monospace, monospace;
  padding: 10px;
  background-color: #f9f9f9;
  color: #333;
  white-space: pre-wrap;
  line-height: 1;
}

h1 {
  color: #2c3e50;
  font-size: 1.8em;
  margin-bottom: 0.4em;
  border-bottom: 1px solid #a6c0e4;
  padding-bottom: 0.1em;
}

h2 {
  color: #3498db;
  margin-top: 0;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #a6c0e4;
  padding-bottom: 0.1em;
  font-size: 1.3em;
}

.command-section {
  margin-top: 0.1em;
}

.command-section div, .command-section h3, .command-section ul, .command-section ol, .command-section pre {
  margin-bottom: 0.5em;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
  transition: background-color 0.2s ease, transform 0.1s ease;
  line-height: 1;
}

.command-section div:hover, .command-section h3:hover, .command-section ul:hover, .command-section ol:hover, .command-section pre:hover{
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.command-sample {
  margin-bottom: 0.5em;
  padding: 0.5em;
  border: 1px solid #ddd;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.03);
  transition: background-color 0.2s ease, transform: translateY(-1px);
  line-height: 1;
}

.command-sample:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
}

.command-name {
  font-weight: bold;
  color: #e74c3c;
  font-size: 1.1em;
  margin-bottom: 0.2em;
}

.description {
  color: #555;
  margin-bottom: 0.3em;
}

.usage {
  background-color: #f8f8f8;
  padding: 0.3em;
  border-radius: 4px;
  overflow-x: auto;
  font-size: 0.9em;
  border: 1px solid #d3d3d3;
}

.usage code {
  color: #2c3e50;
  font-weight: bold;
}
.powershell-section h2{
    color: #3498db;
}

.powershell-section .command-name{
    color: #e74c3c;
}

.bash-section h2{
    color: #2ecc71;
}
.bash-section .command-name{
    color: #27ae60;
}

.dns-section h2{
    color: #9b59b6;
}
.dns-section .command-name{
    color: #8e44ad;
}

.git-section h2{
    color: #e67e22;
}
.git-section .command-name{
    color: #d35400;
}

/* Styles for the navigation */
.nav {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}
.nav-link {
    color: #3498db;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 3px;
    background-color: #ecf0f1;
    margin: 0 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-link:hover {
    background-color: #3498db;
    color: white;
}

.hidden {
    display: none;
}

.active {
    display: block;
}
.command-section {
  display: none; /* Initially hide all sections */
}

.command-section.active {
  display: block; /* Show the active section */
}