@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --accent-color: #4fd1c5;
  --bg-color: #f8f9fa;
  --heading-color: #111;
  --link-color: #3182ce;
  --link-hover: #2b6cb0;
  --text-color: #1a202c;
  --visited-color: #6b46c1;
}

[data-theme='dark'] {
  --accent-color: #8fff85;
  --bg-color: #0b1e13;
  --heading-color: #ffffff;
  --link-color: #4fd1c5;
  --link-hover: #63b3ed;
  --text-color: #e2e8f0;
  --visited-color: #805ad5;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  line-height: 1.6;
  padding: 2rem;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--link-hover);
}

a:visited {
  color: var(--visited-color);
}

footer {
  color: var(--text-color);
  font-size: 0.9rem;
  padding: 2rem 0 1rem;
  text-align: center;
}

h1, h2, h3 {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.heading {
  margin-bottom: 2rem;
}

.img-left,
.img-right {
  border-radius: 50%;
  height: 60px;
  margin: 1rem auto;
  object-fit: cover;
  width: 60px;
}

img,
video {
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  display: block;
  height: auto;
  margin: 1rem auto;
  max-width: 900px;
  width: 100%;
}

li {
  margin: 0.5rem 0;
}

ol,
ul {
  display: block;
  list-style-position: inside;
  margin: 1rem auto;
  max-width: 90%;
  padding-left: 0;
  text-align: center;
  width: fit-content;
}

strong {
  color: var(--heading-color);
  font-weight: 800;
}

.sub-heading,
.sub-heading-1 {
  font-weight: 500;
  margin-bottom: 1rem;
}

.theme-toggle,
.all-extensions {
  background: none;
  border: 2px solid var(--accent-color);
  border-radius: 20px;
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  padding: 0.3rem 1rem;
  position: fixed;
  transition: all 0.3s ease;
  background-color: var(--accent-color);
}

.theme-toggle {
  right: 1rem;
  top: 1rem;
}

.all-extensions {
  left: 1rem;
  top: 1rem;
}

.settings-table {
  border-collapse: collapse;
  font-size: 1rem;
  margin: 2rem auto;
  max-width: 900px;
  text-align: left;
  width: 100%;
}

.settings-table th,
.settings-table td {
  border: 1px solid #ccc;
  padding: 12px;
}

.settings-table thead {
  background-color: var(--heading-color);
  color: var(--bg-color);
}

[data-theme='dark'] .settings-table thead {
  background-color: #444;
  color: #fff;
}

.settings-table tbody tr:nth-child(even) {
  background-color: #f0f0f0;
}

[data-theme='dark'] .settings-table tbody tr:nth-child(even) {
  background-color: #2c2c2c;
}

[data-theme='dark'] .settings-table tbody tr:nth-child(odd) {
  background-color: #1c1c1c;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 0.95rem;
    padding: 1rem;
  }

  ol,
  ul {
    padding-left: 0;
  }
}
