@font-face {
  font-family: 'angelic_peaceregular';
  src: url('../../fonts/angelic_peace-webfont.woff2') format('woff2'),
    url('../../fonts/angelic_peace-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'cantiquenormal';
  src: url('../../fonts/cantique-normal-webfont.woff2') format('woff2'),
    url('../../fonts/cantique-normal-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

span,
.titleindex,
.fairy {
  pointer-events: none;
}

#headline {
  font-family: 'angelic_peaceregular', OCR A Std, verdana;
  font-size: 50px;
  text-shadow: 8px 8px 14px darkslateblue;
  color: aliceblue;
  display: block;
  text-align: center;
  position: fixed;
  margin-left: 50px;
  margin-right: 50px;
  top: 45vh;
  transition: width .75s ease-out;
  width: 650px;
}

.index #headline,
.page1 #headline {
  width: calc(100vw - 100px);
  top: 45vh;
}

.page1 #replacedContent {
  position: fixed;
  top: 55vh;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: space-around;
}

audio {
  display: none;
}

a:hover, a:visited, a:link, a:active {
  text-decoration: none;
  color: azure;
  text-shadow: 4px 4px 8px darkorchid;
}

a:hover {
  text-shadow: 4px 4px 8px greenyellow;
}

.links {
  margin-left: 1rem;
}

.links a {
  margin: 1em;
  display: block;
}

.disclaimer {
  display: none;
}

body {
  background-color: powderblue;

  /* Le fond de la page sera noir */
  color: mintcream;
  /* Le texte de la page sera blanc */
  font-family: cantiquenormal, OCR A Std, verdana;
  font-size: 21px;
  text-shadow: 4px 4px 8px blueviolet;
  /*background-attachment: fixed;*/
  /* background-image: url("image/testbackground.png"); */
  background-size: cover;
  line-height: 2.5;
}

main {
  width: 35rem;
  margin: 0 3rem 0 auto;
  padding: 1rem 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.index #headline {
  visibility: hidden;
}

body::before {
  content: "";
  background-image: url("/see-us-going-places/are-you-ready-to-escape/testbackground.png");
  background-size: cover;
  background-position: fixed;
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  opacity: 1;
  z-index: -100;
  -webkit-transition: opacity 1.25s 0s ease;
  -moz-transition: opacity 1.25s 0s ease;
  -o-transition: opacity 1.25s 0s ease;
  transition: opacity 1.25s 0s ease;
}

body.transition::before {
  opacity: 0;
}

.index {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page1 .links
.index .links {
  display: flex;
  justify-content: space-around;
}

.page2::before {
  background-image: url("image/6.png");
  background-attachment: fixed;
  background-size: cover;
}

.page5::before {
  background-image: url("image/3.1.png");
}

.page9::before {
  background-image: url("image/7.png");
}

.page11::before {
  background-image: url("image/fondonze.png");
}

.page13::before {
  background-image: url("image/no13.png");
}

.page14::before {
  background-image: url("image/p14.png");
}

.page17::before {
  background-image: url("image/backl3.2.png");
}

.page18::before {
  background-image: url("image/eau.png");
}

.page20::before {
  background-image: url("image/no20.png");
}

.page21::before {
  background-image: url("image/faeld.png");
}

.page22::before {
  background-image: url("image/ih.png");
}

.page23::before {
  background-image: url("image/4_2.png");
}

.page24::before {
  background-image: url("image/t31.png");
  background-attachment: fixed;
}

.page25::before {
  background-image: url("image/222.png");
}

.page26::before {
  background-image: url("image/fv.png");
}

.page27::before {
  background-image: url("image/rir.png");
}

/*fade in anim*/
.fade-in {
  -webkit-animation: fade-in 2.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
  animation: fade-in 2.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-10 18:46:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/**delay anim fadein*/
/*fade in anim*/
.fade-in1 {
  -webkit-animation: fade-in 3.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
  animation: fade-in 3.6s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-10 18:46:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.fade-in2 {
  -webkit-animation: fade-in 4.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
  animation: fade-in 4.8s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-10 18:46:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.fade-in3 {
  -webkit-animation: fade-in 6.12s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
  animation: fade-in 6.12s cubic-bezier(0.390, 0.575, 0.565, 1.000) infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-10 18:46:38
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/*wavy text*/
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.waviy {
  position: relative;
  -webkit-box-reflect: below -20px linear-gradient(transparent, rgba(0, 0, 0, .2));
}

.waviy span {
  position: relative;
  display: inline-block;
  font-size: 40px;
  color: #fff;
  text-transform: uppercase;
  animation: waviy 2s infinite;
  animation-delay: calc(.2s * var(--i))
}

@keyframes waviy {
  0%, 40%, 100% {
    transform: translateY(0)
  }

  20% {
    transform: translateY(-20px)
  }
}

/*fairy anim*/
.fairy {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  margin: -150px 0 0 -150px;
  position: absolute;
  perspective: 250px;
  animation: flying 12s linear infinite;
}

.sparkle {
  height: 3px;
  width: 3px;
  background: #FFAFB1;
  position: absolute;
  border-radius: 100px;
  opacity: 0;
  z-index: 100;

  // if you're bored, do these nth child elements with a sass loop
  &:nth-child(1) {
    top: -20px;
    left: 15px;
  }

  &:nth-child(2) {
    top: 3px;
    left: 60px;
  }

  &:nth-child(3) {
    top: 60px;
    left: 50px;
  }

  &:nth-child(4) {
    top: 68px;
    left: 16px;
  }

  &:nth-child(5) {
    top: 50px;
    left: 0px;
  }
}

@for $i from 1 through 5 {
  .sparkle:nth-child(#{$i}) {
    // using loop for staggered animation
    animation: sparkling .8s ease-in-out $i * .2s infinite;
  }
}

.wings {
  position: relative;
  top: 50%;
  left: 50%;
  width: 144px;
  height: 114px;
  margin: -87px 0 0 -72px;

  &:before, &:after {
    content: "";
    width: 64px;
    height: 114px;
    top: 50%;
    left: 50%;
    margin: -57px 0 0 -72px;
    position: absolute;
    transform-origin: right;
    animation: flapping-left 0.2s ease-in-out infinite;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wing-left.svg') no-repeat;
  }

  &:after {
    left: auto;
    right: 50%;
    margin: -57px -72px 0 0;
    transform-origin: left;
    animation: flapping-right 0.2s ease-in-out infinite;
    background: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/85486/wing-right.svg') no-repeat;
  }
}

//Animations
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 20px 5px rgba(239, 145, 145, 0.9),
      0 0 30px 20px rgba(195, 66, 102, 0.8);
  }

  50% {
    box-shadow: 0 0 30px 7px rgba(239, 145, 145, 0.9),
      0 0 35px 22px rgba(195, 66, 102, 0.8);
  }
}

@keyframes sparkling {
  0%, 100% {
    transform: scale3d(0, 0, 1);
    opacity: 0;
  }

  25%, 75% {
    opacity: 1;
  }

  50% {
    transform: scale3d(1, 1, 1);
    opacity: 0;
  }
}

@keyframes flapping-left {
  0%, 100% {
    transform: rotateX(-15deg) rotateY(-45deg);
  }

  50% {
    transform: rotateX(-10deg) rotateY(-20deg);
  }
}

@keyframes flapping-right {
  0%, 100% {
    transform: rotateX(-15deg) rotateY(45deg);
  }

  50% {
    transform: rotateX(-10deg) rotateY(20deg);
  }
}

@keyframes flying {
  0% {
    transform: rotate(50deg) translateX(0px) rotate(-50deg) scale(0.75);
  }

  50% {
    transform: rotate(180deg) translateX(80px) rotate(-180deg) scale(.9);
  }

  100% {
    transform: rotate(360deg) translateX(0px) rotate(-360deg) scale(0.75);
  }
}

/*animated border*/
.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container .box {
  position: relative;
  width: 400px;
  height: 500px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-box-reflect: below 15px linear-gradient(transparent, transparent, rgba(0, 0, 0, .2));
}

.container .box:hover {
  color: #000;
}

.container .box:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  border: 4px solid #fff;
  background: #000;
  filter: url(#wavy);
}

.container .box:hover:before {
  background: #fff;
  transition: 0.5s;
}

.container .box .content {
  position: absolute;
  padding: 20px;
  text-align: center;
  transition: 0.5s;
  font-size: 15px;
}

.container .box:after {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  width: 50%;
  height: 100%;
  border: 4px solid #fff;
  border-right: none;
  background: rgba(255, 255, 255, .1);
  filter: url(#wavy);
}

svg {
  width: 0;
  height: 0;
}

/** pullin text**/
.puff-in-tl {
  -webkit-animation: puff-in-tl 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
  animation: puff-in-tl 0.7s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-16 18:47:29
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation puff-in-tl
 * ----------------------------------------
 */
@-webkit-keyframes puff-in-tl {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

@keyframes puff-in-tl {
  0% {
    -webkit-transform: scale(2);
    transform: scale(2);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-filter: blur(4px);
    filter: blur(4px);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    -webkit-filter: blur(0px);
    filter: blur(0px);
    opacity: 1;
  }
}

/**shakyanim**/
.shakeh:hover {
  -webkit-animation: shake-horizontal 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) 0s infinite both;
  animation: shake-horizontal 1s cubic-bezier(0.455, 0.030, 0.515, 0.955) 0s infinite both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-5-17 9:57:53
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */
/**
 * ----------------------------------------
 * animation shake-horizontal
 * ----------------------------------------
 */
@-webkit-keyframes shake-horizontal {

  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  20%,
  40%,
  60% {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
  }

  80% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  90% {
    -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
  }
}

@keyframes shake-horizontal {

  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-5px);
    transform: translateX(-5px);
  }

  20%,
  40%,
  60% {
    -webkit-transform: translateX(5px);
    transform: translateX(5px);
  }

  80% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }

  90% {
    -webkit-transform: translateX(-4px);
    transform: translateX(-4px);
  }
}

/** cursor**/
div {
  cursor: crosshair;
}

button {
  cursor: pointer;
}

#mute {
  background: none;
  border: none;
  position: fixed;
  top: 0;
  right: 0;
  padding: .5rem;
}

#mute svg {
  display: initial;
  width: 3rem;
  height: 3rem;
  filter: drop-shadow(8px 8px 14px darkslateblue);
  fill: aliceblue;
}

#mute .path-mute {
  display: none;
}

#mute.muted .path-mute{
  display: initial;
}
#mute.muted .path-unmute {
  display: none;
}

.visually-hidden {
  display: none;
}

.startButton {
  font-family: 'angelic_peaceregular', OCR A Std, verdana;
  font-size: 7rem;
  text-shadow: 8px 8px 14px darkslateblue;
  color: aliceblue;
  background: none;
  border: none;
}

.fade-out {
	-webkit-animation: fade-out 500ms ease-out both;
	        animation: fade-out 500ms ease-out both;
}

/* ----------------------------------------------
 * Generated by Animista on 2022-6-20 18:46:7
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-out
 * ----------------------------------------
 */
@-webkit-keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes fade-out {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


/* ----------------------------------------------
 * Generated by Animista on 2022-6-20 18:47:52
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation fade-in
 * ----------------------------------------
 */
@-webkit-keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.fade-in {
	-webkit-animation: fade-in 250ms cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
	        animation: fade-in 250ms cubic-bezier(0.470, 0.000, 0.745, 0.715) both;
}
