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

:root {
  /* root */
  --font-family: "Montserrat", sans-serif;
  --font-size: 10;
  --background-color: #f9f9f9;
  --text-color: #373841;
  --subtext-color: #6c757d;
  --link-color: #438bb1;
  --hover-color: #fc8452;
  --border-color: #c4c9d9;
  --border-width: 1px;
  --border-style: solid;

  /* navbar/footer */
  --navbar-background-color: #f9f9f9;
  --navbar-text-color: #373841;
  --navbar-hover: #e7e7f5;
  --footer-background-color: #f9f9f9;

  /* headings */
  --heading1-color: #fc8452;
  --heading2-color: #373841;
  --heading3-color: #373841;
  --heading1-font-size: 25px;

  /* content */
  --author-row-font-size: 12px;
  --content-padding: 40px;
  --content-margin: 40px;
  --element-padding: 20px;
  --element-margin: 20px;
  --article-margin: 10px;
  --heading-margin: 30px;
  --radius: 5px;
  --line-height: 1.5;

  /* code */
  --code-block-font-size: 14px;
  --codeblock-bg-color: #edeeee;
  --inline-code-color: #373841;
  --inline-code-bg-color: #edeeee;
  --code-font-family: "Fira Mono", monospace;

  /* table */
  --table-even-row-bg-color: #f9f9f9;
  --table-odd-row-bg-color: #f9f9f9;
  --table-header-bg: #eff3f7;
  --table-font-color: #373841;
  --table-header-font-size: 14px;
  --table-row-font-size: 12px;
}

@media (max-width: 600px) {
  :root {
    --author-row-font-size: 12px;
    --heading1-font-size: 25px;
    --code-block-font-size: 10px;
    --avatar-width: 20px;
    --article-max-width: 100%;
    --table-header-font-size: 9px;
    --table-row-font-size: 6px;
  }
}

/* Style for WebKit browsers (Chrome, Safari, etc.) */
*::-webkit-scrollbar {
  height: 2px;
  border-radius: 1px;
  background: #1f1f28;
}

*::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: #585653;
}

*::-webkit-scrollbar-thumb:hover {
  height: 2px;
  background: #454445; /* Background color on hover */
}

html {
  display: flex;
  min-height: 100vh;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  font-size: var(--font-size);
  color: var(--text-color);
  display: flex;
  width: 100%;
}

figure {
  text-align: center;
  margin: 20px;
}

p {
  margin-top: 10px;
  margin-bottom: 10px;
}

h4 {
  margin-top: 30px;
  margin-bottom: 10px;
}

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

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

time {
  color: var(--subtext-color);
  margin-bottom: var(--article-margin);
}

footer {
  background-color: var(--footer-background-color);
  color: var(--text-color);
  padding: 20px;
  height: 10vh;
  border-top: var(--border-width) var(--border-style) var(--border-color);
}

#footer {
  display: flex;
  justify-content: center;
}
