@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-image: radial-gradient(#cacaca 20%, transparent 20%), radial-gradient(#cacaca 20%, transparent 20%);
  background-color: #fbf7ec;
  background-position: 0 0, 6px 6px;
  background-size: 12px 12px;
  transition: background-color 1s ease;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #222;
    background-image: radial-gradient(#333 20%, transparent 20%), radial-gradient(#333 20%, transparent 20%);
  }
}

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

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

::-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:9vw;
  top:-12vw;
  background:url(../images/index/titren.png) top center no-repeat;
  background-size: 100% auto;
  position:absolute;
  z-index:1000;
  pointer-events:none;
}

@media (prefers-color-scheme: dark) {
  .titre {
    width:80vw;
    height:40vw;
    left:9vw;
    top:-12vw;
    background:url(../images/index/titreb.png) top center no-repeat;
    background-size: 100% auto;
    position:absolute;
    z-index:1000;
    pointer-events:none;
    transition: background 1s ease-out;
  }
}

.acteurices {
  position:absolute;
  width:80vw;
  height:30vw;
  left: 10vw;
  text-align: center;
  font-family: 'Josefin Slab', serif;
  font-size: 2.4vw;
  color: black;
  top:21vw;
  z-index:100;
}

h1 {
  text-align: left;
  font-family: 'Josefin Slab', serif;
  font-size: 2vw;
  color: black;
}

h2 {
  text-align: justify;
  font-family: 'Josefin Slab', serif;
  font-size: 2vw;
  color: black;
  z-index:100;
  line-height: 3em;
  margin: 2em;
  font-weight: normal;
}

h2 a {
  color: black;
}

h2 a:hover {
  text-decoration: underline;
}

h3 {
  text-align: right;
  font-family: 'Josefin Slab', serif;
  font-size: 1.5vw;
  color: black;
  z-index:100;
  line-height: 3em;
  margin-top: 5em;
  margin-right: 10em;
}

@media (prefers-color-scheme: dark) {
  .acteurices {
    position:absolute;
    width:80vw;
    height:30vw;
    left: 10vw;
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 2.4vw;
    color: white;
    top:21vw;
    transition: color 1s ease-out;
    z-index:100;
  }

  h1 {
    color: white;
  }

  h2 {
    color: white;
  }

  h2 a {
    color: white;
  }

  h3 {
    color: white;
  }
}

.acteurices-recurrents {
  position:absolute;
  width:98vw;
  height:auto;
  left:2vw;
  top:38vw;
  z-index:1000;
}

.guest-stars {
  position:absolute;
  width:98vw;
  height:auto;
  left:2vw;
  top:200vw;
  z-index:1000;
}

.figurants {
  position:absolute;
  width:98vw;
  height:auto;
  left:2vw;
  top:303vw;
  z-index:1000;
}

.landscape figure img {
  width:36vw;
  margin:0; 
}

figure {
  padding:0;
  margin:0;
  list-style-type:none;
  float: left;
  display:inline-block;
  margin-left:20px;
  margin-top: 1vw;
  color: #FFF;
}

figure img {
  width:18vw;
  height:auto;
  filter: saturate(30%);
  transition: all .5s ease-in-out;
}

figure img:hover{
  filter: none;
  transform: scale(1.1);
  transition: all .5s ease-in-out;
}

figcaption {
  text-align: center;
  font-family: 'Josefin Slab', serif;
  font-size: 2vw;
  color: black;
  z-index:100;
}

@media (prefers-color-scheme: dark) {
  figcaption {
    color: white;
  }
}

.figurants figure img {
  width:93vw;
}

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;
}

/* 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: 5150vw;
      margin-bottom: 14em;
      -webkit-overflow-scrolling: touch;
    }

  .navigation{
     margin-top: 1.4em;
     }

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

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

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

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

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

  @media (prefers-color-scheme: dark) {
    .titre {
      width:80vw;
      height:40vw;
      left:9vw;
      top:-12vw;
      background:url(../images/index/titreb.png) top center no-repeat;
      background-size: 100% auto;
      position:absolute;
      z-index:1000;
      pointer-events:none;
      transition: background 1s ease-out;
    }
  }

  .acteurices {
    position:absolute;
    width:80vw;
    height:30vw;
    left: 10vw;
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 5vw;
    color: black;
    top:25vw;
    z-index:100;
  }

  h1 {
    text-align: left;
    font-family: 'Josefin Slab', serif;
    font-size: 5vw;
    color: black;
  }

  h2 {
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 5vw;
    color: black;
    z-index:100;
    line-height: 1.5em;
    margin: 2em;
  }

  h2 a {
    color: black;
  }

  h2 a:hover {
    text-decoration: underline;
  }

  h3 {
    text-align: right;
    font-family: 'Josefin Slab', serif;
    font-size: 4vw;
    color: black;
    z-index:100;
    line-height: 1em;
    margin-top: 5em;
    margin-right: 10em;
  }

    @media (prefers-color-scheme: dark) {
      .acteurices {
        color: white;
      }

      h1 {
        color: white;
      }

      h2 {
        color: white;
      }

      h2 a {
        color: white;
      }

      h3 {
        color: white;
      }
    }


  .acteurices-recurrents {
    position:absolute;
    width:98vw;
    height:auto;
    left:2vw;
    top:75vw;
    z-index:1000;
  }

  .guest-stars {
    position:absolute;
    width:98vw;
    height:auto;
    left:2vw;
    top:2880vw;
    z-index:1000;
  }

  .figurants {
    position:absolute;
    width:98vw;
    height:auto;
    left:2vw;
    top:4900vw;
    z-index:1000;
  }

  .landscape figure img {
    width:90vw;
    margin-top: 1vw;
  }

  figure {
    padding:0;
    margin:0;
    list-style-type:none;
    float: left;
    display:inline-block;
    margin-left:20px;
    margin-top: 5vw;
    color: #FFF;
  }

  figure img {
    width:90vw;
    height:auto;
    filter: none;
    transition: filter .5s ease-in-out;
  }

  figure img:hover{
    filter: none;
    transform: none;
    transition: all .5s ease-in-out;
  }

  figcaption {
    text-align: center;
    font-family: 'Josefin Slab', serif;
    font-size: 2em;
    color: black;
    z-index:100;
  }

  @media (prefers-color-scheme: dark) {
    figcaption {
      color: white;
    }
  }

  .figurants figure img {
    width:93vw;
  }


}
