@font-face {
  font-family: "Changa";
  src: url("fonts/Changa-Regular.eot");
  src: url("fonts/Changa-Regular.eot?#iefix") format("embedded-opentype"),
    url("fonts/Changa-Regular.woff2") format("woff2"),
    url("fonts/Changa-Regular.woff") format("woff"),
    url("fonts/Changa-Regular.ttf") format("truetype"),
    url("fonts/Changa-Regular.svg#Changa-Regular") format("svg");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body,
input,
button {
  cursor: default;
  margin: 0;
  background-color: #0f1717;
  color: #b7b9b9;
  font-family: Changa, "sans-serif";
  font-size: 22px;
  line-height: 1.2em;
  text-align: center;
}

body * {
  box-sizing: border-box;
}

header {
  text-align: center;
  height: 716px;
}

footer {
  height: 179px;
}

.logo {
  margin-top: 78px;
}

@keyframes parallax {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 1125px 0;
  }
}

@keyframes parallax-reverse {
  from {
    background-position: 0 0;
  }

  to {
    background-position: -1125px 0;
  }
}

.parallax {
  width: 100%;
  z-index: -1;
  position: absolute;
}

.parallax-1 {
  background: url("images/header1.png") repeat-x top center;
  height: 483px;
  animation: parallax 70s linear infinite;
}

.parallax-2 {
  background: url("images/header2.png") repeat-x top center;
  margin-top: 311px;
  height: 172px;
  animation: parallax 60s linear infinite;
}

.parallax-3 {
  background: url("images/header3.png") repeat-x top center;
  margin-top: 294px;
  height: 213px;
  animation: parallax 50s linear infinite;
}

.parallax-4 {
  background: url("images/header4.png") repeat-x top center;
  margin-top: 400px;
  height: 268px;
  animation: parallax 40s linear infinite;
}

.parallax-5 {
  background: url("images/header5.png") repeat-x top center;
  margin-top: 592px;
  height: 124px;
  animation: parallax 20s linear infinite;
}

.parallax-f1 {
  background: url("images/footer1.png") repeat-x top center;
  height: 179px;
  animation: parallax 20s linear infinite;
}

.parallax-f2 {
  background: url("images/footer2.png") repeat-x top center;
  height: 179px;
  animation: parallax 10s linear infinite;
}

.parallax-f3 {
  background: url("images/footer3.png") repeat-x top center;
  height: 179px;
  animation: parallax 10s linear infinite;
}

nav {
  background: url("images/nav.png") no-repeat center center;
  height: 88px;
  padding: 12px;
  position: fixed;
  width: 100%;
  z-index: 999;
}

a {
  color: inherit;
  text-decoration: none;
  padding: 0 6px;
  opacity: 0.8;
  transition: 0.25s;
}

a.download {
  display: inline-block;
  padding-top: 10px;
  opacity: 1;
}

a:hover {
  opacity: 1;
}

a:not(.download):not(.container):hover,
nav a.active {
  border-bottom: 2px solid #ffffff;
}

h1,
h2,
h3 {
  margin: 10px 0;
  font-size: 26px;
  font-weight: normal;
  line-height: 1.8em;
}

h2 {
  font-size: 22px;
}

.inline-block {
  display: inline-block;
}

.cards-container {
  display: flex;
  flex-direction: row;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.card {
  min-width: 100px;
  height: 180px;
  margin: 0 8px;
  padding-top: 136px;
  text-align: center;
  font-size: 16px;
  background-position: top center;
  background-repeat: no-repeat;
}

.card .curse:before {
  content: "";
  width: 14px;
  height: 13px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: -1px;
  background: url("images/curse-icon.png");
}

.card-monster-1 {
  background-image: url("images/card-monster-1.png");
}

.card-monster-2 {
  background-image: url("images/card-monster-2.png");
}

.card-monster-3 {
  background-image: url("images/card-monster-3.png");
}

.card-monster-4 {
  background-image: url("images/card-monster-4.png");
}

.card-monster-5 {
  background-image: url("images/card-monster-5.png");
}

.card-monster-6 {
  background-image: url("images/card-monster-6.png");
}

.card-monster-7 {
  background-image: url("images/card-monster-7.png");
}

.card-potion {
  background-image: url("images/card-potion.png");
}

.card-scroll {
  background-image: url("images/card-scroll.png");
}

.card-weapon {
  background-image: url("images/card-weapon.png");
}

hr {
  background: url("images/separator.png") no-repeat center center;
  width: 99px;
  height: 50px;
  color: transparent;
  border-color: transparent;
}

input[type="text"] {
  width: 266px;
  height: 55px;
  background: url("images/input.png");
  border: 0;
  font-size: 20px;
  padding-left: 20px;
  cursor: text;
  text-align: left;
}

input[type="text"]:focus {
  outline: 0;
}

button {
  vertical-align: middle;
  width: 128px;
  height: 60px;
  background: url("images/button.png");
  border: 0;
  line-height: 1em;
  color: white;
  cursor: pointer;
  border-bottom: 4px transparent solid;
}

.hidden {
  display: none;
}

.container {
  display: block;
  position: relative;
  margin: 40px auto;
}

.container-video {
  width: 560px;
  height: 315px;
}

.container-screenshot {
  width: 266px;
  height: 576px;
  margin: 60px 30px;
}

.container:before {
  content: "";
  display: block;
  margin: -35px;
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  border-image: url(images/container.png);
  border-image-slice: 50 fill;
  border-image-repeat: round;
  border-image-width: 50px;
  padding: 35px;
  box-sizing: content-box;
}
