/*@font-face {
  font-family: 'Poppins';
  src: url(../fonts/poppins-bold.otf);
}

@font-face {
  font-family: 'Quattrocento';
  src: url(../fonts/quattrocento-regular.otf);
}*/

* {
  box-sizing: border-box;
}

html {
  /* default rem */
  font-size: 24px;
}

img {
  object-fit: contain;
}

h1 {
  font-size: 2rem;
  font-family: 'Quattrocento', serif;
  margin: 0;
  padding: 0;
  text-shadow: 0 0 15px #c668ff,  0 0 30px #cdbeef;
}

h2 {
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
  text-shadow: 0 0 8px #c668ff, 0 0 16px #cdbeef;
  letter-spacing: 5px;
}

h3 {
  font-family: 'Poppins', sans-serif;
  vertical-align: middle;
  font-size: 1.33rem;
  color: white;
  text-shadow: -4px -4px 3px black, 4px 4px 3px black, 4px -4px 3px black, -4px 4px 3px black;
  letter-spacing: 3px;
  margin: 1rem 0;
}

body {
  color: #cdbeef;
  font-size: 0.75rem;
  font-family: 'Quattrocento', serif;
  letter-spacing: 3px;
  text-align: justify;
  margin: 0;
}

a {
  color: #cdbeef;
  font-size: 0.75rem;
  font-family: 'Quattrocento', serif;
  letter-spacing: 3px;
  text-decoration: none;
  text-shadow: 0 0 0px #c668ff, 0 0 6px #cdbeef;
  transition: text-shadow 0.2s;
}

a:hover{
  text-shadow: 0 0 6px #c668ff, 0 0 12px #cdbeef;
  cursor: pointer;
}

a:visited{
  color: #cdbeef;
  font-size: 0.75rem;
  font-family: 'Quattrocento', serif;
  letter-spacing: 3px;
}

ul {
  padding: 0rem 1rem;
  list-style: square outside;
  margin: 0 0 2rem 0;
}

li {
  margin: 0.3rem 0;
}

p {
  margin: 0 0 1rem 0;
  overflow-x: hidden;
}

.largetext {
  font-size: 0.8rem;
}

.smalltext {
  font-size: 0.66rem;
  color: #9683bb;
}

.header-right {
  text-align: right;
}

.header-line {
  width: 100%;
  height: 0.5rem;
  background-repeat: no-repeat;
  position: relative;
  bottom: 0.5rem;
  /*margin-bottom: 1rem;*/
}

.line-left {
  background-image: url('../images/header-bar-left.png');
  background-position: left;
  right: 0.5rem;
}

.line-right {
  background-image: url('../images/header-bar-right.png');
  background-position: right;
  left: 0.5rem;
}

.big {
  min-height: 101vh;
  width: 100%;
  overflow: auto;
}

.top {
  background-color: #140b24;
  background-image: url('../images/top-willow-with-background.png'), url('../images/logo.png'), url('../images/top-bg-upper.png');
  background-position: center bottom, 50% 13vh, center top;
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto 80vh, auto, contain;
  border-bottom: 1px solid black;
}

.menu {

  width: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  margin: 0;
}

.menu-items-containter {
  max-width: 1200px;
  height: 90px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-content: center;
  align-items: center;
}

.menu-item {
  font-family: 'Poppins', sans-serif;
  vertical-align: middle;
  font-size: 1.33rem;
  color: white;
  text-shadow: -4px -4px 3px black, 4px 4px 3px black, 4px -4px 3px black, -4px 4px 3px black;
  letter-spacing: 3px;
  display: block;
  text-align: center;
  min-width: 100px;
  margin: 0 1rem;
}

.menu-hamburger {
  display: none;
}

.menu-mini {
  margin: auto;
  background-color: rgba(0, 0, 0, 0.55);
  position: relative;
  top: 10px;
  text-align: center;
  width: 90%;
  min-width: 240px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: white;
  text-shadow: -4px -4px 3px black, 4px 4px 3px black, 4px -4px 3px black, -4px 4px 3px black;
  letter-spacing: 3px;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-content: flex-start;
  padding: 1rem 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  opacity: 1;
  transform: translateY(0rem);
  display: flex;
}

.menu-mini > * {
  margin: 1rem 0;
  cursor: pointer;
}

.menu-hamburger {
  height: 30px;
  width: 30px;
  background-image: url('../images/ham.svg');
  background-position: center;
  background-repeat: no-repeat;
}

.menu-hamburger:hover {
  cursor: pointer;
}

.mini-menu-hidden {
  cursor: default;
  transform: translateY(-1rem);
  opacity: 0;
}

.mini-menu-hidden > * {
  cursor: default;
}

.hidden {
  display: none;
}


.story {
  background-color: #241935;
  background-image: url('../images/light-from-top.png'), url('../images/shadow-from-bottom.png'), url('../images/story-bg-fade.png');
  background-position: center top, center bottom, 15% bottom;
  background-repeat: repeat-x, repeat-x, no-repeat;
  background-size: auto, auto, 40%;
  border-top: 1px solid #3d2c52;
}

.about {
  background-color: #0e061c;
  background-image: url('../images/shadow-from-top.png'), url('../images/shadow-from-bottom.png'), url('../images/about-bg-seamless.png');
  background-position: center top, center bottom, 75% 0%;
  background-repeat: repeat-x, repeat-x, repeat-y;
}

.section-content {
  max-width: 30rem;
  text-align: justify;
}

.section-container {
  max-width: 1200px;
  height: 100%;
  margin: auto;
  padding: 3rem 2rem;
}

.content-right {
  float: right;
  display: flex;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.space-bottom {
  margin-bottom: 4rem;
}

.opaque-container {
  background-color: rgba(0, 0, 0, 0.55);
  width: 100%;
  margin: 2rem 0;
  padding: 0 2rem ;

  display:flex;
  flex-direction: row;
  justify-content: space-around;
  align-content: center;
  flex-wrap: wrap;
}

.opaque-container > * {
  margin: 2rem 0;
}

.opaque-container > img {
  min-width: 300px;
  object-fit: contain;
}

.tools > div {
  min-width: 150px;
  height: 100%;
}

.tools h2 {
  text-align: center;
}

.tools img {
  display: block;
  width: 100px;
  height: 100px;
  margin: auto;
}

.video-container {
  width: 100%;
  margin: auto;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
}

.video-iframe {
  width: 800px;
  height: 600px;
}

.howto {
  background-color: #0e061c;
  background-image: url('../images/shadow-from-top.png'), url('../images/shadow-from-bottom.png');
  background-position: center top, center bottom;
  background-repeat: repeat-x, repeat-x;
}

.double-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-content: center;
}

.text-on-the-left {
  flex-direction: row;
}

.text-on-the-right {
  flex-direction: row-reverse;
}

.double-content > *:first-child {
  max-width: 700px;
  min-width: 10rem;
  text-align: justify;
}

.double-content > *:last-child {
  max-width: 400px;
  min-width: 10rem;
  text-align: justify;
  padding: 2rem;
  width: 400px;
  object-fit: contain;
}

.content-left {
  float:left;
}

.nomargin {
  margin: 0;
}

.nopadding {
  padding: 0;
}

.scoring {
  background-color: #241935;
  background-image: url('../images/light-from-top.png'), url('../images/shadow-from-bottom.png');
  background-position: center top, center bottom;
  background-repeat: repeat-x, repeat-x;
  background-size: auto, auto;
  border-top: 1px solid #3d2c52;
}

.content-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-wrap: nowrap;
}

.dl-mirror {
  text-align: center;
}

.dl-buttons-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  flex-wrap: wrap;

}

.dl-buttons-container > a {
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.55);
  border: none;
  min-height: 100px;
  min-width: 280px;
  margin: 1rem;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  box-shadow: none;
  transition: box-shadow 0.2s;
}

.dl-buttons-container > a:hover {
  box-shadow: 0 0 15px #cdbeef66;
}

.margin-bottom {
  margin-bottom: 2rem;
}

.margin-top {
  margin-top: 2rem;
}

.poppins {
  font-family: 'Poppins', sans-serif;
  vertical-align: middle;
  font-size: 1.33rem;
  color: white;
  text-shadow: -4px -4px 3px black, 4px 4px 3px black, 4px -4px 3px black, -4px 4px 3px black;
  letter-spacing: 3px;
}

footer {

  text-align: center;
  min-height: 2rem;
  padding: 2rem;

  background-color: #241935;
  background-image: url('../images/light-from-top.png'), url('../images/footer-bg.png');
  background-position: center top, center bottom;
  background-repeat: repeat-x, no-repeat;
  background-size: auto, auto;
  border-top: 1px solid #3d2c52;
}

footer * {
  margin: 0 auto;
  max-width: 1200px;
}


.downloads {
  background-color: #0e061c;
  background-image: url('../images/shadow-from-top.png'), url('../images/shadow-from-bottom.png');
  background-position: center top, center bottom;
  background-repeat: repeat-x, repeat-x;
}



/*========== SCROLL ANIMATIONS ==========*/

.animatable {
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.static {
  position: static;
  opacity: 1;
  transform: translateX(0);
}

.init-shifted-left {
  position: relative;
  transform: translateX(-2rem);
}

.init-shifted-right {
  position: relative;
  transform: translateX(2rem);
}

.init-transparent {
  opacity: 0;
}



/*========== MEDIA QUERIES ==========*/

@media screen and (max-width:850px) {
  .menu-items-containter {
    font-size: 1rem;
    height: 60px;
  }
  .menu-item {
    margin: 0 0.2rem;
  }
}

@media screen and (max-width:670px) {
  .top {
    background-size: auto 80vh, 80% auto, contain;
  }
  .story {
      background-color: #241935;
      background-image: url('../images/light-from-top.png'), url('../images/shadow-from-bottom.png');
      background-position: center top, center bottom;
      background-repeat: repeat-x, repeat-x;
      background-size: auto, auto;
      border-top: 1px solid #3d2c52;
  }
}

@media screen and (max-width:650px) {
  .menu-item {
    display: none;
  }
  .menu-hamburger {
    display:block;
  }

  html {
    font-size:18px;
  }
}

@media screen and (max-width:1188px) {
  .video-iframe {
    width: 700px;
    height: 525px;
  }
}

@media screen and (max-width:799px) {
  .video-iframe {
    width: 560px;
    height: 420px;
  }
}

@media screen and (max-width:1188) {
  .video-iframe {
    width: 700px;
    height: 525px;
  }
}
