@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap");

:root {
  --width: 720px;
  --font-main: "Fira Code", monospace;
  --font-secondary: "Fira Code", monospace;
  --font-scale: 1em;
  --background-color: #fff;
  --heading-color: #222;
  --text-color: #444;
  --link-color: #3273dc;
  --visited-color: #8b6fcb;
  --code-background-color: #f2f2f2;
  --code-color: #222;
  --blockquote-color: #222;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #01242e;
    --heading-color: #eee;
    --text-color: #ddd;
    --link-color: #8cc2dd;
    --visited-color: #8b6fcb;
    --code-background-color: #000;
    --code-color: #ddd;
    --blockquote-color: #ccc;
  }
}

body {
  font-family: var(--font-secondary);
  font-size: var(--font-scale);
  margin: auto;
  padding: 20px;
  max-width: var(--width);
  text-align: left;
  background-color: var(--background-color);
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  color: var(--text-color);

  background-image: url("wallpaper.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--heading-color);
}

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

a:hover {
  text-decoration: underline;
}

nav a {
  margin-right: 8px;
}

strong,
b {
  color: var(--heading-color);
}

button {
  margin: 0;
  cursor: pointer;
}

time {
  font-family: monospace;
  font-style: normal;
  font-size: 15px;
}

main {
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--link-color);
  background-color: #242938;
  border-radius: 10px;
}

table {
  width: 100%;
}

hr {
  border: 0;
  border-top: 1px dashed;
}

img {
  max-width: 100%;
}

footer {
  text-align: center;
}

.gifs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.webring {
  display: flex;
  justify-content: center;
  align-items: center;

  font-weight: bold;

  padding: 20px 0;
  margin: 0 0 20px 0;
  border: 1px solid var(--link-color);
  background-color: #242938;
  border-radius: 10px;
}

.webring a {
  margin: 0 10px;
}

.socials {
  display: flex;
  justify-content: center;
}