:root {
  --background-color: #f2f2f2;
  --text-color: #222222;
  --link-color: darkcyan;
}

[data-theme="dark"] {
  --background-color: #121212;
  --text-color: #f0f0f0;
  --link-color: #f6a833;
}

.theme-toggle-button {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 100;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 24px; /* Adjust the font-size to make the icon bigger */
}


html {
  font-size: 20px;
}

body {
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 200px;
  background-color: var(--background-color);
  color: var(--text-color);

  font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Serif Pro', serif;
  line-height: 100%;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  line-height: 140%;
  font-size: 1rem;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

img {
  max-width: auto;
}

@media screen and (max-width: 600px) {
  img {
    max-width: 100%;
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  color: var(--link-color);
}

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

@media screen and (max-width: 400px) {
  html {
    font-size: 24px;
  }
  body {
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
  }
  img {
    width: 100%;
  }
}
