@font-face {
  font-family: Custom;
  src: url("fonts/ModernGothic-Regular.otf");
  /* font-size: 10em; */
}

body {
  background-color: white;
  margin: 0;
  font-family: Custom, helvetica;
  text-align: center;
  opacity:0;
  transition: 1s ease;
}

p {
  text-align: center;
  padding-left: 15px;
  padding-right: 15px;
}

#welcome {
  height:100vh;
  width:100vw;
  position: fixed;
  top:0;
  color:white;
  background-color: #1727D8;
  vertical-align: middle;
  /* opacity:0.5; */
}

#welcome:hover{
  cursor:pointer;
}

#welcome p {
  font-size: 30px;
  font-family: Custom;
  text-align: left;
}

/* barre de navigation, fixe sur les pages d'accueil et en dropdown poru les pages de filtres couche 1  */
#top {
    width: 100vw;
    height: 70px;
    background-color: white;
    border-bottom: 2px solid #1727D8;
    top: 0;
    left: 0;
    position: fixed;
    z-index: 10000;
    display: none;
}

#nav {
    color: #1727D8;
    margin-top: 12.5px;
    width: 100%;
}

#button_about {
    display: inline-block;
    height: 40px;
    margin-right: 20px;
    border: 2px solid #1727D8;
    border-radius: 30px;
    cursor: pointer;
    float: right;
}

#button_about p {
    margin: 1px;
    margin-top: 4px;
    font-size: 1.5em;
    text-align: center;
    cursor: pointer;
}
#button_about:hover{
  background-color: #1727D8;
  color:white;
}

.bouton{
  display: inline-block;
  height:40px;
  margin-right:5px;
  border:2px solid #1727D8;
  border-radius: 30px;
  float:left
}
.bouton p {
  margin:4px;
  font-size: 1.5em;
  text-align: center;
}

.bouton:hover {
  color:white;
  background-color: #1727D8;
  cursor: pointer;
  /* cursor: url('cursor.png'), pointer; */
}

#button_questions {
  margin-left: 20px;
  background-color: #1727D8;
  color:white;
  cursor: default;
}



/* div container pour l'ensemble des vignettes de vidéos correspondant à chaque question */

#corps {
  display:block;
  /* max-width: 1600px; */
  margin:auto;
  margin-top:78px;
  margin-bottom: 5px;

}

#all_questions {
  height: auto;
  max-width: -webkit-calc(100% - 10px);
  margin: auto;
}

.questions_blocs {
  position: relative;
      display: inline-block;
      /* max-width: 200px; */
      width: -webkit-calc(25% - 10px);
      margin: 5px;
      float: left;
      cursor: zoom-in;
}
.questions_blocs img{
    display: block;
    width:100%;
    object-fit: contain;
    filter: grayscale(100%);
}

.text_questions {
  position: absolute;
  height: auto;
  width:90%;
  top:0%;
  font-size: 1vw;
  display: block;
  color: white;
  transition: 0.5s ease;
  padding:0px;
  padding-left: 5%;
  z-index: 10;
}

.idle_video1, .idle_video2{
  width: 100%;
  object-fit: cover;
  filter: grayscale(100%);
}

.number_acc {
  position: absolute;
  height: auto;
  width:90%;
  bottom:2%;
  font-size: 1vw;
  display: block;
  color: white;
  transition: 0.5s ease;
  padding:0px;
  padding-left: 5%;
  z-index: 10;

}

.blue {
  position: absolute;
  top: 0px;
  width: 91%;
  height: 100%;
  text-align: left;
  padding-left: 3%;
  display: block;
  color: white;
  font-size: 2vw;
}
