@import url("https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Gentium+Book+Plus:ital,wght@0,400;0,700;1,400;1,700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Gentium Book Plus", "Source Serif 4", serif;
  font-weight: 500;
  background-color: rgb(249, 250, 251);
  color: #1f2937;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Gentium Book Plus", "Source Sans 3", sans-serif;
  color: #111827;
  font-weight: 700;
}

h1 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 0.5rem;
}

p, a, span, li, td, th {
  font-family: "Source Serif 4", serif;
  color: #1f2937;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2563eb;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.link {
  color: #2563eb;
}
.link:hover {
  text-decoration: underline;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.25rem;
}

.blogList {
  list-style: none;
}

.blogListItem {
  margin: 10px;
  margin-top: 20px;
  margin-bottom: 20px;
}

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  border-left: 4px solid #2563eb;
  background-color: #f8fafc;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #4b5563;
}
blockquote p {
  margin-bottom: 0.5rem;
  color: inherit;
}
blockquote p:last-child {
  margin-bottom: 0;
}
blockquote blockquote {
  margin: 0.5rem 0;
  padding: 0.5rem 1rem;
  border-left: 3px solid #64748b;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 6px;
}

figure {
  margin: 1.5rem 0;
  text-align: center;
}
figure img {
  margin-bottom: 0.5rem;
}
figure figcaption {
  font-style: italic;
  color: #4b5563;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

pre {
  background-color: #f6f8fa;
  border: 1px solid #d1d9e0;
  border-radius: 6px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 1rem;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
  font-size: 14px;
  line-height: 1.45;
}

code {
  background-color: rgba(206, 96, 28, 0.1);
  #color: #000000;
  border-radius: 3px;
  padding: 2px 4px;
  font-family: "SFMono-Regular", "Consolas", "Liberation Mono", "Menlo", monospace;
  font-size: 85%;
}

pre code {
  background-color: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

.box {
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  color: #1f2937;
  max-width: 1000px;
  width: 100%;
  margin: 1rem auto;
}
.box:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.nav-box {
  margin-top: 2rem;
}

.footer-box {
  margin-bottom: 4rem;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.nav-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #1f2937;
  flex: auto;
}

.nav-links {
  display: flex;
  gap: 15px;
  flex: initial;
  margin-right: 15px;
}

.nav-link {
  text-decoration: none;
  color: #2563eb;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
  color: #4b5563;
  text-align: center;
  background-color: #ffffff;
}
table th, table td {
  padding: 0.75rem;
  border-bottom: 1px solid #d1d5db;
}
table thead {
  background-color: rgb(249, 250, 251);
}

.video-container {
  margin: 15px auto;
  position: relative;
  width: 80%;
  min-width: 400px;
  padding-top: 45%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  width: 100%;
}

.dark-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: initial;
}

.material-symbols-outlined {
  font-size: 1.5rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 25px;
}
.switch .slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.25s;
  border-radius: 50%;
}
.switch input:checked + .slider {
  background-color: #606060;
}
.switch input:checked + .slider:before {
  transform: translateX(26px);
}

html.dark body {
  background-color: #1e293b;
  color: #e2e8f0;
}
html.dark p, html.dark a, html.dark span, html.dark li, html.dark td, html.dark th {
  color: #e2e8f0;
}
html.dark .box {
  background-color: #334155;
  color: #e2e8f0;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
}
html.dark .box:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
html.dark .nav-title,
html.dark h1, html.dark h2, html.dark h3, html.dark h4, html.dark h5, html.dark h6 {
  color: #e2e8f0;
}
html.dark .nav-link,
html.dark a {
  color: #93c5fd;
}
html.dark table {
  background-color: #334155;
}
html.dark table thead {
  background-color: #1e293b;
}
html.dark .switch .slider {
  background-color: #374151;
}
html.dark .switch .slider:before {
  background-color: #1f2937;
}
html.dark input:checked + .slider {
  background-color: #d1d5db;
}
html.dark .dark-toggle label {
  color: #e2e8f0;
}
html.dark pre {
  background-color: #0d1117;
  border: 1px solid #30363d;
  color: #e6edf3;
}
html.dark code {
  background-color: #161b22;
  color: #e6edf3;
}
html.dark pre code {
  background-color: transparent;
}
html.dark figcaption {
  color: #94a3b8;
}
html.dark blockquote {
  background-color: #1e293b;
  border-left-color: #93c5fd;
  color: #94a3b8;
}
html.dark blockquote p {
  color: inherit;
}
html.dark blockquote blockquote {
  border-left-color: #64748b;
}
