body {
  font-family: Arial, sans-serif;
  background: #f7f7f7;
  color: #2c3e50;
}

@media (max-width: 600px) {
  .container {
    max-width: 98vw;
    /* Almost the entire viewport width */
    padding: 1.2em 0.3em;
    /* Less padding on all sides */
    margin: 1em auto;
    /* Reduced vertical margin */
    border-radius: 8px;
    /* Slightly rounder corners */
    box-sizing: border-box;
  }
}

.container {
  max-width: 800px;
  margin: 40pt auto;
  padding: 3em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #ccc;
  text-align: left;
}

.left-right-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  /* space after this block */
}

li.no-bullet {
  list-style-type: none;
  /* Removes bullet for this specific li */
}

.profile-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1em;
  display: block;       /* Make the image a block element */
  margin-left: auto;    /* Automatic left margin */
  margin-right: auto;   /* Automatic right margin */
}
.cover-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/cover-image.JPG');
  background-size: cover;
  background-position: center;
  z-index: -1;
  /* Puts it "under" everything */
}

p {
  text-align: left;
}

ul {
  list-style-type: square;
  padding-left: 0;
  text-align: left;
}

li {
  margin: 8px 25px;
}

li::marker {
  content: '\25C6\2003';
  /* Your custom symbol */
  font-size: 0.9em;
  color: #333;
}

li li::marker {
  content: '\25A0\2003';
  /* Your custom symbol */
  font-size: 0.9em;
  color: #333;
}

li li {
  margin: 4px 30px;
}

a {
  text-decoration: none;
  color: #2980b9;
  font-weight: bold;
}

a:hover {
  color: #1abc9c;
}

ul.about-icons li::marker {
  content: '\25CB\2003';
  /* Star symbol */
  font-size: 1em;
  color: #2c3e50;
  margin-right: 1.5em;
}
h1 {
  text-align: center;
}
h2 {
  text-align: center;
}

ul.contact-icons {
  list-style-type: none;
  /* Remove bullets */
  padding: 0;
  /* Remove padding */
  margin: 0;
  /* Remove margin */
  text-align: center;
  /* Optional: align text left */
}

ul.contact-icons li {
  display: inline-block;
  /* Make list items appear in one line */
  margin: 10px 10px;
  /* Space between items */
}

.contact-icons a {
  color: #333;
  font-size: 1em;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-icons a:hover {
  color: #2a8fd5;
  /* your accent color */
}

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

.container.backtop a {
  font-size: 1.2em;
  font-weight: bold;
  display: inline-block;
  text-decoration: none;
  margin: 0em 0;
}
/* Monospace font family for all code */
pre, code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Block code */
pre {
  background: #0d1117;          /* dark background */
  color: #c9d1d9;               /* light foreground */
  border: 1px solid #30363d;    /* subtle border */
  border-radius: 8px;
  padding: 1rem;
  overflow: auto;               /* horizontal scroll when needed */
  line-height: 1.5;
  tab-size: 2;
}

/* Remove double background on nested code */
pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* Inline code */
code {
  background: #161b22;
  color: #e6edf3;
  border: 1px solid #30363d;
  border-radius: 4px;
  padding: 0.15em 0.35em;
}


  .intro { /* like container but slightly wider*/
    max-width: 800px;
    margin: 2em auto;
    padding: 1.5em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    line-height: 1.6;
    color: #2c3e50;
  }

.dashboard-container {
  /* match the intro’s width */
  width: 100%;
  max-width: 800px;
  margin: 2em auto;        /* same vertical spacing + centered */
  
  /* enforce square shape */
  aspect-ratio: 1 / 1;

  /* styling */
  background-color: rgba(255,255,255,0.5);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;        /* clip any overflow */
}

.dashboard-container iframe {
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.metrics-table {
  margin: 30px auto;  /* Center horizontally */
  border-collapse: collapse;
  width: 100%;
  max-width: 500px;  /* Optional: prevent too-wide tables */
}

.metrics-table th,
.metrics-table td {
  padding: 12px 20px;
  text-align: center;  /* Center cell content */
  border-bottom: 1px solid #e0e0e0;
}

.metrics-table th {
  font-weight: bold;
  background-color: #f5f5f5;
}
.metrics-table td:last-child {
  font-weight: 550;  /* Slightly heavier, not full bold */
  color: #1a1a1a;   /* Slightly darker for emphasis */
}
.result-chart {
  display: block;
  margin: 30px auto;
  max-width: 100%;
  border-radius: 8px;
}

.result-chart-container {
  text-align: center;
  margin: 30px auto;
}

.result-chart-container figcaption {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  font-style: italic;
}

.features-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.features-table th {
  background-color: #f5f5f5;
  padding: 12px;
  text-align: left;
  font-weight: bold;
  border-bottom: 2px solid #ddd;
}

.features-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  line-height: 1.6;
}

.features-table em {
  color: #666;
  font-size: 0.9em;
}

.back-link {
  display: inline-block;
  padding: 10px 0;
  font-size: 1.25rem;  /* Slightly bigger */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #333;
}