* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: Nunito, 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: Ubuntu, sans-serif;
  font-weight: 600;
  color: #1C1C1E;
}

h1 {
  font-size: 2.5rem;
  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: 3.5rem;
    margin-bottom: 0.5rem;
  }
}

h2 {
  font-size: 1.8rem;
  line-height: 2.6rem;
  margin: 20px 0 30px 0;
  color: #fff;
  transition: color, 0.6s, ease-out;
}
h2.no-wrap {
  white-space: nowrap;
  font-size: clamp(0.5rem, 5.5vw, 1.8rem);
}

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: Nunito, sans-serif;
  font-size: 16px;
  padding: 5px 15px;
  transition: all, 0.3s, ease-out;
}
.button:hover {
  background-color: #D11C24;
  color: #e4f1fe;
}

.social-list {
  padding: 0;
  list-style-type: none;
}
.social-list li {
  display: inline-block;
  padding: 0 2px;
  vertical-align: middle;
}
.social-list li.img-item {
  width: 50px;
}
.social-list li a {
  display: block;
  font-size: 24px;
}
.social-list li a img {
  opacity: 0.9;
  vertical-align: middle;
  display: block;
  transition: opacity 0.2s ease-out;
  width: 100%;
}
.social-list li a img:hover {
  opacity: 1;
}

.social-link {
  display: inline-block;
  transition: all 0.2s ease-out;
}
.social-link:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.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: Ubuntu, 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 {
  display: inline-block;
  height: 40px;
  width: 40px;
}
#navigation .social-link .social-img {
  height: 40px;
  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;
}

.hero-banner {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  min-width: 1100px;
  height: 512px;
  width: 100%;
  z-index: -1;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 47em) {
  .hero-banner {
    opacity: 1;
  }
}

.hero-background {
  position: fixed;
  width: clamp(400px, 40vw, 700px);
  top: 50%;
  left: 50%;
  z-index: 2;
  opacity: 0.6;
  transition: all 0.5s ease-out, transform 0.1s linear;
}
@media (min-width: 32em) {
  .hero-background {
    opacity: 0.8;
  }
}
@media (min-width: 75em) {
  .hero-background {
    opacity: 1;
  }
}
.hero-background.top-right {
  width: clamp(300px, 45vw, 800px);
  left: auto;
  right: -170px;
  top: -20px;
}
@media (min-width: 75em) {
  .hero-background.top-right {
    opacity: 1;
    top: 80px;
    right: -300px;
  }
}
@media (min-width: 100em) {
  .hero-background.top-right {
    top: 250px;
    right: -350px;
  }
}
.hero-background.bottom-right {
  width: clamp(550px, 55vw, 900px);
  transform: translate(55%, -45%);
  left: -20px;
  top: 40%;
}
@media (min-width: 32em) {
  .hero-background.bottom-right {
    left: 50%;
    top: 50%;
  }
}
.hero-background.top-left {
  left: -150px;
  top: -20px;
}
@media (min-width: 47em) {
  .hero-background.top-left {
    left: -80px;
    top: 20px;
  }
}
.hero-background.bottom-left {
  width: clamp(550px, 55vw, 800px);
  transform: rotate(20deg);
  left: -180px;
  top: 750px;
  opacity: 0.2;
  z-index: -1;
}
@media (min-width: 100em) {
  .hero-background.bottom-left {
    left: -280px;
    opacity: 1;
  }
}

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, #282828 100%);
}
.hero img {
  width: 100%;
  height: 100%;
  min-width: 1024px;
  display: block;
  z-index: -9;
}
@media (min-width: 75em) {
  .hero img {
    width: 100%;
    height: 100%;
    max-height: 512px;
    object-fit: cover;
    object-position: center;
  }
}
.hero .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  width: 100%;
  z-index: 2;
  background: radial-gradient(ellipse 120% 250% at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 15%, rgba(0, 0, 0, 0) 20%);
}
.hero .overlay h1, .hero .overlay h2 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7), 0 8px 20px rgba(0, 0, 0, 0.5);
}
.hero .hero-content {
  padding-top: 20px;
  text-align: center;
}
.hero .hero-content .hero-logo {
  display: block;
  margin: 0 auto;
  max-width: 600px;
  padding: 50px 0 40px;
  position: relative;
  width: 80%;
}
@media (min-width: 32em) {
  .hero .hero-content .hero-logo {
    padding: 30px 0 50px;
    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-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.button--store {
  background-color: #fe3266;
  font-size: 24px;
  padding: 8px 12px;
  max-width: 152px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  transition: all 0.1s ease-out;
}
.button--store.nintendo {
  background-color: #f10e1a;
}
.button--store.playstation {
  background-color: #0470cd;
}
.button--store.xbox {
  background-color: #13711f;
}
.button--store img {
  display: block;
  width: 100%;
}
.button--store:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.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;
  background-color: #fd9625;
}
.button--demo:hover {
  background-color: #BD3613;
}

.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: 32em) {
  #description .small {
    display: none;
  }
}
#description .medium {
  display: none;
}
@media (min-width: 32em) {
  #description .medium {
    display: inline-block;
  }
}
@media (min-width: 47em) {
  #description .medium {
    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;
}

.description {
  padding-bottom: 0;
}

.games {
  padding-bottom: 0;
  gap: 0;
}
.games .game {
  padding: 20px 0 40px;
  text-align: left;
}
.games .game .game-banner-link {
  display: block;
  transition: transform 0.25s ease;
}
.games .game .game-banner-link:hover {
  transform: scale(1.01);
}
.games .game .game-logo {
  padding: 10px 0;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}
.games .game .button-row {
  max-width: 480px;
}
.games .game p {
  color: #CCC;
  width: 100%;
}
.games .game .release-label {
  font-style: italic;
}
.games .game .slogan {
  color: #fff;
}
.games .box-row {
  display: flex;
  flex-direction: column-reverse;
}
@media (min-width: 75em) {
  .games .box-row {
    flex-direction: row;
  }
}
.games .box {
  display: flex;
  flex-direction: column;
  padding-bottom: 30px;
  vertical-align: top;
  width: 100%;
  align-items: center;
}
@media (min-width: 75em) {
  .games .box {
    padding-inline: 16px 16px;
    width: 50%;
  }
}
.games .box .text-container {
  width: 100%;
}
.games .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;
  border-radius: 4px;
}

.projects {
  text-align: left;
}
.projects h3 {
  margin-bottom: 0;
}
.projects p {
  margin-top: 0.5rem;
}

.philosophy {
  text-align: left;
}
.philosophy h3 {
  margin-bottom: 0;
}
.philosophy p {
  margin-top: 0.5rem;
}

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

.follow {
  text-align: center;
}
.follow.mid .social-box {
  margin: 10px 0 20px;
}
.follow.bottom .social-box {
  padding-top: 20px;
}
.follow.bottom a {
  display: block;
  transition: opacity 0.2s ease-out;
}
.follow.bottom a:hover {
  opacity: 0.8;
}
.follow.bottom h1 {
  background: #fff;
  border-radius: 10px;
  color: #1f2531;
  font-family: Nunito, sans-serif;
  padding: 10px 20px;
  position: relative;
}
.follow.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;
}
.follow .social-box {
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: inline-block;
  margin-top: 40px;
  padding: 10px 40px 30px;
}
.follow .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;
}
.follow .social-box .discord:hover {
  color: #fff;
}
.follow .social-box .discord span {
  vertical-align: middle;
}
.follow .social-box .discord img {
  display: inline-block;
  height: 32px;
  vertical-align: middle;
  width: 42px;
}
.follow .social-box .button--kickstarter {
  margin: 20px auto 0;
}
.follow h1 {
  margin-bottom: 20px;
}
.follow h2 {
  margin-top: 10px;
  margin-bottom: 20px;
}
.follow .emoji-icon {
  height: 40px;
  margin: 0 6px;
  vertical-align: middle;
  width: 40px;
}

.contact {
  margin-bottom: 60px;
}

@media (min-width: 32em) {
  .small {
    display: none;
  }
}

.medium {
  display: none;
}
@media (min-width: 32em) {
  .medium {
    display: inline-block;
  }
}

.big {
  display: none;
}
@media (min-width: 47em) {
  .big {
    display: inline-block;
  }
}

.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");
}