@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;
}


#button_gesture {
  background-color: #1727D8;
  color:white;
}

#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;
    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;
}

#button_questions {
  margin-left: 20px;
}

.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;
}
#sections {
  position: fixed;
  width:100%;
  height:70px;
  top:72px;
  background-color: white;
  z-index : 9999;
  border-bottom: 2px solid #1727D8;
}

.section{
  display: inline-block;
  height: 40px;
  margin-right: 5px;
  border: 2px solid #1727D8;
  border-radius: 30px;
  float: left;
  cursor : pointer;
  margin-top: 12.5px;
}

.section p {
  color: #1727D8;
  margin: 4px;
  font-size: 1.5em;
  text-align: center;
}

#hands_section {
  margin-left: 20px;
}

#corps {
  width: -webkit-calc(100% - 10px);
  margin: auto;
  margin-top: 150px;
}

.geste_bloc {
  display: inline-block;
  width: 100%;
  margin-bottom: 70px;
  color: #1727D8;
  background-color: white;
}
.title {
  height: 40px;
  width: 100%;
  float: left;
  margin: 10px 0px 10px 10px
}

.title p {
  float: left;
  border: 2px solid #1727D8;
  border-radius: 30px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0;
  font-size: 1.5em;
  line-height: 40px;
}

.geste {
  position: relative;
  display: inline-block;
  width: -webkit-calc(25% - 10px);
  margin: 5px;
  float: left;
  cursor: zoom-in;

}

.name_gesture{
  position: absolute;
  display: block;
  top: 0px;
  width: 91%;
  text-align: left;
  padding-left: 3%;
  padding-top: 3%;
  color: white;
  font-size: 2vw;
  z-index: 10;
  margin: 0;
}

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


#other {
  margin-bottom : 0px;
}


@media only screen and (max-width: 515px) {
#sections {
  display: none;
}
#corps{
  margin-top: 78px;
}
}
