@font-face {
  font-family: 'ArnoldBoecklin';
  src: url('../fonts/ArnoldBoecklin.eot') format('eot'),
    url('../fonts/ArnoldBoecklin.woff') format('woff'),
    url('../fonts/ArnoldBoecklin.woff2') format('woff2');
}
@font-face {
  font-family: 'Media77';
  src: url('../fonts/Media77-Medium.eot') format('eot'),
    url('../fonts/Media77-Medium.woff') format('woff'),
    url('../fonts/Media77-Medium.woff2') format('woff2');
}
body{
  background-color: black;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  margin-top:3vw;
}

.grid-item {
  width: 5.551vw;
  height: 5.551vw;
  box-sizing: border-box;
  background-image:url('../IMG/etoile2.jpg');
  background-size: contain;
  background-position:center;
  background-repeat:no-repeat;
  transition: background-color 0s ease-in-out 0s, transform 0.1s ease-in-out 15s, opacity 1s ease-in-out 2s;
  opacity: 1;
  z-index: 12;
  border-radius: 20%;
}

.grid .grid-item:nth-child(1) {
  background-image: url('../IMG/T.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(2) {
  background-image: url('../IMG/R.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(3) {
  background-image: url('../IMG/I.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(4) {
  background-image: url('../IMG/B.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(5) {
  background-image: url('../IMG/U.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(6) {
  background-image: url('../IMG/T.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(7) {
  background-image: url('../IMG/E.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(31) {
  background-image: url('../IMG/T.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(32) {
  background-image: url('../IMG/O.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(57) {
  background-image: url('../IMG/E.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(58) {
  background-image: url('../IMG/X.svg');
  background-size: 100%;

}

.grid .grid-item:nth-child(78) {
  background-image: url('../IMG/W.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(79) {
  background-image: url('../IMG/E.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(80) {
  background-image: url('../IMG/S.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(81) {
  background-image: url('../IMG/T.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(121) {
  background-image: url('../IMG/B.svg');
  background-size: 100%;

}

.grid .grid-item:nth-child(122) {
  background-image: url('../IMG/E.svg');
  background-size: 100%;

}

.grid .grid-item:nth-child(123) {
  background-image: url('../IMG/R.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(124) {
  background-image: url('../IMG/L.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(125) {
  background-image: url('../IMG/I.svg');
  background-size: 100%;

}
.grid .grid-item:nth-child(126) {
  background-image: url('../IMG/N.svg');
  background-size: 100%;

}
.grid .grid-item:hover {
  background-color: black;
  opacity: 0;
  transform: scale(0);
  transition: background-color 0s ease-in-out, transform 0s ease-in-out;

}
.grid-item2 {
  width: 1vw;
  height: 6vw;
  border: solid;
  box-sizing: border-box;
  background-color: red;
  transition: background-color 0s ease-in-out 0s, transform 0.1s ease-in-out 30s;
  opacity: 1;
  z-index: 0;
  border-radius: 50%;
}
.grid-item2:hover {
  background-color: black;
  transform: scale(0);
  transition: background-color 0s ease-in-out, transform 0s ease-in-out;

}


/* .grid-item:nth-child(2n):hover {{
background-image: radial-gradient(violet, rgba(255, 0, 0, 1));
  opacity: 1;
  transform: scale(0);
  transition: background-color 0s ease-in-out, transform 0s ease-in-out;

} */


h1{
  font-family: 'ArnoldBoecklin';
  font-size: 43vw;
  position: absolute;
  top:2.5vw;
left:6vw;
  z-index: 5;
  width: 85%;
  color: white;
  box-sizing: 0vw;
  animation-name: tourne;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;

}

h3{
  font-family: 'ArnoldBoecklin';
  font-size: 43vw;
  position: absolute;
  top:0;
  margin-left: 1vw;
  z-index: 5;
  width: 100%;
  color: rgba(255, 0, 255, 1);
  box-sizing: 0vw;
  animation-name: tourne;
  animation-duration: 3s;
  animation-iteration-count: infinite;


}
@keyframes tourne {
  0%{
    transform: rotateY(0);
  }
  50%{
    transform: rotateY(180deg);
  }
  100%{
    transform: rotateY(360deg);
  }
}
@keyframes tourne2 {
  0%{
    transform: rotateY(0);
  }
  50%{
    transform: rotateY(200deg);
  }
  100%{
    transform: rotateY(360deg);
  }
}
.solid {
  border: solid 40px;

  width: 100%;
  height:100%;
  position: fixed;
  top:0;
  box-sizing: content-box;
  width: 50%;

}


h2{
  font-family: 'ArnoldBoecklin';
  font-size: 10vw;
  position: absolute;
  top:38.5vw;
  left:18vw;
  z-index: 5;
  width: 60%;
  color: white;
  box-sizing: 0vw;
  animation-name: tourne;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  text-align: center;
}

h4{
  font-family: 'ArnoldBoecklin';
  font-size: 14vw;
  position: absolute;
  top:32vw;
  margin-left: 1vw;
  z-index: 5;
  width: 100%;
  color: rgba(255, 0, 255, 1);
  box-sizing: 0vw;
  animation-name: tourne;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  text-align: center;
}

h5{
  font-family: 'ArnoldBoecklin';
  font-size: 4vw;
  position: fixed;
  top:4vw;
  width: 12%;
  margin-left: 86vw;
  z-index: 10;
  color: rgba(255, 0, 255, 1);
  box-sizing: 0vw;
  animation-name: tourne;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  text-align: center;
  text-shadow: 3px 0px white;
}
h6{
  font-family: 'ArnoldBoecklin';
  font-size: 4vw;
  position: fixed;
  top:8vw;
  margin-left: 87.5vw;
  width: 9%;
  z-index: 10;
  color: rgba(255, 0, 255, 1);
  box-sizing: 0vw;
  animation-name: tourne;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  text-align: center;
  text-shadow: 3px 0px white;
}
p{

  color: white;
  z-index: 5;
  position: absolute;
  box-sizing: border-box;
  text-decoration:un ;
  font-family: 'Media77';
  font-weight: bold;
  padding: 0.5vw;

  background-color:rgba(0, 0, 0, 1);
}

#bold {
font-size: 2vw;
}


.text1{
  top: 10vw;
  margin-left: 3vw;
  margin-right: 45vw;
  font-size: 1.5vw;
  text-align: center;

}

.text2{
  top: 20vw;
  margin-left: 3vw;
  margin-right: 15vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}

.text3{
  top: 60vw;
  margin-left: 80vw;
  margin-right: 10vw;
  font-size: 1.5vw;
  text-align: center;

}

.text4{
  top: 60vw;
  margin-left: 10vw;
  margin-right: 80vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}
.text5{
  top: 120vw;
  margin-left: 48vw;
  margin-right: 5vw;
  font-size: 1.5vw;
  text-align: center;

}

.text6{
  top: 130vw;
  margin-left: 40vw;
  margin-right: 5vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}
.text7{
  top: 200vw;
  margin-left: 10vw;
  margin-right: 60vw;
  font-size: 1.5vw;
  text-align: center;

}

.text8{
  top: 210vw;
  margin-left: 60vw;
  margin-right: 10vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}

.text9{
  top: 265vw;
  margin-left: 50vw;
  margin-right: 5vw;
  font-size: 1.5vw;
  text-align: center;

}

.text10{
  top: 285vw;
  margin-left: 30vw;
  margin-right: 5vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}

.text11{
  top: 310vw;
  margin-left:10vw;
  margin-right: 70vw;
  font-size: 1.5vw;
  text-align: center;

}

.text12{
  top: 340vw;
  margin-left: 10vw;
  margin-right: 20vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}
.text13{
  top: 385vw;
  margin-left:15vw;
  margin-right: 40vw;
  font-size: 1.5vw;
  text-align: center;

}

.text14{
  top: 410vw;
  margin-left: 70vw;
  margin-right: 15vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}
.text15{
  top: 480vw;
  margin-left:10vw;
  margin-right: 80vw;
  font-size: 1.5vw;
  text-align: center;

}

.text16{
  top: 480vw;
  margin-left: 80vw;
  margin-right: 10vw;
  font-size: 1.5vw;
  text-align: center;
  background-color: white;
  color:black;

}


nav {
  position: fixed;
  top:0;
  left: 25vw;
  background-color: white;
  z-index: 20;
  background-image:url('../IMG/etoile2.jpg');
  background-size: 8vw 3vw;
  background-position:center;
  background-repeat:no-repeat;
  transition: 0.5s;
}
ul {

  display: flex;

  justify-content: space-between;
}
li {
  font-family: Times;
  color: white;
  font-size: 2vw;
  text-shadow: 3px 0px black;
  font-weight: normal;
  margin: 0.5vw 5vw;
  transition: 0.3s;
}

li:hover{

  color: black;
  text-shadow: -3px 0px white;
  font-size: 2.5vw;
}

nav:hover{
  background-image:url('../IMG/etoile.jpg');
  background-size: 50vw 3.5vw;
  background-position:center;
  background-repeat:no-repeat;

}



.gallery {
  /* aka container */


  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
    background-size: cover;
display: block;


  /* et on dit à chaque bloc (voir ci dessous) d'etre disposés en ligne!  */
}

.img1{
  /* aka item? */
  position: absolute;
  top: 0;
  width: 100%;

}
.img2{
  /* aka item? */
  position: absolute;
  top: 30vw;
  width: 20%;
  left: 10vw;
  z-index: 4;


}
.img3{
  /* aka item? */
  position: absolute;
  top: 60vw;
  width: 80%;
  left: 0vw;


}
.img4{
  /* aka item? */
  position: absolute;
  top: 5vw;
  left:50vw;
  width: 40%;


}
.img5{
  /* aka item? */
  position: absolute;
  top: 40vw;
  width: 30%;
  right: 0vw;

}
.img6{
  /* aka item? */
  position: absolute;
  top: 7vw;
  width: 25%;
  left: 0vw;

}
.img7{
  /* aka item? */
  position: absolute;
  top: 70vw;
  width: 50%;
  left: 10vw;

}
.img7{
  /* aka item? */
  position: absolute;
  top: 55vw;
  width: 35%;
  left: 0vw;

}
.img7{
  /* aka item? */
  position: absolute;
  top: 55vw;
  width: 28%;
  right: 0vw;

}
.img8{
  /* aka item? */
  position: absolute;
  top: 88vw;
  width: 40%;
  right: 0vw;

}


  /* chaque image devient un bloc = tous a la suite l'un après l'autre */

.background-white {
  background-color: white;
}

.gallery2 {
box-sizing: content-box;
flex-direction: row;
flex-wrap: wrap;

width: 100%;
z-index: 5;
margin-top:3vw;
background-color: white;
background-repeat: repeat;



}
.gallery2 img {
  width:10%;
  margin: 1vw 1vw;
  transition: 0.1s;

  padding: 0.5vw;
  border: solid 6px black;

}
.gallery2 img:hover{
  /* width: 12%; */
}




.container {
    display: flex;
    flex-direction:row;
    /* columns etc comme on veut */
    flex-wrap: wrap;
    /* dit de revenir a la ligne */


  }

  article{
    animation-name: tourne;
    animation-duration: 2s;
    animation-iteration-count: infinite;
  }


  @keyframes tourne {
    0%{
      transform: rotateY(0);
    }
    50%{
      transform: rotateY(180deg);
    }
    100%{
      transform: rotateY(360deg);
    }
  }
  .container {
      display: flex;
      flex-direction:row;
      /* columns etc comme on veut */
      flex-wrap: wrap;
      /* dit de revenir a la ligne */

    }


  .rond3 {
    width: 8.3vw;
    height: 3vw;
    background-image: url('../IMG/etoile2.jpg');
    background-size:8.3vw 3vw;
    background-position:center;
    background-repeat:no-repeat;
    margin: auto;
    border-radius: 100%;

    transition: background-color 1s ease-in-out, border-radius 1s ease-in-out, transform 1s ease-in-out;
    transition: background-color 0s ease-in-out 0s, transform 0.1s ease-in-out 15s, opacity 1s ease-in-out 2s;
  }
  .rond3:hover {
    background-color: black;
    opacity: 0;
    transform: scale(0);
    transition: background-color 0s ease-in-out, transform 0s ease-in-out;
  }





  .bloc {
    width: 55vw;
    margin-left: 45vw;
    position: sticky;
    top: 0;

  }
  .bloc2 {
    width: 100vw;
    position: sticky;
    top: 0;
  }
  .bloc3 {
    width: 40vw;
    margin-left: 20vw;
    position: sticky;
    top: 0;
  }
  .bloc4 {
    width: 50vw;
    margin-left: 50vw;
    position: sticky;
    top: 0;
  }
  .bloc5 {
      width: 60vw;
      margin-left: 5vw;
      position: sticky;
      top: 0;
    }
    .bloc6 {
        width: 30vw;
        margin-left: 0vw;
        position: sticky;
        top: 0;
      }


  .phrase {
    bottom: 0;
    color: white;
    font-size: 2.5vw;
    text-decoration: underline;
    z-index: 20;
    position: fixed;
    text-align: left;
    background-color: black;
    transition: 0.1s;
  font-family: 'Media77';
  }

  .phrase:hover{
    font-size: 3.064vw;

    background-color: white;
    color: black;

  }

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

.row img {
  height: 100px;
  width: auto;
}

.row img:hover {
  height: 150px;
}
.row2 {
  display: flex;
  flex-wrap: wrap;
}
.row2 p{
  font-size: 1.5vw;
}
.row3 {
  display: flex;
  flex-wrap: wrap;
}
.row3 p{
  font-size: 1.5vw;
}
.row4 {
  display: flex;
  flex-wrap: wrap;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: none;
  z-index: 1;
  animation: fadeInFromNone 0.5s cubic-bezier(0.53, 0.51, 0.67, 0.68);
  transform-origin: 50% 50%;
}

.overlay img {
  width: 100vw;
  object-fit: contain;


}

@media screen and (max-width: 1000px) {
  .row {
    flex-direction: column;
    padding: 10px;
  }

  .row img {
    height: auto;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }

  .row img:hover {
    width: 100%;
    height: auto;
  }
  .row2 img{

  }
  .row2 p{
    font-size: 3vw;
    margin-left: 0;
    margin-right:50vw;
    padding: 1vw;

  }
  .row3 {

  }
  .row3 p{
    font-size: 3vw;
    margin-left: 50vw;
    margin-right:0vw;
    padding: 1vw;

  }
.grid-item {
  width: 11vw;
  height: 11vw;
}
.phrase{
  font-size: 5vw;
}
.phrase:hover{
  font-size: 5.2vw;

  background-color: white;
  color: black;
}
.overlay {
  position: fixed;

}

}

@keyframes fadeInFromNone {
  0%{
    transform: rotateY(0) scale(0);
    opacity: 0;

  }

  100%{
    transform: rotateY(360deg)  scale(1);
    opacity: 1;

  }
}
