:root {
  --background: #ffffff;
  --foreground: #030303;
  --theme1: #0a3e00;
  --theme2: #9dce93;
  --theme3: #d0e9cb;
}

/* Dark theme
@media (prefers-color-scheme: dark) {
  :root {
    --background: #262626;
    --foreground: #ededed;
    --theme1: #FC7012;
    --theme2: #3D0158;
  }

  .invertOnDark
  {
    filter: invert(1.0);
  }
}
  */
@font-face {
  font-family: OpenSans;
  src: url("./media/OpenSans.ttf");
  font-style: normal;
}
@font-face {
  font-family: OpenSans;
  src: url("./media/OpenSans_Italic.ttf");
  font-style: italic;
}
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: OpenSans, Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }
}
@keyframes slide_fill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}
.navigation .navbarTop {
  position: fixed;
  width: 100%;
  height: 80px;
  background: var(--theme1);
  display: flex;
  justify-content: space-between;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  z-index: 3;
}
.navigation .navbarTop.minimised {
  height: 60px;
}
.navigation .navbarTop.minimised .logo {
  position: absolute;
  width: 100px;
  height: auto;
  left: 15px;
  top: 5px;
  user-select: none;
}
.navigation .navbarTop .logo {
  position: absolute;
  width: 160px;
  height: 160px;
  left: -10px;
  top: -45px;
  user-select: none;
}
.navigation .navbarTop .right {
  max-width: calc(99% - 100px);
}
.navigation .navbarTop .navoptions {
  list-style-type: none;
  color: #fff;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}
.navigation .navbarTop .navoptions li {
  margin: 0 25px 0 35px;
}
.navigation .navbarTop .navoptions li:not(.no_underline):hover {
  text-decoration: underline;
}
.navigation .navmenu .menucontent {
  width: 300px;
  height: 100%;
  background: var(--theme1);
  position: fixed;
  top: 0;
  right: -300px;
  z-index: 5;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px 0 20px 0;
}
.navigation .navmenu .menucontent .navclose {
  position: absolute;
  top: 5px;
  left: 15px;
  user-select: none;
  cursor: pointer;
  color: var(--background);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  font-size: 32px;
  padding: 0;
  margin: 0;
}
.navigation .navmenu .menucontent .navtoggle {
  position: absolute;
  top: 20px;
  left: -60px;
  user-select: none;
  cursor: pointer;
  color: var(--background);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
  font-size: 72px;
  padding: 0 0 5px 5px;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.navigation .navmenu .menucontent .logo {
  position: relative;
  width: 240px;
  height: 240px;
  left: calc(50% - 120px);
  margin-bottom: -40px;
  margin-top: -40px;
  user-select: none;
  filter: invert(1);
}
.navigation .navmenu .menucontent .content {
  position: relative;
}
.navigation .navmenu .menucontent .content ul {
  position: relative;
  list-style-type: none;
  width: 100%;
}
.navigation .navmenu .menucontent .content ul li {
  height: 50px;
  user-select: none;
  cursor: pointer;
  color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 100%;
}
.navigation .navmenu .menucontent .content ul li:hover {
  background: rgba(255, 255, 255, 0.05);
}

.main {
  margin-top: 60px;
}
@media (max-width: 900px) {
  .main {
    margin-top: 0px;
  }
}

.donate {
  position: relative;
  min-width: 150px;
  min-height: 50px;
  background: var(--theme1);
  color: var(--background);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  letter-spacing: 0.2px;
  user-select: none;
}
.donate.invert {
  background: var(--background);
  color: var(--theme1);
}
.donate.invert .donate_overlay {
  background-color: var(--theme3);
}
.donate:hover .donate_overlay {
  animation: slide_fill 0.3s linear;
  width: 100%;
}
.donate:active {
  font-size: 1.05em;
}
.donate .donate_overlay {
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
}
.donate .donate_text {
  text-decoration: none !important;
  z-index: 1;
}

.footer {
  background: var(--theme1);
  color: #fff;
  padding: 20px 10px 20px 10px;
  font-size: 12px;
  position: relative;
  z-index: 1;
}
.footer a {
  color: #008088;
  text-decoration: underline;
}