@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  scrollbar-width: thin;
  scrollbar-color: #fff #000;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background-color: #fff;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e6e6e6;
}

body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
  display: flex;
  height: 100vh;
  flex-direction: column;
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.content h1,
.sidebar h2 {
  font-family: 'Poppins', sans-serif;
}

/* MAIN LAYOUT */
.main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* LEFT SIDEBAR */
.sidebar {
  width: 20%;
  background: #f8f8f8;
  border-right: 1px solid #e5e5e5;
  padding: 20px;
  overflow-y: auto;
}

.sidebar h2 {
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.course-list ul {
  list-style: none;
}

.course-list li {
  margin-bottom: 12px;
}

.course-list a {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
}

.course-list a.active {
  font-weight: 700;
  background: #e0e0e0;
}

.course-list a:hover {
  text-decoration: underline;
}

/* CONTENT */
.content {
  width: 80%;
  padding: 28px 32px;
  overflow-y: auto;
  overflow-x: auto;
}

.content h1 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 12px;
}

.content h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 22px 0 12px;
}

.content a {
  color: #000;
  text-decoration: underline;
}

.content p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.section {
  margin-top: 30px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #ddd;
}

.content-full {
  width: 100%;
}

.section-tight {
  margin-top: 16px;
}

.section-title-plain {
  border: none;
  padding-bottom: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 15px;
}

/* Responsive tables */
:where(.content, .content-full, .section-content, .info-page .content, .content-page) table {
  min-width: 520px;
  width: 100%;
}

:where(.content, .content-full, .section-content, .info-page .content, .content-page) {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table col.feature-col {
  width: 28%;
}

.comparison-table caption {
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ddd;
  padding: 10px;
  vertical-align: top;
}

.comparison-table thead th {
  background: #f2f2f2;
  text-align: left;
}

.comparison-table tbody th[scope="row"] {
  background: #f9f9f9;
  font-weight: 700;
  text-align: left;
}

.comparison-table tbody tr:nth-child(even) {
  background: #fafafa;
}

/* FOOTER */
footer {
  padding: 12px 20px;
  font-size: 13px;
  border-top: 1px solid #e5e5e5;
  background: #fafafa;
  display: flex;
  justify-content: space-between;
}

footer a {
  color: #000;
  text-decoration: none;
  margin-left: 15px;
}

footer a:hover {
  text-decoration: underline;
}
