
@font-face {
  font-family: 'Dinamit Light';
  src: url('../fonts/Dinamit-Light.eot')format('eot');
  src: url('../fonts/Dinamit-Light.eot') format('embedded-opentype'),
      url('../fonts/Dinamit-Light.woff2') format('woff2'),
      url('../fonts/Dinamit-Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Dinamit Regular';
  src: url('../fonts/Dinamit-Regular.eot')format('eot');
  src: url('../fonts/Dinamit-Regular.eot') format('embedded-opentype'),
      url('../fonts/Dinamit-Regular.woff2') format('woff2'),
      url('../fonts/Dinamit-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Dinamit Medium';
  src: url('../fonts/Dinamit-Medium.eot') format('eot');
  src: url('../fonts/Dinamit-Medium.eot') format('embedded-opentype'),
      url('../fonts/Dinamit-Medium.woff2') format('woff2'),
      url('../fonts/Dinamit-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}


.item-description,
.item-stats {
  display: none;
}

html {
  font-size: 30px;
}

body {
  background-color: rgb(255, 255, 200);
  font-family: 'Dinamit Regular';
  overflow: hidden;
}
nav {
  position: fixed;
  z-index: 100;
}

/*.Gère la dispotion et le style des menus*/
.NavigationsideLeft {
  color:black;
  font-family: 'Dinamit Regular';
  text-transform: uppercase;
  font-size: 1.5em;
  margin: 0;
  padding: 0.5vw;

  position: absolute; /* Position them relative to the browser window */
  top: 50%;
  left: 15px;
  text-align: center;
  transform: rotate(-90deg) translate(-50%, 0);
  z-index: 200;
  transform-origin: left top;

  background-color: rgb(255, 255, 255);
  border-radius: 25px;
  mix-blend-mode:difference;
  
}


.NavigationsideRight {
  color: black;
  font-family: 'Dinamit Regular';
  font-size: 1.5em;
  text-transform: uppercase;
  margin: 0;
  padding: 0.5vw;
  position: absolute; /* Position them relative to the browser window */
  top: 50%;
  right: 15px;
  text-align: center;
  transform: rotate(90deg) translate(50%, 0);
  z-index: 200;
  transform-origin: right top;

  background-color: rgb(255, 255, 255);
  border-radius: 25px;
  mix-blend-mode:difference;
}

.NavigationsideTop {
  color: grey;
  font-family: 'Dinamit Regular';
  font-size: 1.5em;
  text-transform: uppercase;
  margin: 0;
  padding: 0.5vw;
  position: absolute; /* Position them relative to the browser window */
  top: 4%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);
  text-align:center;
  z-index: 200;
  
  background-color: rgb(255, 255, 255);
  border-radius: 25px;
  mix-blend-mode:difference;
}

.NavigationsideBottom {
  color: black;
  font-family: 'Dinamit Regular';
  font-size: 1.5em;
  text-transform: uppercase;
  margin: 0;
  padding: 0.5vw;
  position: absolute; /* Position them relative to the browser window */
  top: 96%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);
  text-align:center;
  z-index: 200;
  
  background-color: rgb(255, 255, 255);
  border-radius: 25px;
  mix-blend-mode:difference;
  
}

.nav-button {
  cursor: pointer;
}

.nav-button:hover {
  color: white;
  border-radius: 25px;
  padding: 0.5vw;
  background-color: black;
}

li {
  cursor: pointer;
}
li:hover {
  color: white;
}


h1 {
font-size: 13.5vw;
margin: 0;
padding: 0;
text-align: center;
text-transform: uppercase;

font-family: 'Dinamit Regular';
position: absolute;
top: 50%;
left: 50%;
transform: translatex(-50%) translateY(-50%);
mix-blend-mode: hue;
animation: title-animation 15s ;

filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.trailer :hover {
  opacity: 0%;
}


@keyframes title-animation {

 0%{
  opacity: 0%;
 }

 50%{
  opacity: 0%; 
 }

 100%{
  opacity: 100%; 
 }
}





h2 {
  font-size: 1.5rem;
  text-align: center;
  color:white;
  text-transform: uppercase;
  font-family: 'Dinamit Regular';
  font-weight: bold;

  
  padding: 0.5vw;
  border: 2px solid white;
  border-radius: 25px;
  position: absolute; /* Position them relative to the browser window */
  top: 4%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);
  z-index: 2;

  } 

.h2bottom {
    position: absolute;
    margin: 0;
    padding: 0;
    top: 95%;
    left:50%;
    transform: translatex(-50%) translateY(-50%);

    padding: 0.5vw;
    border: 2px solid white;
    border-radius: 25px;
  }

  
h3 {
  font-size: .75rem;
  text-align: justify;
  font-family:'Dinamit Regular';
  color: white;
  margin: 7rem 7rem;
}

/* Permet de créer des ligne de separation en écrivant <hr/> entre les lignes*/
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*.contenu gère la dispotion des zones*/
.contenu {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 0%;
  left: 0%;

  width: 300vw;
  height: 300vh;
  background-color: white;
  transition: transform 0.8s ease-in-out;
}

.case {
  position: relative;
  /* display: none; */
  width: calc(100% / 3);
  height: calc(100% / 3);
  overflow: hidden;
}

.case-1 {

  background-image: linear-gradient(to right, #F90000,rgb(59, 27, 53), darkgrey,rgb(83, 83, 83), #F90000);
   /*radial-gradient(0deg, rgba(0, 255, 0, 0.25) 50%, rgba(0, 0, 255, 0.5));
  background-position: 50% 50%, 0 0;
  background-size: 100% 100%, 40% 40%;*/
  overflow: none;

 
}
.case-2 {
  background-image: radial-gradient(#847E96, #EBE26E, #FE4815, #f0f);
  
}
.case-3 {
  background-image: linear-gradient(to right, #F90000, rgb(212, 119, 119),rgb(184, 78, 78), #F90000);
  overflow: scroll;
}
.case-4 {
  background-color:  #FE4815;
  
  overflow: auto;
}

.case-5 {
  background-color: rgba(0, 50, 0, 1);
}

.case-6 {
  background-color:  #FE4815;
  overflow: scroll;
}

.case-7 {
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
  height: initial;

  overflow: auto;
}

.case-8 {
  background-image: radial-gradient(#847E96, #EBE26E, #FE4815, #f0f);
}

.case-9 {
  background-image: radial-gradient(#847E96, rgb(110, 206, 235), rgb(56, 21, 254), rgb(22, 21, 68));
  background-size: 300%;
  overflow: scroll;


  animation: bganimation_nine 30s infinite;
}

@keyframes bganimation_nine {

 0%{
   background-position: 0% 50%; 
 }

 50%{
   background-position: 100% 50%; 
 }

 100%{
   background-position: 0% 50%; 
 }
}

.pos1 {
  transform: translate(calc(-100%/3 * 0), calc(-100%/3 * 0));
}
.pos2 {
  transform: translate(calc(-100%/3 * 1), calc(-100%/3 * 0));
}
.pos3 {
  transform: translate(calc(-100%/3 * 2), calc(-100%/3 * 0));
}

.pos4 {
  transform: translate(calc(-100%/3 * 0), calc(-100%/3 * 1));
}

.pos5 {
  transform: translate(calc(-100%/3 * 1), calc(-100%/3 * 1));
}

.pos6 {
  transform: translate(calc(-100%/3 * 2), calc(-100%/3 * 1));
}

.pos7 {
  transform: translate(calc(-100%/3 * 0), calc(-100%/3 * 2));
}

.pos8 {
  transform: translate(calc(-100%/3 * 1), calc(-100%/3 * 2));
}

.pos9 {
  transform: translate(calc(-100%/3 * 2), calc(-100%/3 * 2));
}




#marble {
  filter: exclusion(50);
  overflow: hidden;
  color: #FE4815;

}

/* Case-1 Video*/

.history-video {
  min-width: 100%;
  max-height: 100%; 

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);
}




/* Case-2 Menu Carousel */

.carousel-size {
  /* transform: scale(2.3, 2.3); */
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container-carousel {
  width: 60vmin;
  height: 33vmin;
  position: relative;
  perspective: 1000px;

  font-family:'Dinamit Regular';
}

.carousel {
  height: 90%;
  width: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 1s;

}


.item-carousel {
  display: block;
  position: absolute;
  background: lightgray;
  width: 100%;
  height: 100%;

  line-height: 1.2em;
  font-size: .3em;
  text-align: center;
  color: white;
  opacity: 1;
  border: 1px solid white;
  border-radius: 25px;
  padding-top: 15px;
  padding-bottom: 10px;

  overflow: scroll;
}

.item-carousel span {
  color: white;
  text-transform: uppercase;
  font-size: 1.2vw;
  line-height: 120%;
  position: relative;
  margin-bottom: 5px;
}



.item-carousel-text {
  font-size: .65vw;
  line-height: 130%;
  text-align: left;

  padding-top: 2%;
  padding-left: 4%;
  padding-right: 4%;
  padding-bottom: 4%;
  height: auto;
  column-count: 1;
  column-gap: 18px;
  
  overflow: scroll;
  hyphens: auto;
}

.container-carousel-layout {
  /*background-color: pink;*/
  display: flex;
  flex-direction: row;
}

.container-carousel-layout-row {
  display: row;
  column-count: 2;
}

.carousel-layout1 {
  
  flex: 2;
  
}

.carousel-layout2{

  flex: 1;  
  overflow: hidden;
}


.carousel-layout2 img {
  flex: 1;
  mix-blend-mode: difference; 
  filter:drop-shadow(2px 2px 2px rgb(0, 255, 157)) invert(0%);
}

.carousel-layout3 {
  column-count: 0;
  width: 100%;
}

.carousel-layout4{
  /*background-color: blue;*/
  flex: 1;
  margin: .5%;
}

.carousel-layout4 img {
  flex: 1;
  mix-blend-mode: difference; 
  filter:drop-shadow(2px 2px 2px rgb(0, 255, 157)) invert(0%);
}

.carousel-layout1 p {
  column-count: 1;
  background-color: white;
  font-size: .65vw;
  margin-top: 2%;
  margin-bottom: 2%;
  text-transform: uppercase;
 
  padding-top: .5%;
  padding-bottom: .25%;
  padding-left: 2%;
  color: red;
  border-radius: 5px;

  mix-blend-mode: lighten;
}




.carousel-layout3 p {
  column-count: 1;
  background-color: white;
  font-size: .65vw;
  margin-top: 2%;
  margin-bottom: 2%;
  text-transform: uppercase;
 
  padding-top: .5%;
  padding-bottom: .25%;
  padding-left: 2%;
  color: red;
  border-radius: 5px;

  mix-blend-mode: lighten;
}

.carousel-layout4 p {
  column-count: 1;
  background-color: white;
  font-size: .65vw;
  margin-top: 2%;
  margin-bottom: 2%;
  text-transform: uppercase;
 
  padding-top: .5%;
  padding-bottom: .25%;
  padding-left: 2%;
  color: red;
  border-radius: 5px;

  mix-blend-mode: lighten;
}


.item-carousel-img {

  border-radius: 5px;
}

/*placement et agrandissement des imgs dans le carousel avec des id*/

#daily-news {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%); 

  max-width: 83%;
  height: auto;
}

#opg-doc1 {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 93%;
  height: auto;
}

#GreenH-Dog {
  position: relative;
 
  margin-bottom: 5%;
  max-width: 93%;
  height: auto;
}

#GreenH-Easy {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 95%;
  height: auto;
}


#GreenH-George {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 95%;
  height: auto;
}

#GreenH-Item {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 93%;
  height: auto;
}


#cctv-cam {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 95%;
  height: auto;
}


#eniwetok-before {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 95%;
  height: auto;
}

#eniwetok-after {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

  max-width: 95%;
  height: auto;
}


.a {
  transform: rotateY(0deg) translateZ(59vmin);
  background: grey;
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
}
.b {
  transform: rotateY(60deg) translateZ(59vmin);
  background: grey;
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
}
.c {
  transform: rotateY(120deg) translateZ(59vmin);
  background: grey;
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
}
.d {
  transform: rotateY(180deg) translateZ(59vmin);
  background: grey;
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
}
.e {
  transform: rotateY(240deg) translateZ(59vmin);
  background: grey;
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
} 
.f {
  transform: rotateY(300deg) translateZ(59vmin);
  background: grey;
  background-image: linear-gradient( #FE4815, rgb(167, 26, 167));
}

.next, .prev {
  color: white;
  font-family: 'Dinamit Light';
  text-transform: uppercase;
  font-size: 0.75em;

  position: absolute;
  bottom: 80px;
  padding: .5em .5em;
  cursor: pointer;
  background: none;
  border: 2px solid white;
  border-radius: 25px;

  font-family:'Dinamit Regular';
}

.next:hover, .prev:hover { 
  color: black; 
  background: white;
}

.next:active, .prev:active {
  bottom: 84px;
  box-shadow: 0 1px 0 #999;
}
.next { right: 15.25vw; }

.prev { left: 15.25vw; }

/* Taille du Panorama de Photography - Scroll vertical*/
.photo-panorama {
  position: relative;
  top: 0%;
  left: 0%;
  height: 100%;
  width: 200%;

  overflow: hidden;
}



/* Taille du Panorama de Flora - Scroll horizontal*/
.flora-panorama {
  position: relative;
  top: 0%;
  left: 0%;
  height: 100vh;
  width: 150%;

  overflow: hidden;
}


/* Taille du Panorama de Flora - Scroll horizontal*/
.fauna-panorama {
  position: relative;
  top: 0%;
  left: 0%;
  height: 150%;
  width: 100vw;

  overflow: hidden;
}



/*Case-3 overlapping images */

.imagebomb1 {
  z-index: 2;
  position: absolute; 
  top: 8%;
  left: 5%;

  max-width: 150%;
  scale: 120%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imagebomb1:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imagebomb2 {
  z-index: 3;
  position: absolute; 
  top: 30%;
  left: 25%;

  max-width: 150%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imagebomb2:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imagebomb3 {
  z-index: 2;
  position: absolute; 
  top: 50%;
  left: 30%;

  max-width: 150%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imagebomb3:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}


.imagebomb4 {
  z-index: 1;
  position: absolute; 
  top: 10%;
  left: 40%;

  max-width: 50%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imagebomb4:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imagebomb5 {
  z-index: 2;
  position: absolute; 
  top: 20%;
  left: 60%;

  max-width: 20%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imagebomb5:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}



.imagebomb6 {
  z-index: 2;
  position: absolute; 
  top: 0%;
  right: 0%;

  max-width: 80%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imagebomb6:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

/*Case-7 overlapping images */

.imageplante1 {
  z-index: 2;
  position: absolute; 
  top: -15%;
  left: 25%;

  max-width: 100%;
  scale: 50%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante1:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageplante2 {
  z-index: 3;
  position: absolute; 
  top: 0%;
  left:-5%;

  max-width: 150%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante2:hover {
  opacity: 100%;
  mix-blend-mode: lighten;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageplante3 {
  z-index: 2;
  position: absolute; 
  top: 50%;
  left: 15%;

  max-width: 150%;
  height: auto;

  opacity: 10%;
  mix-blend-mode: multiply;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante3:hover {
  opacity: 100%;
  mix-blend-mode: multiply;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}


.imageplante4 {
  z-index: 1;
  position: absolute; 
  top: 0%;
  left: 40%;

  max-width: 20%;
  height: auto;

  opacity: 10%;
  mix-blend-mode: lighten;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante4:hover {
  opacity: 100%;
  mix-blend-mode: lighten;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageplante5 {
  z-index: 2;
  position: absolute; 
  top: 0%;
  left: 60%;

  max-width: 20%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante5:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}



.imageplante6 {
  z-index: 2;
  position: absolute; 
  top: 60%;
  right: 30%;

  max-width: 20%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante6:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageplante7 {
  z-index: 2;
  position: absolute; 
  top: 20%;
  right:-5%;

  max-width: 50%;
  height: auto;

  opacity: 10%;
  mix-blend-mode: lighten;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageplante7:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

/*Palmier 2*/

/*Case-9 overlapping images animaux */

.imageanimal1 {
  position: relative;
  z-index: 2;
  position: absolute; 
  bottom: -22%;
  left: 35%;

  max-width: 100%;
  scale: 50%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal1:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageanimal2 {
  position: relative;
  z-index: 2;
  position: absolute; 
  top: -20%;
  left: -30%;

  max-width: 100%;
  scale: 50%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal2:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageanimal3 {
  position: relative;
  z-index: 3;
  position: absolute; 
  top: 33%;
  right: 30%;

  max-width: 100%;
  scale: 30%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal3:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageanimal4 {
  position: relative;
  z-index: 2;
  position: absolute; 
  top: 25%;
  right: 30%;

  max-width: 100%;
  scale: 40%;
  height: auto;

  opacity: 0%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal4:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

.imageanimal5 {
  position: relative;
  z-index: 2;
  position: absolute; 
  top: 5%;
  right: -30%;

  max-width: 100%;
  scale: 40%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal5:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}


.imageanimal6 {
  position: relative;
  z-index: 3;
  position: absolute; 
  top: -30%;
  left: 20%;

  max-width: 100%;
  scale: 30%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal6:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}


.imageanimal7 {
  position: relative;
  z-index: 3;
  position: absolute; 
  bottom: -50%;
  left: -20%;

  max-width: 100%;
  scale: 40%;
  height: auto;

  opacity: 10%;
  transition: 1.5s;
  animation-fill-mode: forwards;
}

.imageanimal7:hover {
  opacity: 100%;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
}

/* Case-4 + Case-6 image glitch*/


.img-glitch {
	height:800px;
  width:800px;
	background: url('images/GH_Animals/Black_Noddy_Modif.png') no-repeat;
	background-size: contain;
	cursor: pointer;
  position: relative;
	overflow: hidden;
  filter:drop-shadow(16px 16px 20px rgb(0, 255, 157)) invert(0%);
  
  
  border-radius: 25px;
}

.img-glitch::before {
	content: "";
	position: absolute;
	height: 400px;
	width: 600px;
	background: url('images/GH_Animals/Black_Noddy_Modif.png') no-repeat;
	background-size:cover;
	filter: drop-shadow(16px 16px 20px rgb(0, 255, 157)) invert(0%);
	opacity: 0;
}

.img-glitch:hover:before {
	opacity: .7;
	animation: glitch6 1.5s infinite linear;
}

@keyframes glitch6 {
	0%{
		top: 0px;
		background-position: 12px 0px;
	}

	20%{
		top: 80px;
		background-position: -10px 90px;
	}

	40%{
		top: 160px;
		background-position: 6px 160px;
	}

	60%{
		top: 240px;
		background-position: -6px -240px;
	}

	80%{
		top: 320px;
		background-position: 10px -320px;
	}

	100%{
		top: 480px;
		background-position: -12px -400;
	}
}




/*CSS Dégradés */

.landing-gradient {
  background-image: radial-gradient(#847E96, #EBE26E, #FE4815, #f0f);
  background-size: 300%;	
  animation: bganimation_five 30s infinite;
}

@keyframes bganimation_five {

 0%{
   background-position: 0% 50%; 
 }

 50%{
   background-position: 100% 50%; 
 }

 100%{
   background-position: 0% 50%; 
 }
}


/*CSS Blink Alerte */

.restricted {
  font-size: 2em;
  font-weight: medium;

  color: red;
  border: 2px solid black;
  background: black;
  position: absolute;
  width: 42vw;


  border-radius: 25px;
  padding: 5px;
  padding-bottom: 2px;

  top: 15%;
  left: 50%; 
  animation: blink 1s linear infinite; 
}
@keyframes blink{
  0%{
    opacity: 0;
  }
  50%{
    opacity: .5;
  }
  100%{
    opacity: 1;}
  }

  .restricted span {
    position: absolute;
    top: 75%;
    left: 50%;


  }


.trailer{
  
  height: auto;
  width: 85%;
  
  margin: 0 20px 20px 0;
  padding: 2% 2% 2% 2%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);
  z-index: 300;
  overflow: hidden;

  background-color: white;
  filter:drop-shadow(6px 6px 6px rgb(0, 255, 157)) invert(0%);
  mix-blend-mode: difference;
  border-radius: 50px;
  
  opacity: 100%;
  animation: trailer-animation 40s;
  animation-fill-mode: forwards;
}

.trailer p {
  font-family: 'Dinamit Regular';
  font-size: 2.5vw;
  text-transform: none;
  text-align: center;
  line-height: 110%;
  color: grey;
  mix-blend-mode: normal;


  column-count: 1;
  opacity: 100%;

}

.trailer :hover {
  opacity: 0%;
}


@keyframes trailer-animation {

 0%{
  opacity: 0%;
  height: 0%;
 }
 25%{
  opacity: 100%;
  height: 50%;
 }


 50%{
  opacity: 100%; 
  /*transform: translate(-50%, -50%) scale(1)*/
  height: 50%;
 }

 75%{
  opacity: 25%;
  height: 0%;
 }

 100%{
  opacity: 0%; 
  /*transform: translate(-50%, -50%) scale(0);*/
  height: 0px;

 }

}

/*Image atoll zoom */

  .imgLandingPage {
    opacity: 50%;
    margin: 0;
    padding: 0;
    position: absolute;
    height:100%;
    width: 100%;
    object-fit: cover;
    top: 50%;
    left: 50%; 
    overflow: hidden;
    transform: translate3d(-50%, -50%, 0);
    mix-blend-mode: difference;
    animation: imgzoom 50s linear infinite;
  }

  @keyframes imgzoom {
    0%{transform: translate3d(-50%, -50%, 0) scale(1);}
    100%{transform: translate3d(-50%, -50%, 0) scale(2);}
    /* 0%{width: 100%;}
    50%{width:150%;}
    100%{width:200%;} */
  }

  

  .imgForest {
    opacity: 50%;
    margin: 0;
    padding: 0;
    position: absolute;
    height:200%;
    width: 200%;
    object-fit: cover;
    top: 50%;
    left: 50%; 
    overflow: hidden;
    transform: translate3d(-50%, -50%, 0);    
    mix-blend-mode: difference;
    z-index: 0;
  }


  /*Animaux Case-6*/

  .img7 {
    height:400px;
    width:400px;
    transform: perspective(400px) rotateY(45deg);
    margin-left: 250px;
    background: url('/Users/amanda/Documents/ECAL/2e_Annee/07_Website/07_WB_Mini_Tests/050_Test_Glitch/website/images/Coconut_crab_1_Modif.png') no-repeat;
    background-size: contain;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    filter:drop-shadow(16px 16px 20px rgb(0, 255, 157)) invert(0%);
  }
  
  .img7::before {
    content: "";
    position: absolute;
    transform: rotate3d(0,1,0,60deg);
    height: 400px;
    width: 600px;
    background: url('/Users/amanda/Documents/ECAL/2e_Annee/07_Website/07_WB_Mini_Tests/050_Test_Glitch/website/images/Coconut_crab_1_Modif.png') no-repeat;
    background-size:cover;
    filter: drop-shadow(16px 16px 20px rgb(0, 255, 157)) invert(0%);
    opacity: 0;
  }
  .img7:hover {
    opacity: 100%;
    border: 3px solid;
    overflow: visible;
  }
  
  .img7:hover:before {
    opacity: .7;
    animation: glitch7 1.5s infinite linear;
    
  }
  
  @keyframes glitch7 {
    0%{
      top: 0px;
      background-position: 12px 0px;
    }
  
    20%{
      top: 80px;
      background-position: -10px 90px;
    }
  
    40%{
      top: 160px;
      background-position: 6px 160px;
    }
  
    60%{
      top: 240px;
      background-position: -6px -240px;
    }
  
    80%{
      top: 320px;
      background-position: 10px -320px;
    }
  
    100%{
      top: 480px;
      background-position: -12px -400;
    }
  
  }
  
  .fauna_info {
    background-color: white;
    border: 5px solid red;
    border-radius: 0 50% 50% 0%;
    font-family:'Dinamit Regular';
    text-transform: uppercase;
    opacity: 0%;
    color: black;
    text-align: center;
    position: absolute;
  }

  .fauna_info:hover {
    background-color: white;
    border: 5px solid red;
    border-radius: 0 0 20% 20%;
    font-family:'Dinamit Regular';
    text-transform: uppercase;
    opacity: 100%;
    color: black;
    text-align: center;
    position: absolute;
  }

/*.indent-1 {}*/
.indent-1 {
  box-sizing: border-box;
  width: 100%;
  height: calc(100% - (2rem + 2 * 25px + 2 * 5px));
  display: flex;
}

/* @media screen and (max-width: 400px) {

} */

.SectionFauna1 {
  width: 50%;
  height: 96%;
  /* height: 100vh; */
 
  display: flex;
  flex-direction: column;

  margin-top: 5%;
  opacity: 90%;
  border-radius: 25px;
  contain: content; /* voir les autre type de contain pour trouver le plus adapté! */

}
.SectionFauna1 .section-fauna-content {
  flex: 1 1 auto;
  /* border: 1px solid rgba(255, 0, 0, 1); */
  
}

.SectionFauna2 {
  width: 50%;
  height: 96%;
  background-color: none;
  display: flex;
  flex-direction: column;

  margin-top: 5%;
  opacity: 100%;
  border-radius: 25px;


}

.section-fauna-content {
  padding-top: 2vh;
  padding-bottom: 2vh;
  margin-bottom: -0.25%;

  border:2px solid white;
  border-radius: 25px;
  background-color: #F90000;

  text-align: center;
  color: white;
  font-family: 'Dinamit Regular';
  font-size: 1em;
  text-transform: uppercase;
  z-index: 2;
}



.section-fauna-content div {
  margin-left: 12%;
  margin-right: 12%;
  margin-top: 2%;
  margin-bottom: 2%;
  padding: 2vh;


  text-align: left;
  color:white;
  font-family: 'Dinamit Regular';
  text-transform: none;
  font-size: 1.3vw;
  line-height: 130%;

  border: 2px solid rgb(255, 255, 255, 1);
  border-radius: 25px;
}

.section-fauna-content span {
  color: white;
  padding-top: 20px;
  padding: 3vw;
  margin-left: 20px;
  text-transform: none;
}



.container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  /*border: 1px solid rgba(255, 0, 0, 1);*/
  overflow: auto;
}

.item {
  /* display: none; */
  box-sizing: border-box;
  position: relative;
  width: 50%;
  height: 300px;
  overflow: hidden;
  
  
  flex-grow: 0;
  flex-shrink: 0;
  
  font-family: 'Dinamit Regular';
  font-size: 2em;
  border: solid white 1px;
  background-image: url('../images/module-6.jpg');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: 50% 50%;

  transition: background-size 0.5s ease-in-out;

}

.item img {
  height: 100%;
  position: relative;
  top:50%;
  left: 50%;
  transform: translatex(-50%) translateY(-50%);

}

.item img :hover {
  background-size: 200% auto;
}
.item:hover {
  background-size: 200% auto;
}

.item h2 {
  color: white;
  margin: auto;
  position: absolute;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);

  margin: 0 0;
  font-size: .5rem;
  border: 2px solid white;
  /*background-color: red;*/
  opacity: 100%;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
}

.gallery img {
  width: 25%;
  display: block;
}

p {
  columns: 3;
}

p span {
  color: red;
  display: inline;
}












/* Media screen Toujours à la fin !!*/


@media screen and (max-width: 1200px) {

  .SectionFauna1 {
    width: 100%;
    height: 50%;
    margin-top: 100px;
    margin-bottom: 10px;
    
  }
  .SectionFauna2 {
    width: 100%;
    height: 50%;
    margin-top:100px;
  }
  
  .section-fauna-content {
    font-size: vw;
  }

  .section-fauna-content div{
    font-size: 1.5vw;
  }

  .container {
    flex: 0 0 auto;
    flex-direction: column;
    height: 100%;
  }

  .item {
    height: 50%;
  }

  .item h2 {
    font-size: .3rem;
  }

  h1 {
    font-size: 13vw;
  }

  h2{
    font-size: 3vw;
    border-radius: 20px;
    padding: 1vw;
    padding-bottom: .5vw;
    top: 4%;
  }

  .h2bottom{
    font-size: 3vw;
    border-radius: 20px;
    padding:1vw;
   
  }

  .trailer {
    font-size: 2.75vw;
    line-height: 120%;
    border-radius: 25px;
    height: auto;
    width: 82%;
  }
 
  .NavigationsideLeft {
    font-size: 3vw;
    border-radius: 20px;
    padding: 1vw;
  }
  .NavigationsideRight {
    font-size: 3vw;
    border-radius: 20px;
    padding: 1vw;
  }
  .NavigationsideTop {
    font-size: 3vw ;
    border-radius: 20px;
    padding: 1vw;
    padding-bottom: .5vh;

  }
  .NavigationsideBottom {
    font-size: 3vw;
    border-radius: 20px;
    padding: 1vw;
    padding-top:1vw;
  }


  .nav-button:hover {
  border-radius: 20px;
  padding: 1vw;
}

  .restricted {
    font-size: 5vw;
    border-radius: 20px;
    padding: 1vw;
    padding-bottom: .5vw;
    width: 60%;
  }

  .carousel-size {
    top: 45%;
  }

  .container-carousel {
    width: 33vmin;
    height: 27vmin;
    perspective: 1000px;
  }

  .item-carousel-text {
    column-count: 0;
  }

  .container-carousel-layout {
  
    flex-direction: column;
  }

  

  .next, .prev {
    font-size: 2.5vw;
    bottom: 11%;
  }

  .next:active, .prev:active {
    bottom: 11%;
  }


}

@media screen and (max-width: 800px) {

  
  .SectionFauna1 {
    width: 100%;
    max-height: 90%;
    
  }

  .SectionFauna2 {
    width: 50%;
    height: 100%;
  }

  .section-fauna-content {
    font-size: 2.75vw;
    background-color: #F90000;
    
  }

  .section-fauna-content div{
    font-size: 2vw;
  }

  .container {
    
    flex-direction: row;
    height: 87%;
  }
  .item {
    height: 50%;
  }

  .item img {
    height: 100%;
    scale: 60%;
    position: relative;
    top:25%;
    left:15%;
    transform: translatex(-50%) translateY(-50%);
  
  }
  h1 {
    font-size: 12vw;
  }

  h2{
    font-size: 5vw;
    width: 73%;
    border-radius: 20px;
    padding: 1.5vw;
    padding-bottom: .5vw;
    top: 5%;
  }

  .h2bottom{
    font-size: 5vw;
    width: 73%;
    border-radius: 20px;
    padding: 1.5vw;
    padding-bottom: .5vw;
    top: 95%;
  }

  .trailer {
    font-size: 3.5vw;
    line-height: 120%;
    border-radius: 25px;
    height: auto;
    width: 75%;
  }
 
  .NavigationsideLeft {
    font-size: 5vw;
  }
  .NavigationsideRight {
    font-size: 5vw;
  }
  .NavigationsideTop {
    font-size: 5vw ;
  }
  .NavigationsideBottom {
    font-size: 5vw;
  }
  .restricted {
    font-size: 5vw;
  }

  .carousel-size {
    top: 47%;
   
  }

  .container-carousel {
    width:41vmin;
    height: 45vmin;
    perspective: 1000px;
    
  }

  .item-carousel span {
    font-size: 2vw;
    margin-bottom: 5px;
  }
  .item-carousel-text {
    column-count: 1;
    font-size: 1.7vw;
  }

  .carousel-layout1 p {
    font-size: 1.7vw;

  }
  
  .carousel-layout3 p {
  
    font-size: 1.7vw;
  }
  
  .carousel-layout4 p {
    font-size: 1.7vw;
  }

  .next, .prev {
    font-size: 3.5vw;
    bottom: 11%;
  }

  .next:active, .prev:active {
    bottom: 11%;
  }
}

/* Pour Navigateur retrécit au max*/
@media screen and (max-width: 500px) {

  .indent-1 {
    flex-direction: column;
  }

  
  .SectionFauna1 {
    width: 100%;
    height: 50%;
    margin-top: 18%;
    margin-bottom: 2%;
    padding-bottom: 15%;
  }
  .SectionFauna2 {
    width: 100%;
    height: 50%;
    margin-top: 2%;
  }
  .section-fauna-content {
    font-size: 3.75vw;
  }

  .section-fauna-content div{
    font-size: 2s.4vw;
  }

  .container {
    flex: 0 0 auto;
    flex-direction: column;
    height: 100%;
  }
  .item {
    height: 50%;
  }

  h1 {
    font-size: 10vw;
  }

  h2{
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
    padding-bottom: .5vw;
    top: 4%;
  }

  .h2bottom{
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
    padding-top: .5vw;
   
  }

  .trailer {
    font-size: 4vw;
    line-height: 120%;
    border-radius: 25px;
    height: auto;
    width: 62%;
  }
 
  .NavigationsideLeft {
    font-size: 7.5vw;
    border-radius: 20px;
    padding: 1.5vw;
  }
  .NavigationsideRight {
    font-size: 7.5vw;
    border-radius: 20px;
    padding: 1.5vw;
  }
  .NavigationsideTop {
    font-size: 7.5vw ;
    border-radius: 20px;
    padding: 1.5vw;
    padding-bottom: 1.5vw;

  }
  .NavigationsideBottom {
    font-size: 7.5vw;
    border-radius: 20px;
    padding: 1.5vw;
    padding-top: 1.5vw;
  }

  .nav-button:hover {
    padding: 1.5vw;
  }


  .restricted {
    font-size: 7.5vw;
    border-radius: 20px;
    padding: 1vw;
  }

  .carousel-size {
    top: 48%;
  }

  .container-carousel {
    width:49vmin;
    height: 100vmin;
    perspective: 1000px;
  }

  .item-carousel span {
    font-size: 2.75vw;
    margin-bottom: 5px;
  }
  .item-carousel-text {
    column-count: 1;
    font-size: 2.4vw;
  }

  .carousel-layout1 p {
    font-size: 2.4vw;

  }
  
  .carousel-layout3 p {
  
    font-size: 2.4vw;
  }
  
  .carousel-layout4 p {
    font-size: 2.4vw;
  }

  .next, .prev {
    font-size: 5.5vw;
    bottom: 11%;
  }

  .next:active, .prev:active {
    bottom: 11%;
  }
  
} 


/* Pour Iphone 6,7 et 8*/
@media screen and (max-width: 375px) {

  .indent-1 {
    flex-direction: column;
  }

  .SectionFauna1 {
    width: 100%;
    height: 50%;
    margin-top: 55px;
    margin-bottom: 20px;
  }

  .SectionFauna2 {
    width: 100%;
    height: 50%;
    margin-top: 100px;
  }

  .section-fauna-content {
    font-size: 4vw;
  }

  .section-fauna-content div{
    font-size: 3.75vw;
  }

  .container {
    flex: 0 0 auto;
    flex-direction: column;
    height: 100%;
  }

  .item {
    height: 50%;
  }

  h1 {
    font-size: 11vw;
  }

  h2{
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
    padding-bottom: .5vw;
  }

  .h2bottom{
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
    padding-top: .5vw;
  }


  .trailer {
    font-size: 4vw;
    line-height: 120%;
    border-radius: 25px;
    height: auto;
    width: 62%;
  }
 
  .NavigationsideLeft {
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
  }
  .NavigationsideRight {
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
  }
  .NavigationsideTop {
    font-size: 8vw ;
    border-radius: 20px;
    padding: 2vw;
    padding-bottom: .5vw;

  }
  .NavigationsideBottom {
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
    padding-top: 2vw;
  }
  .restricted {
    font-size: 8vw;
    border-radius: 20px;
    padding: 2vw;
  }

  .carousel-size {

    top: 41%;
  }

  .container-carousel {
    width:60vmin;
    height: 100vmin;
    perspective: 1000px;
  }

  .next, .prev {
    font-size: 0.45em;
    bottom: 100px
  }

  .next:active, .prev:active {
    bottom: 100px;
  }
  
} 