@import url('https://fonts.googleapis.com/css?family=Bangers');
@import url('https://fonts.googleapis.com/css?family=Permanent+Marker');
@import 'https://fonts.googleapis.com/css?family=Josefin+Slab';

html {
    margin:0;
    padding:0;
    position: relative;
    min-height: 100%;
}

body {
  overflow-x: hidden;
  padding:0;
  height:100%;
    background-color: #222;
  background-image: radial-gradient(#333 20%, transparent 20%), radial-gradient(#333 20%, transparent 20%);
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
  transition: background-color 1s ease;
}

a {
  color: #000;
  text-decoration: none;
}

main {
  height: 398vw;
  margin-bottom: 14em;
  -webkit-overflow-scrolling: touch;
}

::-webkit-scrollbar {
  display: none;
}

#progressbar {
  position: fixed;
  top: 0;
  right: 0;
  width: 7px;
  background: linear-gradient(to top, #fcb045, #fd1d1d, #833ab4);
  border-radius: 0 0 10px 10px;
  z-index: 10000;
}

.titre {
  width:80vw;
  height:40vw;
  left:12vw;
  top:-3vw;
  background:url(../images/fin/titrehell.webp) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  z-index:1000;
  pointer-events:none;
}

.case01 {
  width:98vw;
  height:45vw;
  background:url(../images/page13/case01.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:17vw;
  left:1vw;
  z-index:0;
  pointer-events:none;
}

.faltjp {
  width:8vw;
  height:10vw;
  background:url(../images/page08/faltjp.png) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:.2vw;
  right:.2vw;
  z-index: 10000;
}

.case02 {
  width:98vw;
  height:60vw;
  background:url(../images/page13/case02.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:50vw;
  left:1vw;
  z-index:0;
  pointer-events:none;
}

.case03 {
  width:98vw;
  height:60vw;
  background:url(../images/page13/case03.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:108vw;
  left:1vw;
  z-index:0;
  pointer-events:none;
}

.case04 {
  width:98vw;
  height:60vw;
  background:url(../images/page13/case04.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:166vw;
  left:1vw;
  z-index:0;
  pointer-events:none;
}

.youtube {
  width:70vw;
  height:50vw;
  background:url(../images/page13/episode13.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:232vw;
  left:15vw;
  z-index:0;
}

.case05 {
  width:98vw;
  height:60vw;
  background:url(../images/page13/case05.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:277vw;
  left:1vw;
  z-index:0;
}

.case06 {
  width:98vw;
  height:60vw;
  background:url(../images/page13/case06.jpg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:340vw;
  left:1vw;
  z-index:0;
}

mark {
  background-color: rgba(0, 0, 0, .2);
  padding: .2em;
  color: white;
}

.credits {
  font-size: 1.8vw;
  font-family: 'Josefin Slab', serif;
  color: white;
  padding-left: 1em;
  padding-top: 18em;
  line-height: 1.6em;
  text-align: center;
  width: 95%;
}

.wide {
  display: block;
}

.small {
  display: none;
}

.case07 {
  display: none;
}

.credits h1{
  font-size: 2vw;
  background-color: rgba(0, 0, 0, .2);
}

.credits p{
  margin-top: 3.5em;
}

.credits a:hover {
text-decoration: underline;
color: white;
}

footer
{
width: 100%;
height: 14em;
text-align: center;
position:absolute;
bottom:0;
left:0;
transition: bottom 0.2s ease-in-out;
font-size: 1.1em;
text-align: center;
color: #999;
background-color: #000;
font-family: 'Bangers', cursive;
z-index:100000;
}

footer a {
  color: #fff;
  text-decoration: none;
  transition:color 1s;
}

footer a:hover {
  color: #c72c48;
  text-decoration: none;
  transition: 1s;
}

.codeauthority {
  width:5vw;
  height:7vw;
  background:url(../images/page08/codeauthority.png) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:-4vw;
  right:9vw;
}

.titrebas {
  width:28vw;
  height:16vw;
  top:-8.6vw;
  left:4vw;
  top:-8vw;
  background:url(../images/page08/titren.png) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
}

@media (prefers-color-scheme: dark) {
  .titrebas {
    width:28vw;
    height:16vw;
    top:-8.6vw;
    left:4vw;
    top:-8vw;
    background:url(../images/page08/titreb.png) top center no-repeat;
    background-size: 100% auto;
    position:absolute;
  }
}

.navigation
{
margin-top: 1em;
width:100%;
position:relative;
font-family: 'Josefin Slab', serif;
font-size: 1.5em;
}

.choix {
  display: inline-block;
  vertical-align: middle;
  cursor: pointer;
  margin-left: .5em;
  margin-right: .5em;
  height:3vw;
}

.par {
  font-family: 'Josefin Slab', serif;
  font-size: 1.2em;
}

.par i {
  animation: 1.5s heartThrob infinite;
}

.par a {
  color: #fff;
  font-family: 'Bangers', cursive;
  text-decoration: none;
}

.style {
  font-size: 1em;
  font-family: 'Josefin Slab', serif;
  text-decoration: none;
  margin-top: -.7vw;
}

.previous
{
display: inline;
float: left;
text-align: left;
width:49%;
position:relative;
font-size: 2em;
padding-top: .5em;
padding-bottom: .5em;
}

.previous i
{
padding-left: 2em;
}

.next
{
display: inline;
float: left;
text-align: right;
width:51%;
position:relative;
font-size: 2em;
padding-top: .5em;
padding-bottom: .5em;
}

.next i
{
padding-right: 2em;
}

.framboise {
  width:2vw;
  height:3vw;
  background:url(../images/fruits/framboise.svg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:.2vw;
  right:3.5vw;
  cursor: pointer;
  z-index: 1000;
}

.myrtilles {
  width:2vw;
  height:3vw;
  background:url(../images/fruits/myrtilles.svg) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  top:.2vw;
  right:6vw;
  cursor: pointer;
  z-index: 1000;
}

input[type="checkbox"],
input[type="radio"] {
  position: absolute;
  visibility: hidden;
}

.myrtilles-layout:checked ~ .par i {
  color: #7D9BFF;
  transition: 1s;
}

.framboise-layout:checked ~ .par i {
  color: #c72c48;
  transition: 1s;
}

.myrtilles-layout:checked ~ .navigation a:hover {
  color: #7D9BFF;
}

.framboise-layout:checked ~ .navigation a:hover {
  color: #c72c48;
}

.myrtilles-layout:checked ~ .previous a:hover {
  color: #7D9BFF;
}

.framboise-layout:checked ~ .previous a:hover {
  color: #c72c48;
}

.myrtilles-layout:checked ~ .next a:hover {
  color: #7D9BFF;
}

.framboise-layout:checked ~ .next a:hover {
  color: #c72c48;
}

.myrtilles-layout:checked ~ .par a:hover {
  color: #7D9BFF;
}

.framboise-layout:checked ~ .par a:hover {
  color: #c72c48;
}

.myrtilles-layout:checked ~ .style a:hover {
  color: #7D9BFF;
}

.framboise-layout:checked ~ .style a:hover {
  color: #c72c48;
}

@media (max-width: 1024px) {
   /* CSS appliqué aux petits écrans */

}

@media (max-width: 500px) {
  #progressbar {
    z-index: 1;
  }
 }

@media (max-width: 1024px) and (orientation: landscape) {
   /* CSS appliqué aux petits écrans en format paysage */

}

/* Animations */


@-moz-keyframes heartThrob {
    10% {
        transform:scale(1.15)
    }

    20% {
        transform:scale(1)
    }

    40% {
        transform:scale(1.15)
    }

    60% {
        transform:scale(1)
    }
}

@-webkit-keyframes heartThrob {
    10% {
        transform:scale(1.15)
    }

    20% {
        transform:scale(1)
    }

    40% {
        transform:scale(1.15)
    }

    60% {
        transform:scale(1)
    }
}

@-o-keyframes heartThrob {
    10% {
        transform:scale(1.15)
    }

    20% {
        transform:scale(1)
    }

    40% {
        transform:scale(1.15)
    }

    60% {
        transform:scale(1)
    }
}

@keyframes heartThrob {
    10% {
        transform:scale(1.15)
    }

    20% {
        transform:scale(1)
    }

    40% {
        transform:scale(1.15)
    }

    60% {
        transform:scale(1)
    }
}

@media (max-width: 1024px) {
   /* CSS appliqué aux petits écrans */
   
   main {
     height: 500vw;
   }

   mark {
     background-color: rgba(0, 0, 0, 0);
     padding: .2em;
     color: white;
   }
   
   .case07 {
     display: block;
     width:98vw;
     height:98vw;
     background:url(../images/page13/case07.jpg) top center no-repeat;
     background-size: 100% auto;
     position:absolute;
     top:398.5vw;
     left:1vw;
     z-index:0;
   }
   
   .wide {
     display: none;
   }
   
   .small {
     display: block;
   }

   .credits {
     font-size: 1.2em;
     font-family: 'Josefin Slab', serif;
     color: white;
     padding-left: 20vw;
     padding-top: 14vw;
     line-height: 1em;
     text-align: center;
     width: 50vw;
   }

   .credits h1{
     font-size: 1em;
     background-color: rgba(0, 0, 0, 0);
   }

   .credits p{
     margin-top: .3em;
   }

   .credits a:hover {
   text-decoration: underline;
   color: white;
   }

.navigation
   {
   margin-top: 1.4em;
   }

.codeauthority {
  width:10vw;
  height:14vw;
  top:-8vw;
  right:12vw;
}

.titrebas {
  width:54vw;
  height:32vw;
  left:-5vw;
  top:-15vw;
}

.framboise {
  width:4vw;
  height:5vw;
  top:.2vw;
  right:2vw;
}

.myrtilles {
  width:4vw;
  height:5vw;
  top:.2vw;
  right:6.5vw;
}

}
