/* Clean and minimal styles for course website */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --text-color: #333;
  --background-color: #fff;
  --light-gray: #f8f9fa;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 0.3em;
}

h2 {
  border-bottom: 2px solid var(--light-gray);
  padding-bottom: 0.2em;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin: 1.5em 0;
}

th {
  background-color: var(--primary-color);
  color: white;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

td {
  padding: 10px 12px;
  border-bottom: 1px solid #ddd;
}

tr:hover {
  background-color: var(--light-gray);
}

a {
  color: var(--secondary-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.subtitle {
  color: #666;
  font-size: 1.2em;
  font-weight: 400;
}

blockquote {
  border-left: 4px solid var(--secondary-color);
  padding-left: 1em;
  margin-left: 0;
  color: #555;
}

code {
  background-color: var(--light-gray);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.9em;
}

pre {
  background-color: var(--light-gray);
  padding: 1em;
  border-radius: 5px;
  overflow-x: auto;
}
