/* Global variables for colors */
:root {
  --primary-color: #006d77;
  --secondary-color: #e29578;
  --background-color: #83c5be;
  --accent-color: #edf6f9;
  --highlight-color: #83c5be;
}

/* Apply colors to text */
body {
  color: var(--primary-color);
  padding: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  word-wrap: break-word;
}

/* Style headings */
h1, h2, h3, h4, h5, h6 {
  word-break: break-word;
  line-height: 1.3;
}

/* Paragraphs justified */
p {
  text-align: justify;
}

/* Style links */
a {
  color: var(--primary-color);
}
a:hover {
  color: var(--highlight-color);
}

/* Style navbar */
.navbar {
  background-color: var(--background-color) !important;
}
.navbar .nav-link {
  color: white !important;
  font-weight: normal;
}
.navbar .nav-link.active {
  font-weight: bold !important;
  color: white !important;
}

/* Tabset (Quarto / R Markdown) tabs */
.tabset .nav-tabs > li > a {
  color: white !important;
  font-weight: normal;
}
.tabset .nav-tabs > li.active > a {
  color: white !important;
  font-weight: bold !important;
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  margin: 20px auto;
}

/* Footer styling */
footer {
  background-color: var(--secondary-color);
  color: var(--background-color);
  padding: 10px;
  text-align: center;
}

/* Numbered circle list */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.numbered-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  text-align: left;
}
.numbered-list li::before {
  content: attr(data-number);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  font-weight: bold;
  color: white;
  background-color: #006d77;
  border-radius: 50%;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* Smaller font on mobile */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
    padding: 15px;
  }
}
