:root {
  --bg: #1e2d24;
  --bg-light: #2d3c33;
  --accent: #6b8f71;
  --text: #ededed;
  --radius: 12px;
  --max-width: 800px;
  --font-base: "Inter", "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  --navbar-height: 100px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-base);
  line-height: 1.6;
}

.about-toc {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  background: var(--bg-light);
  border: 1px solid var(--accent);
  font-size: 0.95rem;
  height: 64px;
  width: 50vw;
  margin: 10px;
  margin-left: 500px;
  border-radius: 25px;
}

.about-toc > a:first-child {
  display: flex;
  align-items: center;
  height: 100%;
}

#icon {
  height: 88px;
  width: 88px;
  object-fit: cover;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
  transition: background 0.2s;
}

.nav-links a:hover {
  background: var(--accent);
}

section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.2rem 2rem;
}

section h2 {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 2.5rem;
  text-align: center;
}

section p,
section li {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

section ul {
  list-style: disc inside;
  margin-top: 0.5rem;
}

.GetStarted {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  max-width: var(--max-width);
  padding: 0 1.2rem;
}

.back-cta {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(107, 143, 113, 0.3);
  border: 2px solid var(--accent);
}

.back-cta:hover {
  background: transparent;
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 143, 113, 0.4);
  text-decoration: none;
}

.back-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(107, 143, 113, 0.3);
}

.Credits {
  text-align: center;
  align-items: center;
  padding-top: 130px;
}

.Credits p {
  padding: 15px;
}

.Credits h3 {
  font-size: 28px;
}

#madeby {
  font-size: 13px;
  color: rgb(160, 160, 160);
}

@media (max-width: 1900px) and (min-width: 769px) {
  :root {
    --navbar-height: 120px;
  }

  .about-toc {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    width: 90vw;
    margin: 10px auto;
    height: auto;
    min-height: 100px;
    flex-wrap: nowrap;
    overflow: visible;
  }

  #icon {
    height: 88px;
    width: 88px;
    flex-shrink: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    width: auto;
    margin-top: 0;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  section {
    padding: 2.5rem 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --navbar-height: 160px;
  }

  .about-toc {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    width: 95vw;
    margin: 10px auto;
    height: auto;
    min-height: 140px;
    flex-wrap: nowrap;
    overflow: visible;
  }

  #icon {
    height: 89px;
    width: 89px;
    flex-shrink: 0;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 0;
    gap: 0.3rem;
    flex-shrink: 0;
  }

  section {
    padding: 1.5rem 0.5rem 1rem;
    width: 95vw;
    margin: 0 auto;
  }
}
