body {
    background-color: #fdf6e3;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    padding-top: 4rem;
}

/* Add this to your CSS */
#background-art-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/home/david/Desktop/dekunztvanwillem_tier_list/collage/30.jpg');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
  pointer-events: none; /* So it doesn't block links/buttons */
}

h1, h2, h3, h4, h5 {
    color: #654321;
}

a {
    color: #005f73;
}

a:hover {
    color: #0a9396;
    text-decoration: none;
}

.navbar {
    background-color: #eee8d5;
}

.container {
    max-width: 768px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 6px;
}


.content-wrapper {
  width: 60%;
  max-width: 2000px;
  padding: 0 1rem; /* optional, avoids content touching edges */
}


.social-icons a {
  color: #f8df9c; /* your primary accent */
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #f3c855; /* hover color */
}

.social-icons i {
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Dracula Theme for Org-htmlize output */

pre.src {
  background: #282a36;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid #44475a;
  position: relative;
}

/* Syntax colors */
.org-keyword       { color: #ff79c6; font-weight: bold; }
.org-builtin       { color: #8be9fd; }
.org-string        { color: #f1fa8c; }
.org-variable-name { color: #50fa7b; }
.org-function-name { color: #bd93f9; }
.org-comment       { color: #6272a4; font-style: italic; }
.org-constant      { color: #bd93f9; }
.org-type          { color: #8be9fd; }
.org-preprocessor  { color: #ffb86c; }
.org-operator      { color: #ff5555; }
.org-warning       { color: #ffb86c; background: #282a36; }

/* Optional: show language label */
pre.src::before {
  content: attr(class);
  position: absolute;
  top: -10px;
  right: 1rem;
  font-size: 0.7rem;
  background: #44475a;
  padding: 2px 6px;
  border-radius: 3px;
  color: #f8f8f2;
}


.framed-figure {
  border: 2px solid #ccc;
  padding: 5px;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.constrained-img {
  max-width: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.preview-thumb {
  max-width: 30%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  object-fit: cover;
}


body.dark-theme {
  background-color: #121212;
  color: #e0e0e0;
}

.dark-theme .card {
  background-color: #1e1e1e;
  color: #e0e0e0;
}

.dark-theme .navbar {
  background-color: #2c2c2c;
}

.dark-theme .text-muted {
  color: #cececabf;
}



/* Dark mode general text color override */
body.dark-theme {
  color: #e0e0e0;
}

/* Make sure card content inherits a light text color in dark mode */
body.dark-theme .card,
body.dark-theme .card-body,
body.dark-theme .card-title,
body.dark-theme .card-subtitle,
body.dark-theme .card-text {
  background-color: #1e1e1e; /* Optional: also darken cards */
  color: #e0e0e0 !important;
}

/* Button text (optional: contrast tweak) */
body.dark-theme .btn-outline-secondary {
  color: #ccc;
  border-color: #888;
}
body.dark-theme .btn-outline-secondary:hover {
  background-color: #333;
  color: #fff;
}

/* abstract */
.abstract-text {
  display: inline;
}

.more-text {
  display: none;
}

.toggle-button {
  background: none;
  border: none;
  color: #007bff; /* Bootstrap blue — you can customize */
  cursor: pointer;
  padding: 0;
  font-size: 0.9em;
  font-style: italic;
  text-decoration: underline;
}



