/* Core Stuff */

@font-face {
  font-family: "titlefont";
  src: url("../fonts/LostLeonest.otf");
}

@font-face {
  font-family: "mainfont";
  src: url("../fonts/Kingthings_Trypewriter.ttf");
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'mainfont', sans-serif;
}

html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;

    background: url(../images/background1.png);
    background-size: auto 100%;
    background-color: black;
    background-attachment: fixed;
}

body[data-style="1"]{
    background: url(../images/background1.png);
    background-size: auto 100%;
    background-attachment: fixed;
}

body[data-style="2"]{
    background: url(../images/background2.png);
    background-size: auto 100%;
    background-attachment: fixed;
}

body[data-style="3"]{
    background: url(../images/background3.png);
    background-size: auto 100%;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'mainfont', sans-serif;
    text-transform: uppercase;
    margin: 0;
    line-height: initial;
    color: black;
    /*-webkit-text-stroke: 1px #d34a58;*/
    /*text-shadow: 1px 1px 0 #d34a58, -1px -1px 0 #d34a58, 1px -1px 0 #d34a58, -1px 1px 0 #d34a58, 1px 1px 0 #d34a58;*/
}

h3 {
    padding-top: 15px;
    margin-top: 40px;
    font-size: 1.4em;
}

a {
    color: #ae4e42;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s;
}

a:hover {
    color: #425d66;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
}

blockquote {
    border-left: 10px solid #eee;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    margin: 60px 260px 0px 185px;
    max-width: 1000px;
}

.main {
    border: 5px solid #533110;
    box-shadow: 0px 0 0px 5px #dbcbb9;
    background: #dbcbb9;
    color: black;
    padding: 20px 30px;
}

.main .credits-container {
    content: "";
    display: block;
    background: url(../images/small_logo.png) no-repeat;
    width: 80px;
    height: 48px;
    background-size: 100%;
    margin: auto;
}

.credits-container:hover {
    cursor: pointer;
}

.credits {
    content: "";
    display: block;
    background: url(../images/credits.png) no-repeat 100% 100%;
    width: calc(100vh * 0.6);
    max-width: calc(100vh * 0.6);
    height: 100vh;
    background-size: calc(100vh * 0.6) 100vh;
    margin: auto;
    position: fixed;
    bottom: 0;
    z-index: 9999;
    left: 50%;
    transform: translate(-50%) rotateZ(90deg);
    transform-origin: 0% 100%;
    transition: 0.5s ease-in;
}

.credits-container.open .credits {
    transform: translate(-50%) rotateZ(0deg);
}

.credits-container.open:after {
    content: "";
    background: rgb(0 0 0 / 80%);
    width: 1000vw;
    height: 1000vh;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 1s all;
    animation-name: dark;
    -webkit-animation: dark 1s 0s forwards; /* for less modern browsers */
    animation: dark 1s 0s forwards;
}

@keyframes dark {
  from {opacity: 0;}
  to {opacity: 1;}
}

.left {
    float: left;
}

.right {
    float: right
}

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

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

.text-left {
    text-align: left;
}

/* Content Styling */

.loader {
    z-index: 9999;
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    animation-name: destroy;
    -webkit-animation: destroy 0s 1.5s forwards; /* for less modern browsers */
    animation: destroy 0s 1.5s forwards;
}

.mask-container {
    transition: all 2s;
    width: 0%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    align-content: stretch;
    flex-direction: column;
    transform: scale(1);

    animation-name: load;
    -webkit-animation: load 2s 0.5s forwards; /* for less modern browsers */
    animation: load 2s 0.5s forwards
}

.mask {
    transition: all 2s;
    align-self: center;
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    position: relative;
}

.fill {
    background: black;
    width: 100%;
    flex: 1;
    box-shadow: 0px 0px 0px 1px black;
}

.logo:hover {
    cursor: pointer;
}

.main-logo {
    width: 150px;
    height: 150px;
    transform: rotateZ(45deg);
    z-index: 999;
    position: relative;
    transition: 0.3s all;
}

.main-logo-background {
    position: absolute;
    top: 120px;
    left: 130px;
    width: 170px;
    height: 130px;
    transform: rotateZ(45deg);
}

@keyframes load {
    0% { width: 0; }
    20% { transform: scale(1); }
    40% { width: 100%; }
    100% { width: 100%; }
    100% { transform: scale(5); }
}

@keyframes destroy {
  from {top: 0;}
  to {
    top: -1000vh;
    opacity: 0;
    }
}

.header .padding {
    padding: 1rem 0;
}

.header {
    color: #eee;
}

.header a {
    color: #fff;
}

.header .logo {
    font-size: 1.7rem;
    text-transform: uppercase;
    background-color: #dbcbb9;
    transform: rotateZ(-45deg );
    padding: 100px 150px 0 150px;
    position: absolute;
    left: -170px;
    top: -108px;
    z-index: 999;
    border-bottom: 5px solid #533110;
    box-shadow: 0px -45px 0px 50px #dbcbb9;
}

.header .logo[data-style="1"]{
    border-bottom: 5px solid #2c1c14;
    box-shadow: 0px -45px 0px 50px #382e28;
    background: #382e28;
}

.header .logo[data-style="2"]{
    border-bottom: 5px solid #332111;
    box-shadow: 0px -45px 0px 50px #462d1d;
    background: #462d1d;
}

.header .logo[data-style="3"]{
    border-bottom: 5px solid #845c3c;
    box-shadow: 0px -45px 0px 50px #4b3222;
    background: #4b3222;
}

.header .logo:hover .main-logo {
    transform: rotateZ(55deg);
}

#body {
    position: relative;
    flex-grow: 1;
    width: 100%;
    overflow: hidden;
    padding-bottom: 10px;
}

.creators {
    font-size: 0.8em;
    padding: 20px;
    background: #bda993;
    border: 3px solid #dbcbb9;
    box-shadow: 0px 0 0px 3px #533110;
}

.tile {
    width: 150px;
    height: 150px;
}

.footer {
    min-height: 50px;
    /*background-color: #35305d;*/
    /*flex-grow: 1;*/
    position: relative;
}

.bottom-container {
    position: absolute;
    width: 200vw;
}

.grav-youtube {
    background: #533110;
    padding-top: 0 !important;
    padding-bottom: 56% !important;
    margin-bottom: 1em !important;
    border: 3px solid #dbcbb9;
    box-shadow: 0px 0 0px 3px #533110;
}

.main p>img {
    margin-bottom: 1em !important;
    border: 3px solid #dbcbb9;
    box-shadow: 0px 0 0px 3px #533110;
    width: 100%;
}

/* Menu Settings */
.main-nav ul {
    text-align: left;
    letter-spacing: -1em;
    margin: 10px 0 0 350px;
    padding: 0;
    height: 120px;
    width: 100vw;
}

.main-nav ul li {
    box-shadow: -5px 5px 0px rgb(0 0 0 / 20%);
    transition: transform 0.2s;
    display: inline-block;
    letter-spacing: normal;
    transform: rotateZ(-45deg);
    font-size: 1.3em;
    min-width: 250px;
    text-align: left;
    margin-left: -165px;

    background-color: #d4b56c;
    color: #603813;
    border-bottom: 5px solid #a28357;
    border-left: 5px solid #e8ca84;
    border-top: 5px solid #f3e3be;
    overflow: hidden;
}

.main-nav ul li:hover,
.main-nav ul li.selected {
    background-color: #fcb612;
    color: #603813;
    border-bottom: 5px solid #c6932c;
    border-left: 5px solid #fed77f;
    border-top: 5px solid #f7e0b0;
    overflow: hidden;
}

.main-nav ul li.selected:after {
    content: "";
    width: 50px;
    left: 25px;
    top: 0;
    height: 100%;
    position: absolute;
    display: block;
    background: #fed77d;
    z-index: -1;
    transform: skewX(-35deg);

    /*animation: shine infinite;
    animation-direction: alternate-reverse;
    animation-duration: 1s;*/
}

.main-nav ul li:hover:after {
    content: "";
    width: 50px;
    left: 19px;
    top: 0;
    height: 100%;
    position: absolute;
    display: block;
    background: #fed77d;
    z-index: -1;
    transform: skewX(-35deg);

    animation: shine infinite;
    animation-direction: alternate-reverse;
    animation-duration: 1s;
}

@keyframes shine {
    0% { left: -300px; }
    100% { left: 300px; }
}

.main-nav ul li a{
    color: #603813;
    text-decoration:  none;
    transition: background-color 0.2s;
    position: relative;
    display: block;
    padding: 0 20px;
    white-space: nowrap;
    font-family: 'titlefont', sans-serif;
    font-weight: 900;
}

.main-nav > ul > li > a {

}

/*Active dropdown nav item */
.main-nav ul li:hover > a {
    /*background-color: #26214a;*/
}

.main-nav ul li:hover {
    transform: rotateZ(-45deg) translate(-10px, 0px);
}

/* Dropdown CSS */
.main-nav ul li {position: relative;}

.main-nav ul li ul {
    position: absolute;
    background-color: #1F8DD6;
    min-width: 100%;
    text-align: left;
    z-index: 999;

    display: none;
}
.main-nav ul li ul li {
    display: block;
}

/* Dropdown CSS */
.main-nav ul li ul ul {
    left: 100%;
    top: 0;
}

/* Active on Hover */
.main-nav li:hover > ul {
    display: block;
}

/* Child Indicator */
.main-nav .has-children > a {
    padding-right: 30px;
}
.main-nav .has-children > a:after {
    font-family: FontAwesome;
    content: '\f107';
    position: absolute;
    display: inline-block;
    right: 8px;
    top: 0;
}

.main-nav .has-children .has-children > a:after {
    content: '\f105';
}

#gua-le-ni {
    position: absolute;
    top: -2px;
    left: 620px;
    width: 80px;
    transform-origin: 50% 0%;
    transform: rotate(0deg);
}

#gua-le-ni:hover{
    cursor: pointer;
    animation: jiggle infinite;
    animation-direction: alternate-reverse;
    animation-duration: 0.5s;
}

#gua-le-ni img {
    width: 100%;
}

@keyframes jiggle {
    0% { transform: rotate(5deg); }
    100% {transform: rotate(0deg); } 
}

.plaque {
    background: url(../images/plaque_bg.png);
    background-size: auto 100%;
    position: relative;
    font-size: 25px;
    font-family: 'titlefont', sans-serif;
    display: inline-block;
    padding: 10px 0;
    color: #533110;
    margin: auto;
}

.plaque:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -18px;
    width: 19px;
    height: 100%;
    background: url(../images/plaque_left.png) no-repeat;
    background-size: auto 100%;
}

.plaque:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: -19px;
    width: 19px;
    height: 100%;
    background: url(../images/plaque_right.png) no-repeat;
    background-size: auto 100%;
}

.plaque span {
    font-size: 25px;
    font-family: 'titlefont', sans-serif;
    position: relative;
    z-index: 2;
    white-space: nowrap;
}

.plaque .shine {
    height: 53px;
    width: 30px;
    background: #fed77d;
    display: block;
    position: absolute;
    top: 5px;
    transform: skewX(-35deg);
    right: 50px;
    z-index: 1;
}

.door-library {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
    border: 3px solid #533110;
    margin: 20px 0;
    position: relative;

    margin-top: 40px;
    padding-top: 50px;
}

.door-library>p {
    display: none;
}

.anthology {
    position: absolute;
    top: -34px;
}

.door-container {
    position: relative;
    max-width: 180px;
    width: 100%;
    box-shadow: 0px 0px 0px 1px #533110;
    margin: 0 5px 35px;
}

.door {
    background: url(../images/door.png) no-repeat;
    background-size: 100%;
    height: 0;
    padding-top: 144%;
    position: relative;
    width: 100%;
}

.door[data-style="GLITCHED"]{
    background: url(../images/doors/Achievement_GLITCHED.png) no-repeat;
    background-size: 100%;
}

.door-description {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(219 203 185 / 80%);
    display: flex;
    justify-content: center;
    align-items: start;
    text-align: center;
    color: #533110;
    padding: 20px;
    font-weight: 400;
    font-size: 1.3em;
    line-height: 1.3em;
    transition: 0.3s all;
    opacity: 0;
}

.door-container:hover .door-description {
    cursor: pointer;
    opacity: 1;
}

.door-title {
    position: absolute;
    bottom: -15px;
    z-index: 9;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'titlefont', sans-serif;
    color: #dbcbb9;
    background: #533110;
    padding: 0px 5px;
    font-size: 20px;
    text-align: center;
    white-space: nowrap;
}

.door-container.GLITCHED {
    position: absolute;
    bottom: -100px;
    left: -140px;
    box-shadow: none;
}

.door-container.GLITCHED .door[data-style="GLITCHED"]{
    transition: 0.3s all;
    background: url(../images/doors/glitch.png) no-repeat;
    background-size: 100%;
}

.door-container.GLITCHED:hover .door[data-style="GLITCHED"]{
    background: url(../images/doors/glitch_cover.png) no-repeat;
    background-size: 100%;
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) infinite;
}

.door-container.GLITCHED .door-title {
    bottom: 40px;
}

.door-container.GLITCHED .door-description {
    background: none;
    font-size: 1em;
    padding: 60px;
    line-height: 1em;
    padding: 0;
    width: 140px;
    text-align: center;
    margin: 70px 21px;
}

.door-container.GLITCHED .door-description,
.glitch-text{
    text-shadow: 0.08em -0.05em 0 rgb(255 0 0 / 75%), -0.05em -0.08em 0 rgb(0 255 0 / 75%), 0.05em 0.08em 0 rgb(0 0 255 / 75%);
    color: #7a4f69;
}

.glitch-text {
    position: relative;
    display: inline-block;
    width: calc(100% - 240px);
}

.door-container.GLITCHED .door-description span,
.glitch-text span {
    position: absolute;
    top: 0;
    left: 0;
}

.door-container.GLITCHED .door-description,
.glitch-text {
    animation: glitch 550ms infinite;
}

.door-container.GLITCHED .door-description span:nth-child(1),
.glitch-text span:nth-child(1) {
    animation: glitch 650ms infinite;
    clip-path: polygon(8% 5%, 100% 5%, 90% 25%, 2% 45%);
    transform: translate(-1.25em, 0.875em) scale(-1, 1);
    /*background: green;*/
    opacity: 1;
}

.door-container.GLITCHED .door-description span:nth-child(2),
.glitch-text span:nth-child(2) {
    animation: glitch 375ms infinite;
    clip-path:polygon(111% 4%, 2% 20%, 110% 93%, -16% 91%);
    transform: translate(-0.25em, -0.125em);
    /*background: red;*/
    opacity: 1;
}

.door-container.GLITCHED .door-description span:nth-child(3),
.glitch-text span:nth-child(3) {
    animation: glitch 575ms infinite;
    clip-path: ppolygon(5% 133%, -10% 20%, 100% 50%, 20% 110%);
    transform: translate(0.225em, 0.05em);
    /*background: blue;*/
    opacity: 1;
}

.door-container.GLITCHED .door-description span:nth-child(4),
.glitch-text span:nth-child(4) {
    animation: glitch 275ms infinite;
    clip-path: polygon(0 50%, 80% -20%, 80% 110%, 230% 100%);
    transform: translate(0.025em, -0.15em) scale(-1, 1);
    /*background: white;*/
    opacity: 1;
}

.door-container.GLITCHED .door-description span:nth-child(5),
.glitch-text span:nth-child(5) {
    animation: glitch 1075ms infinite;
    clip-path: polygon(0 50%, 90% 30%, 96% 100%, 7% 70%);
    transform: translate(-0.225em, -0.25em) scale(-1, 1);
    /*background: black;*/
    opacity: 1;
}

.door-open[data-content="GLITCHED"] .door-open-description img {
    box-shadow: none;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
      -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
      -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
      0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
      -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
      0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
      0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.25em 0 0 rgba(255, 0, 0, 0.75),
      -0.25em -0.25em 0 rgba(0, 255, 0, 0.75),
      -0.25em -0.5em 0 rgba(0, 0, 255, 0.75);
  }
}

/*@keyframes glitch-img {
  0% {
    transform: translate(0.128em, 0.15em);
  }
  14% {
    transform: translate(0.1em, -0.5em);
  }
  15% {
    transform: translate(0.15em, 0.25em);
  }
  49% {
    transform: translate(-0.125em, 0.35em);
  }
  50% {
    transform: translate(0.125em, -0.25em);
  }
  99% {
    transform: translate(0.225em, -0.15em);
  }
  100% {
    transform: translate(0.125em, 0.25em);
  }
}*/

@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, -4px, 1px) /*rotate3d(1, 1, 1, 15deg)*/ scale3d(1.2, 1.1, 0.9);
    }

    20%, 80% {
        transform: translate3d(2px, -1px, 0) /*rotate3d(2, -1, -1, -25deg)*/ scale3d(1.1, 1, 1);
    }

    66% {
        transform: translate3d(-4px, -5px, 0px) rotate3d(0, -1, -0.5, 15deg) scale3d(1.5, 1.2, 0.9);
    }

    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 3px) /*rotate3d(0, 1, 0.5, 35deg)*/ scale3d(1.2, 1, 1);
    }

    40%, 60% {
        transform: translate3d(4px, -2px, -3px) /*rotate3d(-1, -1, 1, -15deg)*/ scale3d(1, 1, 1);
    }
}

.door-open {
    left: 120px;
    width: calc(100vw - 500px);
    max-width: 950px;
    position: absolute;
    top: -40px;
    left: 0px;
    z-index: 999;
    background: #dbcbb9;
    /*box-shadow: 0px 0px 0px 10px #dbcbb9;*/
    text-align: center;
}

.door-open:after {
    content: "";
    background: rgb(0 0 0 / 80%);
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;

}

.door-open-container{
    background: #dbcbb9;
    border: 3px solid #533110;
    padding: 20px 40px;
    min-height: 450px;
}

.door-open-description {
    text-align: left;
    font-size: 1em;
    line-height: 1em;
}

.door-open-description ul {
    overflow: hidden;
}

.door-open-description img {
    max-width: 200px;
    float: right;
    margin: 10px 0 20px 30px;
    box-shadow: 0px 0px 0px 2px #533110;
}

.close {
    position: absolute;
    right: 0;
    top: 0;
    background: url(../images/corner.png) no-repeat;
    width: 50px;
    height: 50px;
    background-size: 100%;
    color: #533110;
    font-family: 'titlefont', sans-serif;
    font-family: Arial;
    text-align: right;
    padding: 2px 7px;
    font-weight: bold;
    font-size: 0.8em;
}

.close:hover {
    cursor: pointer;
}

/* Partners */

.partners {
    position: absolute;
    left: 20px;
    top: 200px;
}

.partners a:nth-of-type(2) {
    top: 60px;
}

.partners a:nth-of-type(3) {
    top: 120px;
}

.partners a:nth-of-type(4) {
    top: 180px;
}

.partners a {
    display: block;
    width: 140px;
    position: absolute;
    transition: all 0.3s;
}

.partners a.no-ref img {
    background: none !important;
}

.partners a:hover {
    cursor: pointer;
    transform: scale(1.2) !important;
}

.partners a.no-ref:hover {
    cursor: default !important;
    transform: inherit !important;
}

.partners a.long {
    height: 92px;
    height: auto;
    width: 250px;
}

.partners a img {
    width: 100%;
    background-size: 100% 100% !important;
}

#logo_uom {
    transform: rotate(5deg);
}

#logo_venice{
    transform: rotate(-10deg);
    top: 100px;
}

#logo_skovde{
    transform: rotate(8deg);
    top: 200px;
}

#logo_phi{
    transform: rotate(-5deg);
    top: 300px;
}

#logo_phi img {
    background: none !important;
}

#logo_phi:hover {
    cursor: default !important;
    transform: rotate(-5deg) !important;
}


#logo_erasmus {
    width: 120px;
    top: -70px;
    left: 640px;
}

.button {
    text-align: center;
    background: #f4c878;
    display: inline-block;
    border-radius: 20px;
    padding: 10px 20px;
    border-bottom: 3px solid #a47a4f;
    border-right: 3px solid #a47a4f;
    font-family: 'Montserrat', sans-serif;
    -webkit-text-stroke: 1px #a47a4f;
    color: white;
    text-shadow: 3px 3px 0 #a47a4f, -1px -1px 0 #a47a4f, 1px -1px 0 #a47a4f, -1px 1px 0 #a47a4f, 1px 1px 0 #a47a4f;
    font-size: 1.5rem;
    transition: all 0.3s;

}

.button:hover {
    color: white !important;
    background: #cda163;
    transform: scale(1.05);
    cursor: pointer;
    box-shadow: 2px 5px 0px 0px #87996c;
}

.button.download {
    max-width: 380px;
    padding: 0;
}

.button.download h3 {
    border-bottom: 3px solid #a47a4f;
    padding: 10px;
    -webkit-text-stroke: 1px #a47a4f;
    color: white;
    text-shadow: 3px 3px 0 #a47a4f, -1px -1px 0 #a47a4f, 1px -1px 0 #a47a4f, -1px 1px 0 #a47a4f, 1px 1px 0 #a47a4f;
}

.button.download .download-img {
    background: #d3e7bf;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.button.download:hover .download-img {
    background: #a5bb84
}

.button.download .download-img img {
    width: 180px;
}

.button.download h4 {
    border-top: 3px solid #b2c68f;
    background: #87996c;
    padding: 5px;
    border-bottom: 3px solid #a47a4f;
    -webkit-text-stroke: 1px #5b7662;
    color: white;
    text-shadow: 3px 3px 0 #5b7662, -1px -1px 0 #5b7662, 1px -1px 0 #5b7662, -1px 1px 0 #5b7662, 1px 1px 0 #5b7662;
}

.button.download h5 {
    text-shadow: none;
    -webkit-text-stroke: 0;
    color: #a47a4f;
    text-transform: none;
    font-size: 0.75em;
    padding: 10px 20px;
}

.button.download h3:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    content: "\f019";
    margin-right: 10px;
}

#haze-button:hover {
    cursor: pointer;
}

.cc-window.cc-floating.cc-type-info.cc-theme-block.cc-bottom.cc-right.cc-color-override-530831885 {
    background-color: #dbcbb9;
    color: black;
    box-shadow: 5px 5px 0px rgb(0 0 0 / 20%);
}

.cc-floating.cc-theme-edgeless .cc-message {
    border: 5px solid #533110;
    padding: 2em;
    padding-bottom: 1.5em;
    margin: 5px !important;
}

.cc-color-override-530831885 .cc-link, .cc-color-override-530831885 .cc-link:active, .cc-color-override-530831885 .cc-link:visited {
    color: #ae5043 !important;
    text-decoration: underline;
    font-weight: bold;
}

.cc-color-override-530831885 .cc-link:hover, .cc-color-override-530831885 .cc-link:hover, .cc-color-override-530831885 .cc-link:hover {
    color: #425d66 !important;
}

.cc-window.cc-floating.cc-type-info.cc-theme-edgeless.cc-bottom.cc-right.cc-color-override-530831885 {
    background-color: #dbcbb9;
    color: black;
    box-shadow: 5px 5px 0px rgb(0 0 0 / 20%);
}

.cc-color-override-530831885 .cc-btn {
    background-color: #d34a58 !important;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
    color: white;
}

.cc-color-override-530831885 .cc-btn {
    z-index: 999;
    background-color: #d4b56c !important;
    font-weight: bold;
    color: #603813 !important;
    border-bottom: 5px solid #a28357 !important;
    border-left: 5px solid #e8ca84 !important;
    border-right: 5px solid #a28357 !important;
    border-top: 5px solid #f3e3be !important;
    padding: 10px 20px;
    transition: 0.3s all;
    text-align: center;
}

.cc-compliance a {
    text-decoration: none;
}

.cc-color-override-530831885 .cc-btn:hover{
    cursor: pointer;
    background-color: #fcb612 !important;
    color: #603813 !important;
    border-bottom-color: #c6932c !important;
    border-left-color: #fed77f !important;
    border-right-color: #fed77f !important;
    border-top-color: #f7e0b0 !important;   
}

.cc-window.cc-invisible{
    display: none;
}

.hazeContainer {
    position: relative;
}

.hazeContainer:hover {
    cursor: pointer;
}

.hazeContainer .planetImg {
    opacity: 1;
}

.hazeContainer .hazeImg {
    opacity: 0;
}

.hazeContainer .hazeBg {
    transition: 3s all;
    opacity: 0;
}

.hazeContainer.haze .planetImg {
    opacity: 0;
}

.hazeContainer.haze .hazeImg {
    opacity: 1;
}

.hazeContainer.haze .hazeBg {
    opacity: 1;
}

.hazeContainer img {
    width: 100%;
    transition: 1s all;
}

.hazeImg, .planetImg {
    position: absolute;
    z-index: 999;
}

.shipContainer {
    display: flex;
    justify-content: space-between;
}

.shipContainer div {
    background: none !important;
    height: 100px;
    margin-top: 20px;
    width: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shipContainer div img {
    width: 80%;
    transition: 0.3s all;
}

.shipContainer div:hover img {
    transform: rotate(-5deg);
}

.shipContainer div:first-of-type:hover img {
    transform: rotate(0deg);
}

.shipContainer div:last-of-type:hover img {
    transform: rotate(0deg);
}

.shipContainer div:first-of-type img {
    transform: rotate(5deg);
}

.shipContainer div:last-of-type img {
    transform: rotate(-5deg);
}

.download-button {
    display: flex;
    max-width: 500px;
    margin: auto;
}

.download-win {
    background: #35305d;
    text-align: center;
    border-left: 6px solid #d34a58;
    border-bottom: 6px solid #d34a58;
    border-top: 6px solid #d34a58;
    border-right: 3px solid #d34a58;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    transition: 0.3s all;
}

.download-mac {
    background: #35305d;
    text-align: center;
    border-right: 6px solid #d34a58;
    border-bottom: 6px solid #d34a58;
    border-top: 6px solid #d34a58;
    border-left: 3px solid #d34a58;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    transition: 0.3s all;
}

.download-win h3, .download-mac h3 {
    border-top: 3px solid #d34a58;
    padding: 20px 10px;
    transition: 0.3s all;
    font-size: 1.17em;
    margin: 0;
    border-radius: 0;
}

.download-win img, .download-mac img {
    width: 100%;
    margin-bottom: -40px;
    transition: 0.3s all;
}

.download-win:hover, .download-mac:hover {
    background: #26214a;
    transform: scale(1.05);
    cursor: pointer;
}

.download-win:hover h3, .download-mac:hover h3 {
    color: #d34a58;
}

.download-win:hover img {
    transform: rotate(5deg);
}

.download-mac:hover img {
    transform: rotate(-5deg);
}

.download-manual,
.spoilers-button-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.download-manual a,
.spoilers-button {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.country-flag {
    width: 30px;
}

.english-manual,
.spoilers-button:first-of-type {
    background-color: #d4b56c;
    color: #603813;
    border-bottom: 5px solid #a28357;
    border-left: 5px solid #e8ca84;
    border-right: 1px solid #a28357;
    border-top: 5px solid #f3e3be;
    padding: 10px 20px;
    transition: 0.3s all;
}

.english-manual .country-flag{
    margin-right: 10px
}

.maltese-manual .country-flag{
    margin-left: 10px
}

.maltese-manual,
.spoilers-button:last-of-type {
    background-color: #d4b56c;
    color: #603813;
    border-bottom: 5px solid #a28357;
    border-right: 5px solid #e8ca84;
    border-left: 1px solid #a28357;
    border-top: 5px solid #f3e3be;
    padding: 10px 20px;
    transition: 0.3s all;
}

.english-manual:hover, .maltese-manual:hover, .spoilers-button:hover {
    background-color: #fcb612;
    color: #603813;
    border-bottom-color: #c6932c;
    border-left-color: #fed77f;
    border-right-color: #fed77f;
    border-top-color: #f7e0b0;
    transform: scale(1.05);
    cursor: pointer;
    z-index: 99;
}

.spoilers-container {
    width: 100%;
}

.spoilers-content {
    width: 100%;
    position: fixed;
    z-index: 9999;
    border: 5px solid #533110;
    box-shadow: 0px 0 0px 5px #dbcbb9;
    background: #dbcbb9;
    color: black;
    padding: 20px 30px;
    max-width: 800px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.spoilers-container:after {
    content: "";
    background: rgb(0 0 0 / 80%);
    width: 1000vw;
    height: 1000vh;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: 1s all;
    animation-name: dark;
    -webkit-animation: dark 1s 0s forwards; /* for less modern browsers */
    animation: dark 1s 0s forwards;
}

.spoilers-container.no-spoiler {
    display: block
}
.spoilers-container.spoiler {
    display: none
}

.door-library.no-spoiler {
    opacity: 0;
}
.door-library.spoiler {
    opacity: 1;
}

.canvas-container {
    width: 100% !important;
    height: 0px !important;
    padding-top: 56%;
    position: relative;
    background: #bda993;
    border: 3px solid #dbcbb9;
    box-shadow: 0px 0 0px 3px #533110;
    margin: 20px 0;
}

canvas#unity-canvas,
#unity-container {
    width: 100% !important;
    position: absolute;
    top: 0;
    height: 100% !important;
}

#unity-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-play-button {
    z-index: 999;
    background-color: #d4b56c;
    font-weight: bold;
    color: #603813;
    border-bottom: 5px solid #a28357;
    border-left: 5px solid #e8ca84;
    border-right: 5px solid #a28357;
    border-top: 5px solid #f3e3be;
    padding: 10px 20px;
    transition: 0.3s all;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

#unity-play-button i {
    font-size: 2em;
    padding-left: 20px;
}

#unity-play-button.hidden {
    z-index: -1;
    display: none;
}

#unity-play-button:hover{
    cursor: pointer;
    background-color: #fcb612;
    color: #603813;
    border-bottom-color: #c6932c;
    border-left-color: #fed77f;
    border-right-color: #fed77f;
    border-top-color: #f7e0b0;
    transform: scale(1.05);
}

#unity-fullscreen-button {
    background: url(../images/enlarge.svg) no-repeat;
    background-size: 100%;
    position: absolute;
    width: 30px;
    height: 30px;
    display: none;
    bottom: 5px;
    right: 5px;
    opacity: 0.5;
    transition: 0.3s all;
    z-index: 1;
}

#unity-fullscreen-button:hover{
    cursor: pointer;
    opacity: 1;
}

#unity-progress-bar-empty {
    width: 100%;
    height: 10px;
    background: #dbcbb9;
    border: 3px solid #533110;
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
}

#unity-progress-bar-full {
    width: 0;
    position: absolute;
    height: 4px;
    left: 1px;
    bottom: 0px;
    background: #ad4e42;
    border-radius: 2px;
    transition: 0.5s all;
}

@media (max-width: 820px) {
    #body {
        overflow: initial;
    }

    .header .logo {
        transform: none;
        width: 100%;
        display: block;
        padding: 0;
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        font-size: 0em;
        text-align: center;
    }

    .header .logo:hover .main-logo {
        transform: rotateZ(0deg);
    }

    .main-logo {
        width: 150px;
        height: 150px;
        transform: none;
        margin: -20px 0 -20px 0;
    }

    .main-logo-background {
        transform: rotateZ(0deg) translate(-50%, 0px);
        left: 50%;
        top: 10px;
    }

    .main-nav ul li {
        transition: transform 0.2s;
        display: inline-block;
        letter-spacing: normal;
        transform: none;
        font-size: 1.5em;
        min-width: 100%;
        text-align: left;
        margin-left: 0;
        margin-bottom: -10px;
    }

    .main-nav ul li:hover {
        transform: none;
    }

    .main-nav ul li a {
        text-align: center;
    }

    .main-nav ul {
        text-align: center;
        letter-spacing: -1em;
        margin: 0;
        padding: 0;
        height: auto;
        width: 100%;
        margin-top: 120px;
        border-bottom: 5px solid #332111;
        box-shadow: 0px -45px 0px 50px #462d1d;
        background: #462d1d;
        padding-bottom: 5px;
        z-index: 9;
        position: relative;
    }

    #gua-le-ni{
        position: relative;
        top: auto;
        left: auto;
        width: 100px;
        display: block;
        transform: none;
        margin: auto;
    }

    #gua-le-ni:hover {
        transform: none;
        animation: none;
    }

    body[data-style="1"] .main-nav ul,
    body[data-style="1"] .main-nav {
        border-bottom: 5px solid #2c1c14;
        box-shadow: 0px -45px 0px 50px #382e28;
        background: #382e28;
    }

    body[data-style="2"] .main-nav ul,
    body[data-style="2"] .main-nav {
        border-bottom: 5px solid #332111;
        box-shadow: 0px -45px 0px 50px #462d1d;
        background: #462d1d;
    }

    body[data-style="3"] .main-nav ul,
    body[data-style="3"] .main-nav {
        border-bottom: 5px solid #845c3c;
        box-shadow: 0px -45px 0px 50px #4b3222;
        background: #4b3222;
    }

    .main-nav ul li a span.outline {
        top: -1px;
        left: calc(50% + 2px);
        transform: translate(-50%, 0px);
    }

    .wrapper {
            margin: 30px auto;
        max-width: 100%;
        width: 90%;
        margin-top: 230px;
        margin-bottom: 420px;
    }

    .partners {
        position: absolute;
        top: 0;
        left: 0px;
        width: 100vw;
        z-index: 999;
    }

    body[data-style="1"] .partners{
        border-bottom: 5px solid #2c1c14;
        box-shadow: 0px 0px 0px 5px #382e28;
        background: #382e28;
    }

    body[data-style="2"] .partners{
        border-bottom: 5px solid #332111;
        box-shadow: 0px 0px 0px 5px #462d1d;
        background: #462d1d;
    }

    body[data-style="3"] .partners{
        border-bottom: 5px solid #845c3c;
        box-shadow: 0px 0px 0px 5px #4b3222;
        background: #4b3222;
    }


    .partners a {
        position: relative;
        top: 0 !important;
        max-width: 150px;
        width: 100%;
        display: block;
        margin: auto;
    }

    .cc-window.cc-floating.cc-type-info {
        bottom: 85px;
    }

    .plaque {
        background: none;
        background-color: #fcb612;
        color: #603813;
        border-bottom: 5px solid #c6932c;
        border-left: 5px solid #fed77f;
        border-right: 5px solid #fed77f;
        border-top: 5px solid #f7e0b0;
        padding: 10px 20px;
        font-size: 1em !important;
        line-height: 1.2em;
        text-align: center;
    }

    .plaque span {
        font-size: 1.2em;
        white-space: normal;
    }

    .plaque .shine {
        display: none;
    }

    .plaque:before,
    .plaque:after {
        display: none;
    }

    .anthology {
        /*position: relative;*/
        display: block;
        width: 100%;
    }

    .door-open {
        width: calc(100vw - 50px);
        left: 50% !important;
        top: -40px !important;
        transform: translate(-50%);
        box-shadow: none;
    }

    .door-open:after {
        content: "";
        background: rgb(0 0 0 / 80%);
        width: 1000vw;
        height: 1000vh;
        position: fixed;
        top: 50%;
        left: 50%;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    .door-container {
        position: initial;
    }

    .door-container.GLITCHED {
        position: initial;
        left: initial;
        box-shadow: none;
        margin: 0 5px;
    }

    .door-container.GLITCHED .door[data-style="GLITCHED"]{
        transition: 0.3s all;
        background: url(../images/doors/glitch.png) no-repeat;
        background-size: 100%;
    }

    .door-container.GLITCHED:hover .door[data-style="GLITCHED"]{
        background: url(../images/doors/glitch_cover.png) no-repeat;
        background-size: 100%;
        animation: none;
    }

    .door-container.GLITCHED .door-title {
        bottom: 40px;
    }

    .door-container.GLITCHED .door-description {
        background: none;
        font-size: 1em;
        padding: 60px;
        line-height: 1em;
    }

    .door-open[data-content="GLITCHED"]{

    }
}