@import url('https://fonts.googleapis.com/css2?family=Inconsolata:wght@400;700&display=swap');

/* ── Reset / Base ─────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  color: #5d5c61;
  font-family: 'Inconsolata', monospace;
  line-height: 1.2;
}

/* ── Container ───────────────────────────── */
.container {
  max-width: 750px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ── Navbar ──────────────────────────────── */
.navbar {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  margin-top: 3rem;
}

@media (min-width: 576px) {
  .navbar {
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
  }
}

.navbar-brand {
  font-size: 2rem;
  font-weight: 700;
  color: #5d5c61;
  text-decoration: none;
  margin-right: auto;
}

.navbar-brand:hover {
  color: #5d5c61;
  text-decoration: none;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.nav-item.nav-link {
  color: #7395ae;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
}

.nav-item.nav-link:hover {
  color: #7395ae;
  text-decoration: underline;
}

.navbar-text {
  margin: 0 4px;
  color: #5d5c61;
}

/* ── HR ──────────────────────────────────── */
hr {
  border: none;
  border-top: 1px solid #dee2e6;
  margin: 1rem 0;
}

/* ── Content ─────────────────────────────── */
#content a {
  color: #7395ae;
  text-decoration: none;
}

#content a:hover {
  color: #7395ae;
  text-decoration: underline;
}

#content p {
  margin-bottom: 0.6rem;
}

#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
  font-weight: 700;
  margin: 1rem 0 0.6rem;
}

#content h1 { font-size: 1.8rem; }
#content h2 { font-size: 1.6rem; }
#content h3 { font-size: 1.4rem; }
#content h4 { font-size: 1.2rem; }

#content img {
  display: block;
  margin: 1rem auto;
  max-width: 100%;
}

#content div.avatar {
  float: left;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 20px 12px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

#content div.avatar > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  float: none !important;
  margin: 0 !important;
  display: block !important;
}

#content ul {
  list-style: inside;
  padding-left: 2rem;
}

#content ul > li {
  list-style-position: outside;
  margin-left: 1em;
}

/* ── Footer ──────────────────────────────── */
#footer {
  margin-bottom: 3rem;
}

#footer a {
  color: #5d5c61;
  text-decoration: none;
  font-size: 1.2rem;
  margin: 0 4px;
}

#footer a:hover {
  color: #5d5c61;
  text-decoration: underline;
}

.text-center {
  text-align: center;
}

/* ── Collapsible ─────────────────────────── */
.collapsible {
  background-color: #7395ae;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  font-family: 'Inconsolata', monospace;
}

.collapsible:after {
  content: '\002B';
  color: white;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2212";
}

.content {
  padding: 0 18px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
}
