body {
  margin: 0;
  padding: 0;
  font-family: "Space Mono", monospace;
  background-color: #f0f0f0;
}

*::selection {
  background-color: yellow;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 400px 24px;
}

/* if width is less than 1366px, hide the floating table of contents */
@media (max-width: 1366px) {
  #floating-table-of-contents {
    display: none !important;
  }
}

#floating-table-of-contents {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  padding-left: 48px;
  padding-top: 48px;
  flex-direction: column;
  gap: 10px;
}

.header {
  background-color: #333;
  color: #fff;
}

button {
  /* reset button styles */
  border: none;
  background-color: transparent;
  padding: 0;
  cursor: pointer;
  font-size: 16px;
  font-style: italic;
  text-align: left;
  color: blue;
  font-family: "Space Mono", monospace;
  text-decoration: underline;
}

button:hover {
  text-decoration: none;
}

h1 {
  font-size: 24px;
}

h2 {
  font-style: italic;
  font-size: 22px;
  margin-top: 22px;
  padding-top: 22px;
  margin-bottom: 12px;
}

h2 .emoji {
  font-style: normal;
}

p,
ul {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 2;
  color: #4f4f4f;
}

ul {
  padding-left: 24px;
}

ul,
li {
  list-style-type: square;
  margin-top: 0px;
  margin-bottom: 0px;
}

li {
  padding-left: 6px;
}

a {
  color: blue;
  font-style: italic;
}

a:hover {
  text-decoration: none;
}
