body {
  background-image: url('site/fond2.png');
  background-size: 100%;
  background-repeat: repeat-y;
  background-attachment: fixed;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-X: hidden;
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans&display=swap');
@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}




body {
  font-family: Raleway, Helvetica, sans-serif;
  position: relative;
}

/* New Stacking Context with Fixed */
.side-nav {
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
}

/* To hide the sub-nav */
.wrapper {
  background: black;
  height: 100vh;
  width: 75px;
}

/* unvisited link */
a:link {
  color:#001BFF;
}

/* visited link */
a:visited {
  color: #C100FF;
}

/* mouse over link */
a:hover {
  color: #FF00F3;
}

/* selected link */
a:active {
  color: #0CFF00;
}

.center {
text-align: center;
display: block;
margin: auto;}

.three-dots-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

#container > div {
    display: none
}
#container > div:first-child {
    display: block
}
#container > div:hover + div {
    display: block
}


.ml6 {
  position: relative;
  font-weight: 700;
  font-size: 1em;
}

.ml6 .text-wrapper {
  position: relative;
  display: inline-block;
  padding-top: 0.2em;
  padding-right: 0.05em;
  padding-bottom: 0.1em;
  overflow: hidden;
}

.ml6 .letter {
  display: inline-block;
  line-height: 1em;
}

.legende {
font-size: 1.5vh;
text-align: right;
margin-right: 10.7vh;
}

.dot {
  flex-shrink: 0;
  margin: 10px 3px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #000;
}

.d1 {
  background: #0004FF;
}

.d2 {
  background: #A200FF;
}

.d3 {
  background: #FF00F3;
}

.nav-bloc {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  cursor: pointer;
  border-bottom: 1px solid #f2f2f21e;
}

.nav-bloc:hover {
  background: rgb(24, 24, 24);
}

.nav-bloc:hover .sub-nav {
  transform: translateX(75px);
}

.nav-bloc svg {
  width: 25px;
  fill: #f2f2f2;
  transition: 0.2s ease-in-out;
}

.nav-bloc:hover svg {
  fill: black;
}

.sub-nav {
  padding: 0px;
  width: 200px;
  height: 100vh;
  position: absolute;
  top: 0;
  left: 0;
  background: black;
  z-index: -1;
  color: white;
  /* Hidden at the left side */
  transform: translateX(-100%);
  transition: transform 0.2s ease-in-out;
  border-right: 2px solid #000;
  border-left: 2px solid #000;
}

.sub-nav h2 {
  font-family: open sans, sans-serif;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #222;
}

.sub-nav ul {
  list-style-type: none;
}

.sub-nav li {
  padding: 15px 20px;
}

.sub-nav li:hover {
  background: rgba(160, 160, 160, 0.555);
}

.sub-nav li a {
  color: #f2f2f2;
  text-decoration: none;
}

.main-content {
  padding-left: 75px;
  color: #f3f3f3;
}

.main-content h1 {
  font-family: "Mister Pixel Regular";
  text-align: center;
  margin: 30px 0;
  font-size: 40px;
}

.main-content p {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 30px;
  line-height: 1.7;
}

body::-webkit-scrollbar {
  width: 2vh;
  /* width of the entire scrollbar */
}

body::-webkit-scrollbar-track {
  background: black;
  /* color of the tracking area */
}

body::-webkit-scrollbar-thumb {
  background-color: black;
  /* color of the scroll thumb */
  border-radius: 1vh;
  /* roundness of the scroll thumb */
  border: 0.3vh solid blue;
  /* creates padding around scroll thumb */
}

h1 {
  color: white;
  font-size: 10vh;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

h2 {
  color: white;
  margin-top: 3vw;
  font-size: 20vh;
  line-height: normal;
}

h3 {
  color: white;
  margin-top: 3vw;
  font-size: 3vh;
  font-family: "Mister Pixel Regular";
  line-height: normal;
}

h4 {
  color: white;
  font-family: "Millimetre-Light";
  font-size: 1.8vh;
}

h5 {
  color: blue;
  font-family: "Mister Pixel Regular";
  font-size: 1.8vh;
}

h6 {
  color: black;
  font-family: "Millimetre-Light";
  font-size: 1.8vh;
}

h7 {
  color: white;
  font-size: 6vh;
  margin-left: 1.2vh;
  padding: 0;
  text-inline:;
}

h8 {  color: white;
  font-size: 6vh;
  margin: 0;
  padding: 0;
}

.titre {
  font-family: "Mister Pixel Regular";
  text-align: center;
}

marquee {
  font-family: "Mister Pixel Regular";
  color: white;
  font-size: 3vh;
}

/* div {
  padding-top: 50px;
  padding-right: 30px;
  padding-bottom: 50  px;
  padding-left: 80px;
} */
@font-face {
  font-family: "Mister Pixel Regular";
  src: url('Mister Pixel Regular.otf');
}

@font-face {
  font-family: "Millimetre-Light";
  src: url('Millimetre-Light.otf');
}

@font-face {
  font-family: "Millimetre-Regular";
  src: url('Millimetre-Regular.otf');
}

element.style {
  left: 417px;
  bottom: -130px;
  top: 41px;
}

.icones {
  display: flex;
  margin: 2vw 5vw 0 5vw;
}

.titres {
  display: flex;
  margin: 4vh 0 2vh 0;
  align-items: flex-end;
}

.item {
  flex: 0 1 200px;
  padding: 2 0vw 2 2vw;
  text-align: center;
  vertical-align: text-bottom;
}

.item-menu {
  flex: 0 1 200px;
  padding: 0 0vw 0 2vw;
  text-align: center;
  vertical-align: text-bottom;
}

.item img {
width:100%;
}

.item-icones img {
  width: 70%;
display:block;
margin-left: 1.3vh;
}




.flicker {
       padding: 1em;
       line-height: 1;
       text-shadow: 0.06rem 0 0.06rem #ea36af, -0.125rem 0 0.06rem #75fa69;
       letter-spacing: 0.125em;
       animation-duration: 0.01s;
       animation-name: textflicker;
       animation-iteration-count: infinite;
       animation-direction: alternate;
}
h10 { font-size: 1.5em; }

@keyframes textflicker {
  from {
    text-shadow: 1px 0 0 #ea36af, -2px 0 0 #75fa69;
  }
  to {
    text-shadow: 2px 0.5px 2px #ea36af, -1px -0.5px 2px #75fa69;
  }
}

.credits {
color:white;
font-family: "Mister Pixel Regular";
font-size: 2.7vh;


}
#preface {
  color: white;
  font-family: "Mister Pixel Regular";
  top: 95vh;
  left: 22vw;
  position: absolute;
  z-index: 9;
  width: 56vw;
}

#introduction {
  color: white;
  font-family: "Mister Pixel Regular";
  top: 80%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#evolution {
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#nostalgie{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#culture{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#culture{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#communaute{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#espace{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#creativite{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#conclusion{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#bibliographie{
  color: white;
  font-family: "Mister Pixel Regular";
  top: 100%;
  position: absolute;
  padding-top: 40vh;
  left: calc(50% - (55vw/2));
  z-index: 9;
  width: 56vw;
}

#my-draggable {
  cursor: pointer;
  width: 200px;
  height: 200px;
  background-color: #cca;
}

.paragraphe {
  font-family: "Millimetre-Light";
  text-align: left;
  text-justify;
  background-color: black;
  font-size: 25px;
  color: white;
  border-width: 30px;
  border: solid;
  border-color: white;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 1vw;
}



.item img {
  transition: transform .7s ease-in-out;
}

.item img:hover {
  transform: rotate(360deg);
}

.item-icones img {
  transition: transform .7s ease-in-out;
}

.item-icones img:hover {
  transform: rotate(360deg);
}

.paragraphe img {
  width: 80%;
margin-top: 1.5vh;
margin-bottom: 2.5vh;
display: block;
margin-left: auto;
   margin-right: auto
}

span {
  vertical-align: middle;
}

.titreparagraphe {
  font-family: "Mister Pixel Regular";
  font-size: 200px;
  text-align: left;
  vertical-align: left;
}

.rainbow-bg {
  animation: rainbow-bg 2.5s linear;
  animation-iteration-count: infinite;
  margin-top: 25vh;
  width: auto;
}

.rainbow {
  animation: rainbow 2.5s linear;
  animation-iteration-count: infinite;
  margin-bottom: 25vh;
}

@keyframes rainbow-bg {
  100%, 0% {
    background-color: rgb(255, 0, 0);
  }

  8% {
    background-color: rgb(255, 127, 0);
  }

  16% {
    background-color: rgb(255, 255, 0);
  }

  25% {
    background-color: rgb(127, 255, 0);
  }

  33% {
    background-color: rgb(0, 255, 0);
  }

  41% {
    background-color: rgb(0, 255, 127);
  }

  50% {
    background-color: rgb(0, 255, 255);
  }

  58% {
    background-color: rgb(0, 127, 255);
  }

  66% {
    background-color: rgb(0, 0, 255);
  }

  75% {
    background-color: rgb(127, 0, 255);
  }

  83% {
    background-color: rgb(255, 0, 255);
  }

  91% {
    background-color: rgb(255, 0, 127);
  }
}

@keyframes rainbow {
  100%, 0% {
    color: rgb(255, 0, 0);
  }

  8% {
    color: rgb(255, 127, 0);
  }

  16% {
    color: rgb(255, 255, 0);
  }

  25% {
    color: rgb(127, 255, 0);
  }

  33% {
    color: rgb(0, 255, 0);
  }

  41% {
    color: rgb(0, 255, 127);
  }

  50% {
    color: rgb(0, 255, 255);
  }

  58% {
    color: rgb(0, 127, 255);
  }

  66% {
    color: rgb(0, 0, 255);
  }

  75% {
    color: rgb(127, 0, 255);
  }

  83% {
    color: rgb(255, 0, 255);
  }

  91% {
    color: rgb(255, 0, 127);
  }
}

.scroller {
  width: 600px;
  height: 200px;
  text-align: justify;
  color: white;
  overflow-y: scroll;
  background-color: black
  font-color: white;

}

.anim {
  display: inline-block;
  position: relative;
  margin: 30px;
  font-size: 30px;
  font-family: sans-serif;
  color: blue;
  cursor: pointer;
}

.anim-btn {
  width: 4em;
}

.anim-text {
  display: inline-block;
  position: absolute;
  left: -2px;
  top: -2px;
  width: 0;
  height: 1.3em;
  background: white;
  white-space: nowrap;
  overflow: hidden;
}

.anim-btn:hover {
  color: white;
  width: 100px;

}

.anim:hover .anim-text {
  width: 4.8em;
  border-right: 2px solid black;
  animation: type 1s steps(8, end),
    blink 1.1s linear 1s infinite;
  animation-fill-mode: forwards;
}

@keyframes type {
  from {
    width: 0;
  }
  to {
    width: 00px;
  }
}

@keyframes blink {
  45% {
    border-right: 2px solid white;
  }

  100% {
    border-right: 2px solid white;
  }
}

/* The typing effect */
@keyframes typing {
  from {
    width: 0
  }

  to {
    width: 100%
  }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to {
    border-color: transparent
  }

  50% {
    border-color: orange;
  }
}
}

@keyframes rainbow_animation {
  0%, 100% {
    background-position: 0 0;
  }

  50% {
    background-position: 100% 0;
  }
}

.hovertext {
  position: relative;
  color: #FF00F3;
}

.hovertext:before {
  content: attr(data-hover);
  visibility: hidden;
  opacity: 0;
  width: 400px;
  background-color: black;
  color: blue;
  text-align: center;
  border-radius: 5px;
  padding: 5px 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 110%;
}

.hovertext:hover:before {
  opacity: 1;
  visibility: visible;
}

body {
  cursor: url('site/curseur.png'), auto;
}
}
