/* Variables */
:root {
  --primary-color: #007bff;
  --primary-hover-color: #0056b3;
  --text-color: #333;
  --text-secondary-color: #666;
  --background-color: #f9f9f9;
  --box-background: #ffffff;
  --border-color: #ddd;
  --heading-color: #222;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  padding: 20px;
}

/* Typography */
h1,
h2,
h3 {
  color: var(--heading-color);
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.2rem;
}
h2 {
  font-size: 1.8rem;
}
h3 {
  font-size: 1rem;
}

p {
  color: var(--text-secondary-color);
  margin: 0 0 15px;
}

/* Layout */
.container {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
}

/* Box Styling */
.box {
  padding: 20px;
  margin: 20px 0;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-hover-color);
  text-decoration: underline;
}

.box a {
  display: block;
  margin-top: 12px;
  font-size: 14px;
}

.links {
  margin-top: 1.5rem;
  margin-bottom: 10px;
}

.links a {
  display: block;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* Code Blocks */
pre {
  background-color: #f4f4f4;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1rem;
  overflow-x: auto;
}

code {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.9em;
}

/* Lists */
ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Navigation */
nav {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

nav ul {
  list-style-type: none;
  padding: 0;
}

nav li {
  margin-bottom: 10px;
}

nav a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
  cursor: pointer;
}

nav a:hover {
  color: var(--primary-color);
}

nav a.active {
  font-weight: bold;
  color: var(--primary-color);
}

/* Accordion */
.accordion {
  list-style: none;
  padding: 0;
}

.accordion-header {
  color: #179fff;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
  margin: 0;
}

.accordion-content {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-header.active + .accordion-content {
  max-height: 1000px; /* Adjust this value based on your content */
}

.accordion-content li {
}

.accordion-content a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.accordion-content a:hover {
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .box {
    margin: 10px 0;
    padding: 15px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  h3 {
    font-size: 1.1rem;
  }

  nav {
    margin-bottom: 20px;
  }
}

/* Miscellaneous */
#content {
  min-height: 300px; /* Adjust this value to prevent layout shifts */
}
/* Estilos para tabs */
.tab-buttons {
  margin-bottom: 20px;
}

.tab-button {
  padding: 10px 20px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
}

.tab-button.active {
  background-color: var(--primary-color);
  color: white;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}
