@font-face {
  font-family: "Go Mono";
  src: url("Fonts/Go-Mono.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Go Mono";
  src: url("Fonts/Go-Mono-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Go Mono";
  src: url("Fonts/Go-Mono-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Go Mono";
  src: url("Fonts/Go-Mono-Bold-Italic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}

* {
  box-sizing: border-box;
}

body {
  --font-size: 16px;

  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  font-family: "Go Mono", monospace;
  font-size: var(--font-size);
  line-height: 1.8;

  background-color: #ffffff;
  color: #111111;
}

html[data-theme="dark"] body {
  background-color: #000000;
  color: #e8e8e8;
}

.content {
  max-width: 600px;
  padding: 0 24px;
  text-align: center;
}

h1 {
  font-size: 48px;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 0 32px;
}

p {
  margin: 0 0 16px;
}

.leave {
  font-weight: bold;
  font-style: italic;
}

.content a:link,
.content a:visited,
.content a:hover,
.content a:active {
  color: black;
  text-decoration: underline;
}

html[data-theme="dark"] .content a:link,
html[data-theme="dark"] .content a:visited,
html[data-theme="dark"] .content a:hover,
html[data-theme="dark"] .content a:active {
  color: #e8e8e8;
}

#theme-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;

  width: 40px;
  height: 40px;
  padding: 8px;

  background: none;
  border: none;
  color: #888888;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

#theme-toggle svg {
  width: 100%;
  height: 100%;
}

#icon-moon {
  display: block;
}

#icon-sun {
  display: none;
}

html[data-theme="dark"] #icon-moon {
  display: none;
}

html[data-theme="dark"] #icon-sun {
  display: block;
}

html[data-theme="dark"] #theme-toggle {
  color: #999999;
}
