@import 'https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900';
@import 'https://fonts.googleapis.com/css?family=Boogaloo';
html,
body {
  background: #17101e;
  font-size: 12px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
  font-family: 'PT sans narrow';
  color: rgba(255,255,255,0.9);
  font-weight: 100;
}
@media screen and (min-width: 320px) {
  html,
  body {
    font-size: calc(12px + 8 * ((100vw - 320px) / 960));
  }
}
@media screen and (min-width: 1280px) {
  html,
  body {
    font-size: 20px;
  }
}
.bullets {
  position: absolute;
  width: 100%;
  top: 30px;
  padding: 0;
  margin: 0;
  text-align: center;
  z-index: 100;
  font-size: 0.5em;
}
.smooth {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
li {
  display: inline-block;
  width: 2vh;
  height: 2vh;
  border-radius: 50%;
  margin: 0 1vh;
  background: rgba(200,169,30,0.7);
  box-shadow: 0px 0px 4px rgba(200,169,30,0.2);
  cursor: pointer !important;
}
li:hover {
  background: rgba(200,55,30,0.7);
  color: rgba(200,169,30,0.7);
}
li.active {
  cursor: default;
  background: #7e0c11;
}
.kontext {
  width: 100%;
  height: 100%;
}
.kontext .layer {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
/*box-shadow: 0px 0px 120px rgba( 0, 0, 0, 0.8 );*/
}
.kontext .layer.show {
  visibility: visible;
}
.kontext.capable {
  -webkit-perspective: 1000px;
  -moz-perspective: 1000px;
  perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.kontext.capable .layer {
  -webkit-transform: translateZ(-100px);
  -moz-transform: translateZ(-100px);
  transform: translateZ(-100px);
}
.kontext.capable .layer.show {
  -webkit-transform: translateZ(0px);
  -moz-transform: translateZ(0px);
  transform: translateZ(0px);
}
.kontext.capable.animate .layer.show.right {
  -webkit-animation: show-right 1s forwards ease;
  -moz-animation: show-right 1s forwards ease;
  animation: show-right 1s forwards ease;
}
.kontext.capable.animate .layer.hide.right {
  -webkit-animation: hide-right 1s forwards ease;
  -moz-animation: hide-right 1s forwards ease;
  animation: hide-right 1s forwards ease;
}
.kontext.capable.animate .layer.show.left {
  -webkit-animation: show-left 1s forwards ease;
  -moz-animation: show-left 1s forwards ease;
  animation: show-left 1s forwards ease;
}
.kontext.capable.animate .layer.hide.left {
  -webkit-animation: hide-left 1s forwards ease;
  -moz-animation: hide-left 1s forwards ease;
  animation: hide-left 1s forwards ease;
}
/* CSS animation keyframes */
@-webkit-keyframes show-right {
  0% {
    -webkit-transform: translateZ(-200px);
  }
  40% {
    -webkit-transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    -webkit-transform: translateZ(0px);
  }
}
@-webkit-keyframes hide-right {
  0% {
    -webkit-transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    -webkit-transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    -webkit-transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-moz-keyframes show-right {
  0% {
    -moz-transform: translateZ(-200px);
  }
  40% {
    -moz-transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    -moz-transform: translateZ(0px);
  }
}
@-moz-keyframes hide-right {
  0% {
    -moz-transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    -moz-transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    -moz-transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-webkit-keyframes show-left {
  0% {
    -webkit-transform: translateZ(-200px);
  }
  40% {
    -webkit-transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    -webkit-transform: translateZ(0px);
  }
}
@-webkit-keyframes hide-left {
  0% {
    -webkit-transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    -webkit-transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    -webkit-transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-moz-keyframes show-left {
  0% {
    -moz-transform: translateZ(-200px);
  }
  40% {
    -moz-transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    -moz-transform: translateZ(0px);
  }
}
@-moz-keyframes hide-left {
  0% {
    -moz-transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    -moz-transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    -moz-transform: translateZ(-200px);
    visibility: hidden;
  }
}
/* Dimmer */
.kontext .layer .dimmer {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  visibility: hidden;
  background: transparent;
}
.kontext.capable.animate .layer .dimmer {
  -webkit-transition: background 1s ease;
  -moz-transition: background 1s ease;
  transition: background 1s ease;
}
.kontext.capable.animate .layer.hide .dimmer {
  visibility: visible;
  background: rgba(0,0,0,0.7);
}
/* Styles for the demo */
@import 'https://fonts.googleapis.com/css?family=Catamaran:100,200,300,400,500,600,700,800,900';
@import 'https://fonts.googleapis.com/css?family=Boogaloo';
a {
  color: #eee;
  font-weight: normal;
  text-decoration: none;
}
.layer {
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
}
h1 {
  font-family: 'Boogaloo', cursive;
  font-weight: normal;
  font-size: 1.3em;
  padding-top: 5vh;
  z-index: 500;
  width: 100%;
  margin-right: 5vw;
  text-align: left;
}
h2 {
  font-family: 'Boogaloo', cursive;
  font-weight: normal;
  padding-top: 5vh;
  font-size: 1.4em;
  z-index: 500;
  text-align: left;
  margin-left: 5vw;
}
h3 {
  font-size: 0.8em;
  padding-top: 3em;
  font-weight: normal;
  text-align: left;
  width: 50vw;
  left: 48vw;
}
a {
  text-decoration: none;
  color: #fff;
}
a:hover {
  color: #7f0c12;
}
small {
  font-size: 0.6em;
  color: rgba(255,255,255,0.5);
  font-weight: normal;
}
section {
  display: block;
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
}
.pb-pattern {
  width: 100vw;
  height: 100vh;
}
.title {
  font-family: 'Boogaloo', cursive;
  font-size: 1.5em;
  font-style: italic;
  padding: 1em 0vw 0.2em 0;
  color: #c8a91e;
  font-weight: bold;
}
.dates {
  font-size: 0.9em;
  line-height: 1.1;
  text-align: left;
  margin-left: 5vw;
}
.right {
  text-align: right;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
  margin-left: 2vw;
}
.left {
  text-align: left;
  text-shadow: 1px 1px 0px rgba(0,0,0,0.1);
  margin-left: $marginleft;
}
.txt {
  position: relative;
  display: block;
  float: left;
  width: 70vw;
  max-width: 500px;
  left: 5vw;
  padding-top: 2em;
  text-align: justify;
  font-size: 1em;
  line-height: 1.8em;
}
.extrait {
  position: relative;
  display: block;
  float: left;
  width: 90vw;
  left: 5vw;
  padding-top: 1em;
  text-align: justify;
  font-size: 1em;
  line-height: 1.4em;
  max-width: 400px;
}
a.suite {
  display: block;
  float: right;
  position: relative;
  z-index: 100;
  font-style: italic;
  font-size: 0.8em;
  text-align: left;
  z-index: 500;
  margin-right: 0;
}
a.suite:after {
  content: ' ▸';
}
.credit,
.photo {
  display: block;
  position: fixed;
  font-weight: normal;
  bottom: 2vh;
  z-index: 100;
  font-size: 0.7em;
}
.photo {
  float: left;
  left: 2vw;
  margin-right: 2vw;
  text-align: left;
  color: rgba(255,255,255,0.5);
}
.credit {
  float: right;
  right: 5vw;
  text-align: left;
  color: rgba(200,169,30,0.8);
  font-weight: normal !important;
  letter-spacing: 1px;
}
em {
  font-style: italic;
}
iframe {
  height: 65vh;
}
.layer.one {
  background: #17101e;
}
.layer.two {
  background: #17101e;
}
.layer.three {
  background: #64b9d2;
}
.i-button {
  height: 20px;
  width: 20px;
  line-height: 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #000;
}
.tooltip {
  position: fixed;
  margin: 0 0 0 10px;
  padding: 10px;
  background: #ffa500;
  color: #000;
  display: none;
  pointer-events: none;
  transform: translate(-50%, -100%);
}
.tooltip.show {
  display: block;
}
.tooltip:before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -10px;
  border: 10px solid transparent;
  border-top-color: #ffa500;
}
.textshadow {
  text-shadow: 1px 1px 1px #555;
}
.share {
  position: absolute;
  bottom: 20px;
  left: 24px;
  margin: 0;
  z-index: 1;
  font-size: 0.9e;
}
.retour a,
.retour2 a,
.retour3 a,
.retour4 a,
.retour5 a {
  position: absolute;
  font-size: 1.2vh;
  font-weight: normal;
  top: 15px;
  height: 30px;
  text-align: left;
  margin: 0;
  z-index: 100;
  color: #656153;
}
.retour a:hover,
.retour2 a:hover,
.retour3 a:hover,
.retour4 a:hover,
.retour5 a:hover {
  color: #d63d40;
}
.retour a {
  float: right;
  left: 50px;
}
.retour2 a {
  right: 50px;
}
.retour3 a {
  right: 110px;
}
.retour4 a {
  right: 250px;
}
.retour5 a {
  right: 320px;
}
@media screen and (max-width: 320px) {
  .layer h2 {
    letter-spacing: 1px;
  }
  section {
    width: 98%;
    left: 0;
  }
  .text,
  .extrait {
    width: 88%;
    padding-top: 0;
  }
  .retour,
  .retour2,
  .retour3,
  .retour4,
  .retour5 {
    visibility: hidden;
  }
}
@media screen and (min-width: 321px) {
  section {
    width: 98%;
    left: 0%;
  }
  .retour {
    visibility: visible;
  }
}
@media screen and (mix-width: 600px) {
  .layer h2 {
    letter-spacing: 1px;
  }
  .bullets {
    top: 50px;
  }
  .section {
    width: 80vw;
    right: 10vw;
  }
  .retour2,
  .retour3,
  .retour4,
  .retour5 {
    visibility: visible;
  }
}
@media screen and (min-width: 1280px) {
  .bullets {
    top: 30px;
  }
}
@-moz-keyframes show-right {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@-webkit-keyframes show-right {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@-o-keyframes show-right {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@keyframes show-right {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@-moz-keyframes hide-right {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-webkit-keyframes hide-right {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-o-keyframes hide-right {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@keyframes hide-right {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-moz-keyframes show-left {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@-webkit-keyframes show-left {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@-o-keyframes show-left {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@keyframes show-left {
  0% {
    transform: translateZ(-200px);
  }
  40% {
    transform: translate(-40%, 0) scale(0.8) rotateY(20deg);
  }
  100% {
    transform: translateZ(0px);
  }
}
@-moz-keyframes hide-left {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-webkit-keyframes hide-left {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@-o-keyframes hide-left {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
@keyframes hide-left {
  0% {
    transform: translateZ(0px);
    visibility: visible;
  }
  40% {
    transform: translate(40%, 0) scale(0.8) rotateY(-20deg);
  }
  100% {
    transform: translateZ(-200px);
    visibility: hidden;
  }
}
