/* Welcome to Compass.
 * In this file you should write your main styles. (or centralize your imports)
 * Import this file using the following HTML or equivalent:
 * <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" /> */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/* Generated by Font Squirrel (http://www.fontsquirrel.com) on January 7, 2016 */
@font-face {
  font-family: 'charcuterie_cursiveregular';
  src: url("../../src/font/charcuteriecursive/laura_worthington_-_charcuteriecursive-webfont.eot");
  src: url("../../src/font/charcuteriecursive/laura_worthington_-_charcuteriecursive-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/charcuteriecursive/laura_worthington_-_charcuteriecursive-webfont.woff2") format("woff2"), url("../../src/font/charcuteriecursive/laura_worthington_-_charcuteriecursive-webfont.woff") format("woff"), url("../../src/font/charcuteriecursive/laura_worthington_-_charcuteriecursive-webfont.ttf") format("truetype"), url("../../src/font/charcuteriecursive/laura_worthington_-_charcuteriecursive-webfont.svg#charcuterie_cursiveregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadoblack_italic';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoblack-italic-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoblack-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-italic-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-italic-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-italic-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-italic-webfont.svg#mikadoblack_italic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadoblack';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoblack-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoblack-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadoblack-webfont.svg#mikadoblack") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadobold_italic';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadobold-italic-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadobold-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-italic-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-italic-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-italic-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-italic-webfont.svg#mikadobold_italic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadobold';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadobold-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadobold-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadobold-webfont.svg#mikadobold") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadolight_italic';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadolight-italic-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadolight-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-italic-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-italic-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-italic-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-italic-webfont.svg#mikadolight_italic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadolight';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadolight-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadolight-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadolight-webfont.svg#mikadolight") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadomedium_italic';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadomedium-italic-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadomedium-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-italic-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-italic-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-italic-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-italic-webfont.svg#mikadomedium_italic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadomedium';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadomedium-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadomedium-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadomedium-webfont.svg#mikadomedium") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadoregular_italic';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoregular-italic-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoregular-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-italic-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-italic-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-italic-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-italic-webfont.svg#mikadoregular_italic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikado_regularregular';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoregular-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoregular-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadoregular-webfont.svg#mikado_regularregular") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadoultra_italic';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoultra-italic-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoultra-italic-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-italic-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-italic-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-italic-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-italic-webfont.svg#mikadoultra_italic") format("svg");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'mikadoultra';
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoultra-webfont.eot");
  src: url("../../src/font/mikado/hvd_fonts_-_mikadoultra-webfont.eot?#iefix") format("embedded-opentype"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-webfont.woff2") format("woff2"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-webfont.woff") format("woff"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-webfont.ttf") format("truetype"), url("../../src/font/mikado/hvd_fonts_-_mikadoultra-webfont.svg#mikadoultra") format("svg");
  font-weight: normal;
  font-style: normal;
}
@-webkit-keyframes load {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-webkit-keyframes borderHover {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@keyframes borderHover {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@-webkit-keyframes borderHoverBack {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}
@keyframes borderHoverBack {
  from {
    width: 0%;
  }
  to {
    width: 70%;
  }
}
@-webkit-keyframes postcard {
  0% {
    -webkit-transform: rotateY(0deg) rotateX(0deg);
    transform: rotateY(0deg) rotateX(0deg);
  }
  50% {
    -webkit-transform: rotateY(90deg) rotateX(0deg);
    transform: rotateY(90deg) rotateX(0deg);
  }
  100% {
    -webkit-transform: rotateY(180deg) rotateX(0deg);
    transform: rotateY(180deg) rotateX(0deg);
  }
}
@keyframes postcard {
  0% {
    -webkit-transform: rotateY(0deg) rotateX(0deg);
    transform: rotateY(0deg) rotateX(0deg);
  }
  50% {
    -webkit-transform: rotateY(90deg) rotateX(0deg);
    transform: rotateY(90deg) rotateX(0deg);
  }
  100% {
    -webkit-transform: rotateY(180deg) rotateX(0deg);
    transform: rotateY(180deg) rotateX(0deg);
  }
}
@-webkit-keyframes postcardPosted {
  0% {
    -webkit-transform: translateY(0px) scale(0.9);
    transform: translateY(0px) scale(0.9);
  }
  10% {
    -webkit-transform: translateY(-10px) scale(0.9);
    transform: translateY(-10px) scale(0.9);
  }
  30% {
    -webkit-transform: translateY(1000px) scale(0.9);
    transform: translateY(1000px) scale(0.9);
  }
  100% {
    -webkit-transform: translateY(1000px) scale(0.9);
    transform: translateY(1000px) scale(0.9);
  }
}
@keyframes postcardPosted {
  0% {
    -webkit-transform: translateY(0px) scale(0.9);
    transform: translateY(0px) scale(0.9);
  }
  10% {
    -webkit-transform: translateY(-10px) scale(0.9);
    transform: translateY(-10px) scale(0.9);
  }
  30% {
    -webkit-transform: translateY(1000px) scale(0.9);
    transform: translateY(1000px) scale(0.9);
  }
  100% {
    -webkit-transform: translateY(1000px) scale(0.9);
    transform: translateY(1000px) scale(0.9);
  }
}
*:not(textarea) {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body.isIpad * {
  transition: none !important;
}

.ui {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.wrapper {
  position: relative;
}

canvas {
  overflow: hidden;
  vertical-align: bottom;
  position: absolute;
  z-index: 1;
}

#cut-off-bottom {
  height: 400px;
  width: 100px;
  position: absolute;
  left: 25%;
}

svg {
  z-index: 2;
  position: absolute;
}

#error, #errorMobile {
  display: none;
}

#intro {
  background-color: #FDE9AA;
  background-image: url(../../src/3d/textures/1_desk/Laptop_wall.jpg);
  background-size: cover;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 3;
  display: block;
}
#intro #intro-content {
  width: 500px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-top: 500px;
}
#intro #intro-content h2 {
  font-family: 'charcuterie_cursiveregular';
  font-size: 35px;
  color: #797979;
  opacity: 0;
}
#intro #intro-content span {
  font-family: 'mikadobold';
  font-size: 100px;
  color: #ffa87a;
  position: relative;
  top: -150px;
  opacity: 0;
}
#intro #intro-content #intro-sub-title {
  background-image: url(../../src/img/11_END_background.png);
  width: 200px;
  height: 65px;
  background-position: -140px -1830px, center center;
  margin-left: auto;
  margin-right: auto;
}
#intro #loading {
  background-image: url(../../src/img/11_END_background.png);
  width: 200px;
  height: 70px;
  background-position: -443px -1814px, center center;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
}
#intro #loading #loading-circle {
  background-image: url(../../src/img/11_END_background.png);
  width: 44px;
  height: 44px;
  background-position: -733px -1826px, center center;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: load;
  animation-name: load;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  float: left;
  margin-left: 76px;
  margin-top: 11px;
}
#intro #ipadButton {
  display: none;
  font-family: 'mikadobold';
  color: #FDE9AA;
  background-color: #6e6a78;
  width: 300px;
  margin-left: auto;
  margin-right: auto;
  height: 70px;
  margin-top: 190px;
  line-height: 70px;
  border-radius: 12px;
}
#intro #intro-cloud-1 {
  background-image: url(../../src/img/11_END_background.png);
  width: 300px;
  height: 100px;
  background-position: -70px -920px, center center;
  margin-right: auto;
  position: relative;
  margin-top: -180px;
  margin-left: -160px;
}
#intro #intro-cloud-2 {
  background-image: url(../../src/img/11_END_background.png);
  width: 300px;
  height: 100px;
  background-position: -658px -1178px, center center;
  margin-left: auto;
  position: relative;
  margin-top: -180px;
  margin-right: -160px;
}

#flash {
  background-color: #FFFFFF;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 50;
  display: none;
}

#credits {
  background-color: #26283f;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 5;
  display: none;
}
#credits #credits-left, #credits #credits-right {
  position: absolute;
  height: 100%;
  width: 39%;
}
#credits #credits-right {
  right: 0;
}
#credits #credits-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#credits #credits-content h1 {
  font-size: 32px;
  margin-top: 60px;
}
#credits #credits-content #credits-back-button {
  display: inline-block;
  font-size: 15px;
  margin-top: 40px;
  padding: 35px;
  cursor: pointer;
  position: relative;
}
#credits #credits-content #credits-back-button:after {
  content: "";
  width: 70%;
  position: absolute;
  height: 100%;
  border-bottom: solid;
  margin-top: -68px;
  margin-left: -70%;
}
#credits #credits-content #credits-back-button:hover:after {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: borderHoverBack;
  animation-name: borderHoverBack;
}
#credits #credits-content h1, #credits #credits-content #credits-back-button {
  color: #FFFFFF;
  font-family: 'mikadobold';
}
#credits #credits-content h2 {
  color: #ffa87a;
  font-family: 'mikadobold';
  font-size: 15px;
  letter-spacing: 1px;
  margin-top: 40px;
}
#credits #credits-content h3, #credits #credits-content h3 a {
  font-family: 'mikadomedium';
  color: #a39eb2;
  font-size: 15px;
  letter-spacing: 1px;
  margin-top: 18px;
  text-decoration: none;
}
#credits #credits-content h3 a {
  position: relative;
}
#credits #credits-content h3 a:hover:after {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: borderHover;
  animation-name: borderHover;
}
#credits #credits-content h3 a:after {
  content: "";
  width: 100%;
  position: absolute;
  height: 100%;
  margin-left: -100%;
  border-bottom: solid;
}

#jumelles {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 2;
  display: none;
}
#jumelles #jumelles-left {
  height: 100%;
  width: 50%;
  background-image: radial-gradient(circle at 75% 50%, rgba(0, 0, 0, 0) 250px, rgba(0, 0, 0, 0.5) 105px, #4f536c 0%);
  float: left;
}
#jumelles #jumelles-right {
  content: '';
  height: 100%;
  width: 50%;
  float: left;
  background-image: radial-gradient(circle at 25% 50%, rgba(0, 0, 0, 0) 250px, rgba(0, 0, 0, 0.5) 105px, #4f536c 0%);
}

#postcard {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 3;
  display: none;
  background-color: rgba(1, 1, 1, 0);
  transition: background-color 1s;
}
#postcard.rotated {
  background-color: rgba(1, 1, 1, 0.5);
}
#postcard.rotated #postcard-content {
  -webkit-backface-visibility: initial;
  backface-visibility: initial;
  -webkit-transform: rotateY(0deg) scale(0.9) !important;
  transform: rotateY(0deg) scale(0.9) !important;
  transition: none;
}
#postcard.rotated #postcard-content.posted {
  -webkit-animation-name: postcardPosted;
  animation-name: postcardPosted;
  -webkit-animation-duration: 3s;
  animation-duration: 3s;
  -webkit-animation-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
  animation-timing-function: cubic-bezier(0.64, 0.57, 0.67, 1.53);
}
#postcard.rotated #postcard-content #postcard-front {
  display: none;
  transition: none;
}
#postcard.rotated #postcard-content #postcard-back {
  -webkit-transform: rotateY(0deg) !important;
  transform: rotateY(0deg) !important;
  -webkit-backface-visibility: initial;
  backface-visibility: initial;
  transition: none;
}
#postcard.rotated #postcard-content #postcard-back:after {
  content: none;
}
#postcard #thnks {
  display: none;
}
#postcard #postcard-content {
  background-color: #FFFFFF;
  width: 837px;
  height: 527px;
  margin-left: auto;
  margin-right: auto;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: -webkit-transform 1s ease;
  transition: transform 1s ease;
  transition: transform 1s ease, -webkit-transform 1s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#postcard #postcard-content.rotated {
  -webkit-transform: rotateY(180deg) scale(0.9);
  transform: rotateY(180deg) scale(0.9);
}
#postcard #postcard-content.rotated #postcard-back:after {
  opacity: 0;
}
#postcard #postcard-content #postcard-front {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
#postcard #postcard-content #postcard-front img {
  width: 95%;
  margin: 2.5%;
}
#postcard #postcard-content #postcard-front:after {
  transition: opacity 1s ease;
  content: "";
  opacity: 0;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 4;
  background-color: #000000;
}
#postcard #postcard-content #postcard-back {
  background-color: white;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  height: 100%;
}
#postcard #postcard-content #postcard-back:after {
  transition: opacity 1s ease;
  content: "";
  opacity: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 4;
  background-color: #000000;
}
#postcard #postcard-content #postcard-back #postcard-back-content {
  width: 600px;
  margin-left: auto;
  text-align: center;
  margin-right: auto;
  margin-top: 75px;
}
#postcard #postcard-content #postcard-back #postcard-back-content img {
  position: absolute;
  right: 30px;
  top: 30px;
}
#postcard #postcard-content #postcard-back #postcard-back-content h1 {
  font-family: 'mikadomedium';
  letter-spacing: 2px;
  font-size: 25px;
  color: #f0b942;
}
#postcard #postcard-content #postcard-back #postcard-back-content h2 {
  color: #797979;
  letter-spacing: 1px;
  font-family: 'mikadomedium';
  margin-top: 17px;
  display: none;
  transition: opacity 1s;
}
#postcard #postcard-content #postcard-back #postcard-back-content h2.display {
  display: block;
  transition: opacity 1s;
}
#postcard #postcard-content #postcard-back #postcard-back-content h2#postcard-error {
  color: #e75305;
}
#postcard #postcard-content #postcard-back #postcard-back-content h2#thnks {
  color: #e75305;
  margin: 160px 0px 70px;
  font-size: 35px;
}
#postcard #postcard-content #postcard-back #postcard-back-content textarea {
  width: 89%;
  height: 200px;
  margin: 2%;
  background-image: linear-gradient(white, white 34px, #ccc 30px, #ccc 36px, white 34px);
  background-size: 100% 50px;
  border: none;
  overflow: auto;
  outline: none;
  box-shadow: none;
  line-height: 49px;
  font-size: 25px;
  font-family: 'mikadomedium';
  color: #797979;
  resize: none;
}
#postcard #postcard-content #postcard-back #postcard-back-content ul li {
  display: inline-block;
  font-family: 'mikadomedium';
  margin: 0px 60px;
  border-color: #2a3257;
  font-size: 13px;
  opacity: 1;
  transition: opacity 1s;
  transition: all 1s;
  cursor: pointer;
  position: relative;
}
#postcard #postcard-content #postcard-back #postcard-back-content ul li:after {
  content: "";
  width: 100%;
  position: absolute;
  height: 100%;
  border-bottom: solid;
  margin-left: -100%;
  border-width: 1px;
}
#postcard #postcard-content #postcard-back #postcard-back-content ul li:hover:after {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: borderHover;
  animation-name: borderHover;
}
#postcard #postcard-content #postcard-back #postcard-back-content ul li a {
  transition: all 1s;
  color: #2a3257;
  text-decoration: none;
}
#postcard #postcard-content #postcard-back #postcard-back-content #postcard-continue-button {
  display: inline-block;
  font-family: 'mikadomedium';
  font-size: 16px;
  cursor: pointer;
  color: #FFFFFF;
  position: relative;
  padding: 20px;
  border-radius: 9px;
  margin-top: 45px;
  transition: all 1s ease;
}
#postcard #postcard-content #postcard-back #postcard-back-content #postcard-continue-button:hover:after {
  opacity: 0;
}
#postcard #postcard-content #postcard-back #postcard-back-content #postcard-continue-button:hover:before {
  opacity: 1;
}
#postcard #postcard-content #postcard-back #postcard-back-content #postcard-continue-button:after {
  transition: all 1s ease;
  content: "";
  opacity: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  background-image: url(../../src/img/0_bouton_postcard.png);
  background-size: cover;
}
#postcard #postcard-content #postcard-back #postcard-back-content #postcard-continue-button:before {
  transition: all 1s ease;
  content: "";
  opacity: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  background-image: url(../../src/img/0_bouton_postcard_rollover.png);
  background-size: cover;
}

body.isIpad #end #end-content h1 span {
  opacity: 1;
}
body.isIpad #end #end-content h1 {
  opacity: 1;
}
body.isIpad #end #end-content #end-reset-button {
  opacity: 1;
}

#end {
  background-color: #4a5172;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 3;
  display: none;
}
#end:after {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  background-image: url(../../src/img/11_END_background.png);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
}
#end .end-back-element {
  position: absolute;
  background-image: url(../../11_END_background.png);
}
#end #end-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
#end #end-content h1, #end #end-content h2, #end #end-content h3, #end #end-content a {
  margin-top: 30px;
}
#end #end-content h1 span {
  opacity: 0;
}
#end #end-content h1:nth-child(1) {
  font-family: 'charcuterie_cursiveregular';
  font-size: 45px;
  color: #FFFFFF;
  opacity: 0;
}
#end #end-content h1:nth-child(2) {
  font-family: 'mikadobold';
  font-size: 45px;
  color: #ffa87a;
  line-height: 60px;
}
#end #end-content h1:nth-child(2) span:nth-child(13),
#end #end-content h1:nth-child(2) span:nth-child(14),
#end #end-content h1:nth-child(2) span:nth-child(15),
#end #end-content h1:nth-child(2) span:nth-child(16),
#end #end-content h1:nth-child(2) span:nth-child(17),
#end #end-content h1:nth-child(2) span:nth-child(18),
#end #end-content h1:nth-child(2) span:nth-child(19),
#end #end-content h1:nth-child(2) span:nth-child(35),
#end #end-content h1:nth-child(2) span:nth-child(36),
#end #end-content h1:nth-child(2) span:nth-child(37),
#end #end-content h1:nth-child(2) span:nth-child(38),
#end #end-content h1:nth-child(2) span:nth-child(39),
#end #end-content h1:nth-child(2) span:nth-child(40),
#end #end-content h1:nth-child(2) span:nth-child(41),
#end #end-content h1:nth-child(2) span:nth-child(42),
#end #end-content h1:nth-child(2) span:nth-child(43) {
  color: #a39eb2;
}
#end #end-content h2 {
  color: white;
  font-family: 'mikadomedium';
  font-size: 18px;
}
#end #end-content h3 {
  font-size: 18px;
  color: white;
  font-family: 'mikadomedium';
  margin-bottom: 25px;
  height: 0px;
  overflow: hidden;
}
#end #end-content ul li {
  display: inline-block;
  margin-top: 30px;
  margin: 30px 12.5px;
}
#end #end-content ul li a {
  color: black;
  padding: 23px;
  border: solid 2px;
  float: left;
  border-radius: 360px;
  background-position: 9px;
  background-size: 28px;
  background-repeat: no-repeat;
  transition: background-color 0.4s;
}
#end #end-content ul li:nth-child(1) a {
  background-image: url(../img/0_twitter_b.png);
}
#end #end-content ul li:nth-child(1):hover a {
  background-color: black;
  background-image: url(../img/0_twitter.png);
}
#end #end-content ul li:nth-child(2) a {
  background-image: url(../img/0_facebook_b.png);
}
#end #end-content ul li:nth-child(2):hover a {
  background-image: url(../img/0_facebook.png);
  background-color: black;
}
#end #end-content #end-reset-button {
  font-family: 'mikadomedium';
  border-bottom: solid 2px;
  color: #a39eb2;
  display: inline-block;
  cursor: pointer;
  opacity: 0;
}
#end #end-cloud-1 {
  background-image: url(../../src/img/11_END_background.png);
  width: 300px;
  height: 100px;
  background-position: -70px -920px, center center;
  margin-right: auto;
  position: relative;
  margin-top: -500px;
  margin-left: -80px;
  -webkit-transform: scale(1.6);
  transform: scale(1.6);
  opacity: 0.1;
}
#end #end-cloud-2 {
  background-image: url(../../src/img/11_END_background.png);
  width: 300px;
  height: 100px;
  background-position: -658px -1178px, center center;
  margin-left: auto;
  position: relative;
  margin-top: 390px;
  opacity: 0.1;
  -webkit-transform: scale(1.6);
  transform: scale(1.6);
}

#ui {
  position: absolute;
  bottom: 9px;
  margin: 30px;
  width: calc(100% - 60px);
  z-index: 4;
  margin-bottom: 0px;
}
#ui * {
  font-family: 'mikadomedium';
}
#ui li {
  line-height: 32px;
  cursor: pointer;
  font-size: 11px;
}
#ui #ui-left {
  float: left;
}
#ui #ui-left li {
  float: left;
  margin: 0px 10px;
}
#ui #ui-left li:nth-child(1) a {
  font-family: 'mikadobold';
  text-decoration: none;
  color: black;
}
#ui #ui-left li:nth-child(3) {
  position: relative;
}
#ui #ui-left li:nth-child(3):after {
  content: "";
  width: 100%;
  position: absolute;
  height: 100%;
  border-bottom: solid;
  margin-left: -100%;
  margin-top: -9px;
}
#ui #ui-left li:nth-child(3):hover:after {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-name: borderHover;
  animation-name: borderHover;
}
#ui #ui-right {
  float: right;
}
#ui #ui-right li {
  float: right;
  margin: 0px 5px;
}
#ui #ui-right li:nth-child(3) {
  cursor: default;
}
#ui #ui-right li:nth-child(1) a, #ui #ui-right li:nth-child(2) a {
  color: black;
  padding: 12px;
  border: solid 2px;
  float: left;
  border-radius: 360px;
  background-position: 5px;
  background-size: 14px;
  background-repeat: no-repeat;
  transition: background-color 0.4s;
}
#ui #ui-right li:nth-child(1) a {
  background-image: url(../img/0_twitter_b.png);
}
#ui #ui-right li:nth-child(1) a:hover {
  background-image: url(../img/0_twitter.png);
  background-color: black;
}
#ui #ui-right li:nth-child(2) a {
  background-image: url(../img/0_facebook_b.png);
}
#ui #ui-right li:nth-child(2) a:hover {
  background-image: url(../img/0_facebook.png);
  background-color: black;
}
#ui #ui-right li:nth-child(5) a {
  background-image: url(../img/0_sound_on.png);
  padding: 12px;
  float: left;
  background-position: 4px;
  background-size: 18px;
  background-repeat: no-repeat;
  margin-top: 3px;
}
#ui #ui-right li:nth-child(5).off a {
  background-image: url(../img/0_sound_off.png);
}

@media screen and (min-width: 1921px) {
  #intro #intro-content {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
  }

  #credits #credits-content {
    max-width: 1120px;
  }
  #credits #credits-content h1 {
    font-size: 45px;
  }
  #credits #credits-content #credits-back-button {
    -webkit-transform: scale(1.4);
    transform: scale(1.4);
  }
  #credits #credits-content h2 {
    font-size: 21px;
  }
  #credits #credits-content h3, #credits #credits-content h3 a {
    font-size: 21px;
    letter-spacing: 1px;
  }

  #end #end-content {
    max-width: 1120px;
  }
  #end #end-content h1:nth-child(1) {
    font-size: 63px;
  }
  #end #end-content h1:nth-child(2) {
    font-size: 63px;
  }
  #end #end-content h2 {
    color: white;
    font-family: mikadomedium;
    font-size: 18px;
  }
  #end #end-content h3 {
    font-size: 25px;
  }
}
@media screen and (orientation: portrait), (max-width: 768px) {
  #error {
    background-color: #2a3257;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 30;
    display: block;
  }
  #error #logo {
    text-align: center;
    margin-top: 50px;
  }
  #error #logo h2 {
    font-family: 'charcuterie_cursiveregular';
    font-size: 30px;
    color: white;
    position: relative;
  }
  #error #logo h1 {
    font-family: 'mikadobold';
    font-size: 45px;
    color: white;
  }
  #error #error-content {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'mikadobold';
    margin-top: 100px;
  }
  #error #error-content h3 {
    color: #a39eb2;
    margin-top: 15px;
    text-align: center;
  }
  #error img {
    margin-left: auto;
    width: 100px;
    margin-right: auto;
    display: inherit;
    margin-top: 35px;
  }
}
@media screen and (max-width: 760px) {
  #intro, canvas, svg, #error {
    display: none !important;
  }

  #errorMobile {
    display: block;
    background-image: url(../../src/img/0_FOND_MOBILE_VERTICAL.jpg);
    background-color: #2a3257;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: 60;
    display: block;
    background-size: cover;
  }
  #errorMobile #logo {
    text-align: center;
    margin-top: 50px;
  }
  #errorMobile #logo h2 {
    font-family: 'charcuterie_cursiveregular';
    font-size: 30px;
    color: white;
    position: relative;
  }
  #errorMobile #logo h1 {
    font-family: 'mikadobold';
    font-size: 45px;
    color: white;
  }
  #errorMobile #error-content {
    width: 300px;
    margin-left: auto;
    margin-right: auto;
    font-family: 'mikadobold';
    margin-top: 30px;
  }
  #errorMobile #error-content * {
    margin-top: 10px;
  }
  #errorMobile #error-content h3 {
    color: #a39eb2;
    margin-top: 15px;
    text-align: center;
  }
  #errorMobile #error-content h3 a {
    color: #ffa87a;
  }
  #errorMobile #error-content h2 {
    text-align: center;
    font-family: 'charcuterie_cursiveregular';
    color: white;
  }
  #errorMobile img {
    margin-left: auto;
    width: 100px;
    margin-right: auto;
    display: inherit;
    margin-top: 35px;
  }
}
@media screen and (max-width: 760px) and (orientation: landscape) {
  #intro, canvas, svg, #error {
    display: none !important;
  }

  body, html {
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
  }

  #intro {
    display: none;
  }

  #error {
    display: none;
  }

  #errorMobile {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-image: url(../../src/img/0_FOND_MOBILE_HORIZONTAL.jpg);
  }
  #errorMobile h2 {
    color: white;
  }
}
#old {
  display: none;
}

body.old #intro, body.old canvas, body.old svg, body.old #error {
  display: none !important;
}
body.old #old {
  display: block;
  background-image: url(../../src/img/0_FOND_MOBILE_VERTICAL.jpg);
  background-color: #2a3257;
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 40;
  display: block;
  background-size: cover;
}
body.old #old #logo {
  text-align: center;
  margin-top: 50px;
}
body.old #old #logo h2 {
  font-family: 'charcuterie_cursiveregular';
  font-size: 30px;
  color: white;
  position: relative;
}
body.old #old #logo h1 {
  font-family: 'mikadobold';
  font-size: 45px;
  color: white;
}
body.old #old #old-content {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'mikadobold';
  margin-top: 190px;
}
body.old #old #old-content * {
  margin-top: 10px;
}
body.old #old #old-content h3 {
  color: #a39eb2;
  margin-top: 15px;
  text-align: center;
}
body.old #old #old-content h3:nth-child(2) {
  margin-top: 15px;
}
body.old #old #old-content h3 a {
  color: black;
}
body.old #old #old-content h2 {
  text-align: center;
  font-family: 'charcuterie_cursiveregular';
  color: white;
}
body.old #old img {
  margin-left: auto;
  width: 100px;
  margin-right: auto;
  display: inherit;
  margin-top: 35px;
}
