@font-face {
  font-family: "Departure Mono";
  src: local("Departure Mono"),
    url("/assets/theme/DepartureMono/DepartureMono-Regular.otf") format("opentype"),
    url("/assets/theme/DepartureMono/DepartureMono-Regular.woff") format("woff"),
    url("/assets/theme/DepartureMono/DepartureMono-Regular.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
}

body {
  color: light-dark(#333b3c, #efefec);
  background-color: light-dark(#fafafe, #08061b);
  position: relative;
  margin: 0;
  font: 16px "Departure Mono", sans-serif;
  z-index: 1;
}

body::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("/assets/theme/owl.png");
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0.3;
  z-index: -1;
}

/* Nav Begin */

nav {
  position: sticky;
  top: 0;
  background-color: light-dark(#f9f8fb, #1a192b);
  overflow: hidden;
  z-index: 100;
}

nav ul {
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

nav ul li {
  display: inline;
}

nav ul li a {
  float: left;
  color: #f2f2f2;
  color: light-dark(#737373, #f2f2f2);
  text-align: center;
  padding: 20px;
  text-decoration: none;
  font-size: 17px;
  min-height: 24px;
}

nav ul li a:hover {
  background-color: #ddd;
  color: black;
}

nav ul li a.active {
  background-color: light-dark(#03956e, #04e0a5);
  color: light-dark(white, black);
}

/* Nav End */

/* Style to create a horizontal list */
ul.horizontal-list {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
}

ul.horizontal-list li {
  margin-right: 10px;
}

main {
  padding: 10%;
}

footer {
  padding-right: 10%;
  padding-left: 10%;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: light-dark(#f9f8fb, #1a192b);
}

address {
  font-style: normal;
}

a {
  color: light-dark(#03956e, #04e0a5);
  text-decoration: none;
}

a:hover {
  color: light-dark(#282828, #eee);
  text-decoration: none;
}

img {
  width: 100%;
}

pre {
  max-height: 600px;
  overflow: auto;
  width: auto;
}

h1 {
  font-size: 42px;
  color: light-dark(black, white);
}

h2 {
  font-size: 34px;
  color: light-dark(black, white);
}

h3 {
  font-size: 25px;
  color: light-dark(black, white);
}