
:root { 
    --primary: #E53935;
    --secondary: #FF8A80;
    --background: #171717;
    --text: white;
}

.special-elite-regular {
  font-family: "Special Elite", system-ui;
  font-weight: 400;
  font-style: normal;
}

.coral-pixels-regular {
  font-family: "Coral Pixels", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3rem;
}

body {
  font-family: "IBM Plex Serif", serif;
  font-weight: 400;
  font-style: normal;
}

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

a:hover {
  color : var(--secondary);
}

a:visited {
  color: var(--secondary);
}

body {
  font-size: 1rem;
  line-height:1.5;
  color: var(--text);
  background-color: var(--background);
}

header {
  border-bottom: 0.2rem solid var(--text);
}

nav a {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
}

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

#btn-switch {
  	background: none;
	color: inherit;
	border: none;
	font: inherit;
	cursor: pointer;
}

#btn-switch:hover {
  color : var(--secondary);
}

h1 {
  font-size: 2.4rem;
}

h2 {
  font-size: 2rem;
}

article .header {
  font-size: 1.4rem;
  font-style: italic;
  color: #555;
}

.logo a {
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
}

@media (max-width: 319px) {
  body {
    width: 90%;
    margin: 0;
    padding: 0 5%;
  }
  header {
    margin: 2rem 0;
  }
  nav {
    margin: 0 auto 1.5rem;
    text-align: center;
  }
  footer {
    text-align: center;
  }
  .logo {
    text-align: center;
    margin: 1rem auto 1.5rem;
  }
  .logo a {
    font-size: 2.4rem;
  }
  nav a {
    display: block;
    line-height: 1.6;
  }
}

@media (min-width: 320px) {
  body {
    width: 90%;
    margin: 0;
    padding: 0 5%;
  }
  header {
    margin: 2rem 0;
  }
  nav {
    margin: 0 auto 1.5rem;
    text-align: center;
  }
  footer {
    text-align: center;
  }
  .logo {
    text-align: center;
    margin: 1rem auto 3rem;
  }
  .logo a {
    font-size: 2.4rem;
  }
  nav a {
    display: inline;
    margin: 0 0.6rem;
  }
}

@media (min-width: 640px) {
  body {
    width: 90%;
    margin: 0 auto;
    padding: 0;
  }
  header {
    margin: 0 0 1.5rem;
    padding: 0.8rem 0;
  }
  nav {
    margin: 0;
    text-align: right;
  }
  nav a {
    margin: 0 0 0 1.2rem;
    display: inline;
  }
  footer {
    text-align: right;
  }
  .logo {
    margin: 0;
    text-align: left;
  }
  .logo a {
    float: left;
    font-size: 1.8rem;
  }
}

@media (min-width: 1280px) {
  body {
    width: 50%;
    margin: 0 auto;
    padding: 0;
  }
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  width: auto;
  padding: 16px;
  color: var(--text);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.gallery {
  align-items: center;
  display: flex;
  gap: 10px;
}

.photo {
  display: none;
  flex: 1;
}

.photo > img {
  max-width: 100%;
  height: 50vh;
  object-fit: contain;
}

.svg-img {
  border: none;
  margin: none;
  filter: var(--filter);
  height: 1.4rem;
  display: inline;
}

footer {
  font-size: 1rem;
  border-top: 1px dotted;
  text-align: left;
  align-content: left;
}

img {
    border: 1px solid;
    margin: auto;
    display: block;
    max-width:75%; 
}

.modded {
    color: grey;
}

p {
  margin-top: 0px;
  margin-bottom: 0.8rem;
}
p > code {
  padding: .1rem .3rem .2rem;
}

ul, ol {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}
li {
  margin-bottom: 0.2rem;
}

pre {
  background-color: #212121;
  word-wrap: break-word;
  box-decoration-break: clone;
  overflow-x: auto;
}

code {
  background-color: #212121;
  color: white;
  font-family: "PressStart";
  font-size: 1rem;
}
