* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: Rubik, sans-serif;
  font-size: 1.2rem;
  line-height: 160%;
  background-color: #282828;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='%239C92AC' fill-opacity='0.1'%3E%3Cpolygon fill-rule='evenodd' points='8 4 12 6 8 8 6 12 4 8 0 6 4 4 6 0 8 4'/%3E%3C/g%3E%3C/svg%3E");
  color: #f2f1ef;
  margin: 0;
}
body::selection {
  background: #2176C7; /* WebKit/Blink Browsers */
}
body::-moz-selection {
  background: #2176C7; /* Gecko Browsers */
}

h1, h2, h3, h4, h5, h6 {
  font-family: Megrim, sans-serif;
  font-weight: 600;
  color: #1C1C1E;
  text-transform: uppercase;
}

h1 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: normal;
  padding-top: 10px;
  transition: color, 0.6s, ease-out;
}
@media (min-width: 47em) {
  h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }
}

h2 {
  font-size: 1.8rem;
  line-height: normal;
  margin: 20px 0 30px 0;
  color: #fff;
  transition: color, 0.6s, ease-out;
}

h3 {
  font-size: 1.2rem;
  color: #fff;
}

a {
  text-decoration: none;
  color: #fff;
  transition: color 0.2s ease-out;
}
a:hover {
  color: #fd9625;
  cursor: pointer;
}

p {
  margin-bottom: 10px;
}

.button {
  background-color: #fe3266;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-family: Rubik, sans-serif;
  font-size: 16px;
  padding: 5px 15px;
  transition: all, 0.3s, ease-out;
}
.button:hover {
  background-color: #D11C24;
  color: #e4f1fe;
}

.small {
  font-size: 1rem;
  color: #2176C7;
}

.load-slow {
  z-index: -1;
}

.clear {
  clear: both;
}

.container {
  padding: 25px 20px;
  text-align: center;
}
.container .content {
  max-width: 1024px;
  margin: 0 auto;
}

input {
  font-family: Megrim, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#navigation {
  display: block;
  position: fixed;
  background: none;
  font-weight: bold;
  height: auto;
  height: 63px;
  text-align: center;
  text-shadow: 1px 1px #000;
  width: 100%;
  z-index: 3;
}
@media (min-width: 32em) {
  #navigation {
    width: 100%;
    height: auto;
    padding: 5px 5% 3px 5%;
    top: 0;
    display: block;
  }
}
#navigation #nav-bg {
  z-index: -1;
  opacity: 0;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(4, 32, 41, 0));
  transition: opacity, 0.5s, ease-out;
}
@media (min-width: 32em) {
  #navigation #nav-bg {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(4, 32, 41, 0));
  }
}
#navigation ul {
  padding: 0;
}
#navigation li {
  -webkit-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.45);
  -moz-box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.45);
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.45);
  display: inline-block;
  height: 40px;
  float: none;
  opacity: 0.9;
  margin-bottom: 4px;
  transition: opacity 0.2s ease-out;
  vertical-align: top;
}
#navigation li:hover {
  opacity: 1;
}
#navigation li .nav-text {
  background-color: #2176C7;
  border-radius: 3px;
  display: inline-block;
  height: 40px;
  padding: 7px 10px;
}
#navigation li .nav-text:hover {
  color: #fff;
}
#navigation .social-link .social-img {
  display: inline-block;
  height: 40px;
  transition: opacity 0.2s ease-out;
  width: 40px;
}
#navigation.scrolled {
  padding-top: 0;
  margin-top: 0;
  top: 0;
}
@media (min-width: 32em) {
  #navigation.scrolled {
    height: 63px;
  }
}
#navigation.scrolled {
  text-shadow: none;
}
#navigation.scrolled #nav-bg {
  opacity: 1;
}
#navigation.scrolled li span:hover {
  color: #e4f1fe;
  text-shadow: none;
}
#navigation.scrolled .blue {
  color: #e4f1fe;
  text-shadow: none;
}
#navigation .layout {
  margin: 0 auto 0;
  text-align: center;
  transition: all 0.2s ease-out;
}
@media (min-width: 47em) {
  #navigation .layout {
    grid-column: span 11;
    margin: 50px auto 0;
    text-align: right;
  }
}
#navigation .layout {
  grid-column: 12, 12;
}
#navigation .layout.loose {
  padding-top: 8px;
  margin: 0px auto 0;
}
#navigation .layout ul.nav {
  display: inline-block;
  animation: fade-left 1s ease-out;
}
#navigation .layout ul.nav li span {
  border-radius: 4px;
  color: #fff;
  padding-right: 0.5em;
  cursor: pointer;
}
#navigation .layout ul.nav li span {
  transition: all 0.2s ease-out;
  display: block;
  text-decoration: none;
  padding: 9px 10px;
  color: #fff;
}
#navigation .layout ul.nav li span:hover {
  color: #e4f1fe;
}
#navigation .layout ul.nav li span:hover span {
  color: #fff;
}
#navigation .layout ul.nav li .blue {
  color: #e4f1fe;
}

figure {
  border: 0;
  z-index: -1;
}
figure img {
  border: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -o-box-shadow: none;
  -webkit-box-shadow: none;
}
figure .para-bot {
  display: block;
  position: absolute;
  bottom: 0;
}
figure .parallax {
  background-position: center; /* Center the image */
  background-repeat: no-repeat;
  background-size: cover;
}
figure .para-one {
  background-image: url("/images/arctic-bg01.png");
}
figure .para-two {
  background-image: url("/images/arctic-bg02.png");
}
figure .para-three {
  background-image: url("/images/arctic-bg03.png");
}
figure .para-four {
  background-image: url("/images/arctic-bg04.png");
}
figure.shader::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(31, 37, 49, 0.8), rgba(31, 37, 49, 0.4));
}
@media (min-width: 32em) {
  figure.shader::after {
    background: linear-gradient(to bottom, rgba(31, 37, 49, 0.6), rgba(31, 37, 49, 0.1));
  }
}

.hero-moon {
  position: absolute;
  left: 50%;
  top: -20%;
  transform: translateX(-50%);
  max-width: 1200px;
  min-width: 1100px;
  height: 800px;
  width: 100%;
  z-index: -1;
  background-image: url("/images/moon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 47em) {
  .hero-moon {
    opacity: 1;
    height: 1100px;
  }
}

.hero-background {
  position: fixed;
  width: clamp(400px, 40vw, 800px);
  transition: transform 0.1s linear;
  top: 50%;
  left: 50%;
  z-index: -1;
}
@media (min-width: 47em) {
  .hero-background {
    opacity: 0.8;
  }
}
@media (min-width: 75em) {
  .hero-background {
    opacity: 1;
  }
}
.hero-background.lucida-blue {
  width: clamp(250px, 25vw, 500px);
  transform: translate(120%, -100%);
}
.hero-background.lucida-red {
  width: clamp(550px, 55vw, 1100px);
  transform: translate(40%, -30%);
}
.hero-background.lucida-green {
  transform: translate(-150%, -90%);
}
.hero-background.lucida-yellow {
  width: clamp(550px, 55vw, 1100px);
  transform: translate(-155%, 5%);
}

.hero {
  background-position: center; /* Center the image */
  background-repeat: no-repeat;
  background-size: cover;
}
.hero .hero-content {
  padding-top: 20px;
  text-align: center;
}
.hero .hero-content .hero-logo {
  display: block;
  margin: 0 auto;
  max-width: 600px;
  padding: 30px 0 80px;
  position: relative;
  width: 80%;
}
@media (min-width: 32em) {
  .hero .hero-content .hero-logo {
    padding-inline: 20px;
    width: 100%;
  }
}
.hero .hero-content .player-box {
  margin: 0 auto;
  position: relative;
  max-height: 576px;
  max-width: 1024px;
  width: 90%;
}
.hero .hero-content .player-box .ratio-img {
  display: block;
  width: 100%;
}
.hero .hero-content .player-box #player {
  -webkit-box-shadow: 10px 10px 24px -1px rgba(0, 0, 0, 0.38);
  -moz-box-shadow: 10px 10px 24px -1px rgba(0, 0, 0, 0.38);
  box-shadow: 10px 10px 24px -1px rgba(0, 0, 0, 0.38);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.saffron-chibi img {
  margin: 0 auto;
  display: block;
  height: 200px;
}

.button--kickstarter {
  background-color: #049372;
  display: inline-block;
  font-size: 24px;
  padding: 10px 50px;
  margin-bottom: 30px;
  max-width: 383px;
  text-align: center;
}
.button--kickstarter img {
  display: block;
  width: 100%;
}
.button--kickstarter:hover {
  background-color: #009e74;
}

.button--demo {
  display: inline-block;
  font-size: 24px;
  padding: 20px 50px;
}

.button--steam {
  background-color: #fe3266;
  display: inline-block;
  font-size: 24px;
  padding: 20px 30px;
  max-width: 382px;
  margin: 30px auto 0;
}
.button--steam img {
  display: block;
  width: 100%;
}
.button--steam:hover {
  background-color: #049372;
}

.under-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.under-header::before {
  content: "";
  background-color: #000;
  opacity: 0.5;
  position: absolute;
  top: 0;
  bottom: -10px;
  left: -100px;
  right: -100px;
  z-index: -1;
}

#main {
  padding-top: 20px;
  position: relative;
  z-index: 1;
}
#main.animate p {
  animation: fade-right 1s ease-out forwards;
}

#description {
  text-align: center;
  z-index: 1;
}
#description .content {
  position: relative;
}
@media (min-width: 47em) {
  #description .small {
    display: none;
  }
}
#description .big {
  display: none;
}
@media (min-width: 47em) {
  #description .big {
    display: inline-block;
  }
}
#description .steam-widget {
  margin-bottom: 60px;
}
#description #mc_embed_signup h2 {
  margin: 40px 0 10px;
}
#description #mc_embed_signup div.mce_inline_error {
  background-color: #f03434;
  border-radius: 3px;
}
#description #mc_embed_signup #mce-success-response {
  color: #7befb2;
}
#description #mc_embed_signup .mc-field-group {
  margin: 0 auto;
  max-width: 600px;
}
#description #mc_embed_signup .mc-field-group .email {
  font-size: 20px;
  padding: 4px 6px;
  margin-bottom: 10px;
}
#description #mc_embed_signup .mc-field-group .button--email {
  font-size: 24px;
  padding: 10px 15px;
}

.gallery {
  padding-bottom: 0;
}
.gallery .img-box {
  display: inline-block;
  padding-bottom: 30px;
  vertical-align: top;
  width: 100%;
}
@media (min-width: 47em) {
  .gallery .img-box {
    padding-inline: 16px 16px;
    width: 50%;
  }
}
.gallery .img-box video {
  -webkit-box-shadow: 5px 5px 14px -1px rgba(0, 0, 0, 0.38);
  -moz-box-shadow: 5px 5px 14px -1px rgba(0, 0, 0, 0.38);
  box-shadow: 5px 5px 14px -1px rgba(0, 0, 0, 0.38);
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 480px;
}
.gallery .img-box p {
  padding: 14px 10%;
  margin-top: 10px;
}

.awards {
  padding-top: 0;
  padding-bottom: 0;
}
.awards img {
  display: inline-block;
  margin: 10px;
  width: 260px;
}

.contact {
  text-align: center;
}
.contact.mid .social-box {
  margin: 10px 0 20px;
}
.contact.bottom .social-box {
  padding-top: 20px;
}
.contact.bottom a {
  display: block;
  transition: opacity 0.2s ease-out;
}
.contact.bottom a:hover {
  opacity: 0.8;
}
.contact.bottom h1 {
  background: #fff;
  border-radius: 10px;
  color: #1f2531;
  font-family: Rubik, sans-serif;
  padding: 10px 20px;
  position: relative;
}
.contact.bottom h1::after {
  top: 100%;
  left: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ffffff;
  border-width: 15px;
  margin-left: -15px;
}
.contact .social-box {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: inline-block;
  margin-top: 40px;
  padding: 10px 40px 30px;
}
.contact .social-box .discord {
  background-color: #7289da;
  border-radius: 4px;
  -webkit-box-shadow: 0 3px 0 0 rgba(70, 91, 165, 0.45);
  -moz-box-shadow: 0 3px 0 0 rgba(70, 91, 165, 0.45);
  box-shadow: 0 3px 0 0 rgba(70, 91, 165, 0.45);
  display: inline-block;
  font-size: 1.5rem;
  margin: 20px 0 20px;
  padding: 10px 16px;
  vertical-align: middle;
  transition: background 0.2s ease-out;
}
.contact .social-box .discord:hover {
  background-color: #8298e5;
  color: #fff;
}
.contact .social-box .discord span {
  vertical-align: middle;
}
.contact .social-box .discord img {
  display: inline-block;
  height: 32px;
  vertical-align: middle;
  width: 42px;
}
.contact .social-box .button--kickstarter {
  margin: 20px auto 0;
}
.contact h1 {
  margin-bottom: 20px;
}
.contact h2 {
  margin-top: 10px;
  margin-bottom: 20px;
}
.contact .emoji-icon {
  height: 40px;
  margin: 0 6px;
  vertical-align: middle;
  width: 40px;
}
.contact ul {
  list-style-type: none;
}
.contact ul li {
  display: inline-block;
  padding: 0 2px;
  vertical-align: middle;
}
.contact ul li.img-item {
  width: 50px;
}
.contact ul li a {
  display: block;
  font-size: 24px;
}
.contact ul li a img {
  opacity: 0.9;
  vertical-align: middle;
  display: block;
  transition: opacity 0.2s ease-out;
  width: 100%;
}
.contact ul li a img:hover {
  opacity: 1;
}

.based-line {
  color: #282B2D;
}

footer {
  color: rgb(132.6, 132.6, 132.6);
  background: #1C1C1E;
  font-size: 0.6rem;
  padding: 2px 10px 4px;
}
@media (min-width: 32em) {
  footer {
    font-size: 0.8rem;
  }
}

@keyframes color {
  from {
    background: red;
  }
  to {
    background: yellow;
  }
}
@keyframes fade-left {
  from {
    transform: translate(5em, 0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes fade-right {
  from {
    transform: translate(-5em, 0);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes fade-up {
  from {
    transform: translate(0, 1em);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes fade-down {
  from {
    transform: translate(0, -1em);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}
@keyframes glow-white {
  from {
    color: inherit;
  }
  to {
    color: #fff;
  }
}
@keyframes clip-go {
  from {
    -webkit-clip-path: polygon(0 0, 95% 11%, 100% 91%, 16% 100%);
    clip-path: polygon(0 0, 95% 11%, 100% 91%, 16% 100%);
  }
  to {
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
  }
}
@keyframes clip-back {
  to {
    -webkit-clip-path: polygon(0 0, 95% 11%, 100% 91%, 16% 100%);
    clip-path: polygon(0 0, 95% 11%, 100% 91%, 16% 100%);
  }
  from {
    -webkit-clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0%, 100% 100%, 0% 100%);
  }
}
[style*="--aspect-ratio"] > :first-child {
  width: 100%;
}

[style*="--aspect-ratio"] > img {
  height: auto;
}

@supports (--custom:property) {
  [style*="--aspect-ratio"] {
    position: relative;
  }
  [style*="--aspect-ratio"]::before {
    content: "";
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }
  [style*="--aspect-ratio"] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
  }
}
.wrapper {
  /* The height needs to be set to a fixed value for the effect to work.
   * 100vh is the full height of the viewport. */
  height: 100vh;
  /* The scaling of the images would add a horizontal scrollbar, so disable x overflow. */
  overflow-x: hidden;
  /* Enable scrolling on the page. */
  overflow-y: auto;
  /* Set the perspective to 2px. This is essentailly the simulated distance from the viewport to transformed objects.*/
  perspective: 2px;
}

.section {
  /* Needed for children to be absolutely positioned relative to the parent. */
  position: relative;
  /* The height of the container. Must be set, but it doesn't really matter what the value is. */
  height: 100vh;
  /* For text formatting. */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 0 5px #000;
}

.parallax::after {
  /* Display and position the pseudo-element */
  content: " ";
  position: absolute;
  inset: 0;
  /* Move the pseudo-element back away from the camera,
   * then scale it back up to fill the viewport.
   * Because the pseudo-element is further away, it appears to move more slowly, like in real life. */
  transform: translateZ(-1px) scale(1.5);
  /* Force the background image to fill the whole element. */
  background-size: cover;
  background-position: center;
  /* Keep the image from overlapping sibling elements. */
  z-index: -1;
}

/* The styling for the static div. */
.static {
  background: red;
}

/* Sets the actual background images to adorable kitties. This part is crucial. */
.bg1::after {
  background-image: url("/images/HeroBackground.png");
}

.bg2::after {
  background-image: url("https://placekitten.com/g/800/600");
}