
@font-face {
  font-family: "VG5000";
  src : url("assets/VG5000.otf") format("otf");
}

body {
  margin: 0 auto;
  background-color: black;
  background-image: url(imgs/fond_grille.png);
  background-position-x: center;
  background-size: 130%;
  background-repeat: no-repeat;
  /* background-size: auto;
  /* background:no-repeat top/120% url("imgs/fond_grille.png"); */
  overflow:hidden;
  font-family: "VG5000", monospace;

}
input {
  outline-width: 0;}
  .section {
    /* display: none; */
  }
  input:hover {
    filter: invert(1);
    animation: invert_dossier_anim 0.2s;
  }
  iframe {
    border: none;
    overflow-y: scroll;
  }
a {
color: inherit;
}
  #iframe_1 {
    margin-top: 50%;
    /* align-self: center; */
    margin-left: 50%;
    transform: translate(-50%, -50%);
  }

  #iframe_2 {
    margin-top: 55%;
    /* align-self: center; */
    margin-left: 50%;
    transform: translate(-50%, -50%);
  }

  #iframe_3 {
    margin-top: 60%;
    /* align-self: center; */
    margin-left: 50%;
    transform: translate(-50%, -50%);
  }
  .cadre_jeu {
    display: flex;
    justify-content:center;
  }

  .cadre_in_jeu {
    padding: 1%;
  }

  .cadre_in_bouton {
    padding: 1%;
  }

  .quitter_jeu {
    width: auto;
    right: 0;
    bottom: 0;
    margin-right: 40px;
    /* margin-bottom: 40px; */
    padding: 8px;
    position: absolute;
    background-color: black;
    /* border: dotted 2px white; */
    overflow: hidden;
    font-size: 10px;
  }
  .texte_bouton_quitter_jeu {
    font-size: 12px;
  }
  .bouton_debloque_anecdote {
    float: right;
  }
  #bouton_fenetre_jeu {
    /* align-self: flex-end; */
    align-self:center;
    position: absolute;
    margin-top: 140px;
  }


  p {
    color: white;
    font-family: "VG5000", monospace;
    font-size: 16px;
  }

  h1 {
    font-family: monospace;
    color: white;
    margin: 0;
    align-self: center;
    margin-bottom: 3px;
    font-size: 14px;
  }

  h2 {
    font-family: monospace;
    background-color: white;
    width:fit-content;
  }

  .wrap_fenetres {
    display: grid;
    /* grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px; */
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -2;
  }

  .wrap_fenetre_layou {
    background-color: red;
    opacity: 0.4;
  }

  .bureau_gauche {
    grid-area: 1 / 1 / 6 / 4;
    /* background-color: tomato; */
    width: 100%;

  }

  .bureau_droite {
    grid-area: 1 / 4 / 6 / 6;
    /* background-color: grey; */
    border: 2px solid white;
    width: 100%;
  }

  .fenetre {
    margin-left: 5vh;
    margin-top: 5vh;
    width: 400px;
    padding: 0;
    height: auto;
    background-color: black;
    border: 5px solid white;
    opacity: 1;
    position: absolute;
  }
  .fenetre {
    display: none;
  }
.fenetre_bravo {
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
  width: 400px;
  padding: 18px;
  height: auto;
  background-color: black;
  border: 5px dashed white;
  opacity: 1;
  position: absolute;
flex-direction: column;
animation: 7s anim_bravo;
}

.image_bravo{
width: 100%;
}
  .fenetre_regle {
    top: 300px;
    left: 40px;
width: 600px;
  }
  .prez {
    margin-left: 50%;
    transform: translate(-50%,0);
  }

  .fenetre_profil {
    position: absolute;
    top: 0;
    margin: 10%;
    display: none;
  }
  .fenetre_profil.show_fiche {
    display: block;
  }
  .fenetre_kos {
    position: absolute;
    display: none;
    width: 743px;
    height: 450px;
    justify-content: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  .fenetre_kos.show_fiche {
    display: flex;
    filter: opacity(1);
    animation: anim_opacity 0.3s;
  }
  .img_fenetre_kos {
  }
.hero{
  background-image: url(imgs/jeu/cadre.png);
      background-size: cover;
      color: #ffffff;
      padding: 1em;
      text-align: center;
}

.hero p {
margin-top: 44px;
padding: 24px;
line-height: 1.5em;
}
.pictos_kos {
width: 250px;
float: left;
padding-left: 44px;
}
.pictos_kos:nth-child(3) {
float: right;
width: 280px;
padding-right: 44px;
bottom: 0;
}
  .pictos_dock_hide {
    display: none;
  }
  #intro_4 {
    display: block;
    top: 50%;
    transform: translate(0,-50%);
    left: 40px;
  }
  #intro_2 {
    display: block;
    top: 50%;
    transform: translate(0,-50%);
    left: 40px;
  }
  #intro_3 {
    display: block;
    top: 50%;
    transform: translate(0,-50%);
    left: 40px;
  }


  #intro_prez_1 {
    /* margin-left: 1 */
  }
  #intro_prez_2 {
    margin-left: 45%;
    margin-top: 12%;
  }
  #intro_prez_3 {

    margin-left: 35%;
    margin-top: 18%;
    width : 500px;
  }
  #intro_prez_4 {
    margin-left: 60%;
    margin-top: 10%;
    width: 450px;
  }
  #intro_prez_5 {

  }

  .header_fenetre {
    background-color: black;
    padding-left: 10px;
    margin: 3px;
    padding: 5px;
    border: 3px solid white;
    display: flex;
    justify-content: space-between;
    overflow: hidden;
  }
  .texte_fenetre {
    margin: 3px;
    padding: 10px;
    border: 3px solid white;
    display: flex;
    flex-direction: column;}

    .boutons_img {
      margin: 0;
      object-fit: contain;}

      input {
        width: 75px;
        align-self: flex-end;}

        .bouton_pour_memory {
          align-self: center;
          position: absolute;
          margin-top: 50px;
        }
        #bouton_hover {
          display: none;
        }

        .wrap_jeu {
          position: absolute;
          width: 800px;
          height: 80%;
        }
        .dock {
          background-color: red;
          width: 220px;
          /* height: 80px; */
          position: fixed;
          bottom: 0;
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          grid-template-rows: 1fr;
          grid-column-gap: 0px;
          grid-row-gap: 0px;
        }

        .dock_imgs {
          display: flex;
          justify-content: center;
          cursor: pointer;
        }
        .dock_imgs:hover {
          filter: invert(1);
          animation: invert_dossier_anim 0.2s;
        }
        .dock1 { grid-area: 1 / 1 / 2 / 2;
          background-color: black;
          border: 2px solid white;
        }

        .logo_OS {
          width: 70%;
          object-fit: contain;
        }

        .pictos_dock {
          width: 80%;
        }
        .dock2 { grid-area: 1 / 2 / 2 / 3;
          background-color: black;
          border: 2px solid white;}
          .dock3 { grid-area: 1 / 3 / 2 / 4;
            background-color: black;
            border: 2px solid white;}

            #section_regle_1 {
              width: 100%;
              /* position: absolute; */
              height: 100%;
              /* display: flex; */
              display: none;
              /* background-color: green; */
              /* justify-content: center;
              align-items: center; */
            }

            #section_regle_2 {
              width: 100%;
              height: 100%;
              display: none;
            }
            #section_regle_3 {
              width: 100%;
              height: 100%;
              display: none;
            }
            .section_regles {
              justify-content:center;
              width: 100%;
              border: none;
              position: absolute;
              /* margin: 1% 0 0 5%; */
            }

            .regle {
              width: 85%;
              margin: 0;
              padding: 0;
              height: auto;
              /* background: no-repeat center/100% url(imgs/jeu/cadre.png); */
              background-size: contain;
              display: flex;
              align-items: center;
              top: 50%;
              justify-content: center;
              position: absolute;
              left: 50%;
              transform: translate(-50%,-50%);
            }

            .fond_regles {
              width:100%;
            }

            .fond_jeu {
              z-index: -1;
              position: absolute;
              width: 100%;
              top: 0;
            }

            .img_regle {
              /* width: 60%; */
              height: 70%;
              margin-top: 12%;
            }
            .jeu {
              overflow: visible;
              position: absolute;
              width: 85%;
              height: 85%;
              /* margin: 2.5% 5% 0px; */
              top: 45%;
              left: 50%;
              transform: translate(-50%,-50%);
            }
            #jeu1 {
              display: none;
            }
            #jeu2 {
              display: none;
            }

            #jeu3 {
              display: none;
            }

            .dossier {
              /* width: 100%; */
              /* height: 100%; */
              margin: 50px;
              margin-top: 75px;
            }

            .dossier_contenu {
              margin-left: 5vh;
              margin-top: 5vh;
              width: 50%;
              padding: 0;
              height: auto;
              background-color: black;
              border: 5px solid white;
              display: none;
            }

            .dossier_after {
              display: none;
            }
            #dossier_2:visited {
              background-color: red;
            }

            .dossier_after.dossier_gris {
              display: block;
            }

            .dossier_before {
              display: block;
            }

            .dossier_before.dossier_before_hide {
              display: none;
            }

            #loader {
              height: 1500px;
              width: 1500px;
              background-color: blue;
              position: fixed;
              top : 50%;
              left: 50%;
              transform: translate(-50%,-50%);
              z-index: 999;
            }

            #loader img {
              position: absolute;
              top : 50%;
              left: 50%;
              transform: translate(-50%,-50%);
            }

            #carnet_section {
              display: flex;
              justify-content: flex-end;
            }
            .carnet_wrap {
              margin-top:75px;
              margin-right:75px;
              width: 45%;
              padding-top: 20px;
              display: flex;
              right: 0;
              justify-content: center;
              align-items: center;
              position: absolute;
              height: 80%;
              background-color: rgb(0,0,0,0.95);
              flex-direction: column;
              flex-wrap: wrap;
              border: solid 3px white;
              z-index: -1;
            }

            .infos_carnet {
              position: absolute;
              top: -20px;
              left: -20px;
              width: 60px;
            }
            .infos_regle_jeu {
              position: absolute;
              right: -20px;
              width: 60px;
            }
            .infos_carnet:hover {
              filter: invert(1);
              transform: scale(1.2);
              animation: invert_anim 0.2s;
            }
            .infos_regle_jeu:hover {
              filter: invert(1);
              transform: scale(1.2);
              animation: invert_anim 0.2s;
            }

            .fenetre_info_carnet {
              margin-left: 5vh;
              margin-top: 5vh;
              width: 400px;
              padding: 0;
              height: auto;
              background-color: black;
              border: 5px solid white;
              opacity: 1;
              z-index: 99;
              position: absolute;
              display: none;
            }
            .fenetre_info_regles {
              right: 40px;
  top: 80px;
  width: 350px;
  padding: 0;
  height: auto;
  background-color: black;
  border: 5px solid white;
  opacity: 1;
  /* transform: translate(-50%,-50%); */
  z-index: 99;
  position: absolute;
  display: none;
            }
            .background_carnet_wrap {
              /* width: 100vw;
              height: 100vw;
              background-color: red;
              position: absolute;
              top: 0; */
            }

            .anecdote_img {
              height: auto;
              width: 500px;
              position: absolute;
              transform: scale(0.9) rotate(15deg);
              transition: all .4s cubic-bezier(0.19, 1, 0.22, 1);
            }
            .anecdote_img_filtre {
              filter: blur(2px) invert(1);
              border: dashed 10px black;
            }
            #anecdote_lenine {
              width: 380px;
              transform: scale(0.9) rotate(-10deg);
            }

            #anecdote_lenine:hover {
              transform: scale(1) rotate(0);
            }
            #anecdote_lenine_2 {
              width: 380px;
              transform: scale(1) rotate(-10deg);
            }
            #anecdote_lenine_2:hover{
              transform: scale(1) rotate(0);
            }

            #anecdote_swipe{
              transform: scale(0.9) rotate(-25deg);
            }
            #anecdote_swipe:hover{
              transform: scale(1) rotate(0);
            }
            #anecdote_swipe_2 {
              transform: scale(0.9) rotate(-25deg);
            }
            #anecdote_swipe_2:hover{
              transform: scale(1) rotate(0);
            }
            #anecdote_collection:hover {
              transform: scale(1) rotate(0);
            }
            #anecdote_collection_2:hover{
              transform: scale(1) rotate(0);
            }
            .anecdote_img:hover {
              z-index: 10;
              transform: scale(1) rotate(0);
            }
            #anecdote_2{
              transition: all .4s cubic-bezier(0.19, 1, 0.22, 1);
            }




            /* #anecdote_swipe {
            z-index: 99;
            width: 400px;
            height: auto;
            transform: rotate(-20deg);
            right: 0;
          }
          #anecdote_swipe_2 {
          z-index: 99;
          width: 400px;
          height: auto;
          transform: rotate(-20deg);
          right: 0;
        }

        #anecdote_lenine {
        margin-top: 100px;
        margin-left: -100px;
        height: auto;
        width: 230px;
        float: left;
        transform: rotate(20deg);
        right: 0;
      }
      #anecdote_lenine_2{
      margin-top: 100px;
      margin-left: -100px;
      height: auto;
      width: 230px;
      float: left;
      transform: rotate(20deg);
      right: 0;
    }

    #anecdote_collection {
    align-self:center;
    height: auto;
    width: 400px;
    z-index: 1;
  }
  #anecdote_collection_2 {
  align-self:center;
  height: auto;
  width: 400px;
  z-index: 1;
  } */
  .anecdote_2 {
    display: none;
    border: dashed 5px white;
    /* z-index: 99; */
    /* position: absolute; */
  }

  /* #anecdote_lenine_2:hover {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1%;
  z-index: 100;
  width: 400px;
  transform: rotate(0deg);
}
#anecdote_collection_2:hover {
width: 550px;
transform: rotate(0deg);
z-index: 100;

}
#anecdote_swipe_2:hover {
width: 500px;
transform: rotate(0deg);
z-index: 100;

} */
.anecdote_2:hover {
  z-index: 10;

}
.background_debut {
  position: absolute;
  width: 100vw;
  top: 0;
  height: 100vw;
  background-color: black;
  z-index: -1;
  opacity: 0.9;
}

#section_memory {
  display: none;
  width: 100%;
  height: 100%;
}

@media (min-width: 1600px) {
  /* #anecdote_swipe {
    width: 500px;
  }
  #anecdote_swipe_2 {
    width: 500px;
  }


  #anecdote_lenine {
    width: 300px;
  }
  #anecdote_lenine_2{
    width: 300px;
  }

  #anecdote_collection {
    width: 500px;
  }
  #anecdote_collection_2 {
    width: 500px;
  }

  #anecdote_lenine_2:hover {
    width: 500px;
  }
  #anecdote_collection_2:hover {
    width: 650px;
  }
  #anecdote_swipe_2:hover {
    width: 650px;
  } */
  input {
    width: 105px;
  }
  p {
    font-size: 21px;
  }
  h1 {
    font-size: 16px;
  }
.fenetre_kos {
width: 990px;
height: 600px;
}

.pictos_kos {
width: 350px;
}
.pictos_kos:nth-child(3) {
400px;
}
.anecdote_img {
width: 700px;
}
#iframe_1 {
margin-top: 55%;
}
#iframe_2 {
margin-top: 60%;
}
#iframe_3 {
margin-top: 65%;
}
/* .regle{
width: 75%;
} */
/* .jeu {
width: 75%;
} */
}
@media (min-width: 1500px) {
.jeu {
width: 75%;
}
.regle{
width: 75%;
}
}
/* anims */
@keyframes invert_anim {
  0% {
    filter: invert(0);
    transform: scale(1);
  }
  50% {
    filter: invert(0.5);
    transform: scale(1.1);
  }
  100% {
    filter: invert(1);
    transform: scale(1.2);
  }
}
@keyframes invert_dossier_anim {
  0% {
    filter: invert(0);
  }
  50% {
    filter: invert(0.5);
  }
  100% {
    filter: invert(1);
  }
}
@keyframes anim_opacity {
  0% {
    filter: opacity(0);
  }
  50% {
    filter: opacity(0.5);
  }
  100% {
    filter: opacity(1);
  }
}
@keyframes anim_bravo {
  0% {
border: dashed 5px white;
  }
  25% {
border: dashed 5px grey;
  }
  50% {
    border: dashed 5px white;
  }
  75% {
    border: dashed 5px grey;
  }
  100% {
    border: dashed 5px white;

  }
}
