@font-face {
  font-family: "avenir";
  src: url("./fonts/avenir.ttf");
}
* {
  font-family: "avenir";
}
body {
  padding: 0;
  margin: 0;
}
      #video {
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        overflow:hidden;
        top: 0;
        left: 0;
        background-size:cover;
        object-fit: cover;
        z-index: -2;
        position: absolute;
      }

.contenant {
  max-width: 1600px;
  min-width: 300px;
  margin-left: auto;
  margin-right: auto;
}
/* NAV */
/* NAV */
/* NAV */
#nav {
  width: 100%;
  height: 50px;
  background-color: #4d4d4d;
  position: relative;
}
#logo {
  width: auto;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  margin-top: 5px;
  margin-bottom: 5px;
  float: left;
}
#logo img {
  height: 100%;
  width: auto;
  margin-left: 5px;
}
#nav_title {
  width: auto;
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 10px;
  float: left;
  text-transform: uppercase;
  color: #fff;
  font-size: 16px;
}
#menu {
  width: auto;
  height: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
  margin-right: 5px;
  float: right;
}
#menu a {
  height: 30px;
  line-height: 30px;
  vertical-align: middle;
  text-align: center;
  font-size: 16px;
  display: block;
  float: left;
  padding-left: 10px;
  padding-right: 10px;
  color: #fff;
  text-decoration: none;
  text-transform:uppercase;
}
#menu a:first-child {
  background-color: transparent;
}
#menu a:last-child {
  background-color: #cd0037;
}
#button_low {
  background-color: transparent;
  width:16px;
  height:19px;
  border: none;
  padding: 0;
  margin: 0;
  display: none;
  background-image: url('../images/picto_profil_mobile.png');
  background-size: cover;
  margin-top: 5.5px;
  margin-bottom: 5.5px;
}
@media(max-width: 500px) {
  #button_low {
    display: block;
  }
  #menu span {
    position: absolute;
    z-index: 10;
    top: 50px;
    right: 0;
    display: none;
  }
}
/* FIN NAV */
/* FIN NAV */
/* FIN NAV */

/* HEADER */
/* HEADER */
/* HEADER */
#header {
  width: 100%;
  height: calc(100vh - 50px);
  position: relative;
  background-color: transparent;
}
#menu_header {
  position: absolute;
  z-index: 10;
  top: 30%;
  left: 0;
  height: auto;
  width: 100%;
}
#menu_header h1,#menu_header p {
  width: 100%;
  text-align: center;
  color: #fff;
  text-transform:uppercase;
}
#menu_header h1 {
  font-size: 44px;
  margin-bottom: 3px;
}
#menu_header p {
  margin: 0;
  font-size: 24px;
}
#bouton_header {
  width: 100%;
  margin-top: 2%;
  height: auto;
  text-align: center;
}
#bouton_header button,#bouton_header a {
  display: inline-block;
  height: 30px;
  line-height: 30px;
  border: 1px solid #fff;
  background-color: transparent;
  border-radius: 3px;
  padding: 0;
  margin: 0;
  margin-left: 15px;
  margin-right: 15px;
  padding-left: 10px;
  padding-right: 10px;
  width: 220px;
  text-decoration: none;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
}
#bouton_header a {
  color: #4d4d4d;
  background-color: #fff;
}
#bouton_header button:hover {
  color: #4d4d4d;
  background-color: #fff;
}
#bouton_header a:hover {
  color: #fff;
  background-color: transparent;;
}
#scroll {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  vertical-align: middle;
  text-align: center;
  background-color: #efefef;
}
#scroll img {
  cursor:pointer;
  margin-bottom: 8.5px;
}
@media(max-width:700px) {
  #header {
    background-image:url('../images/image_accueil_2.png');
    background-size: cover;
    background-position: center;
  }
  #video {
    display: none;
  }
}
@media(max-height:550px) {
  #header {
    background-image:url('../images/image_accueil_2.png');
    background-size: cover;
    background-position: center;
  }
  #video {
    display: none;
  }  
}
@media(max-width:500px) {
  #bouton_header a {
    display: none;
  }
  #bouton_header button {
    margin-left: auto;
    margin-right: auto;
    height: 50px;
    line-height: 50px;
  }
  #scroll {
    display: none;
  }
  #menu_header {
    top: 23%;
  }
  #menu_header h1 {
    font-size: 32px;
  }
  #menu_header p {
    font-size: 24px;
    display: none;
  }
}
@media(max-height: 500px) {
  #menu_header {
    top: 5%;
  }
}
/* FIN HEADER */
/* FIN HEADER */
/* FIN HEADER */
/* UNIT1 */
/* UNIT1 */
/* UNIT1 */
#unit1 {
  background-color: #efefef;
  width: 100%;
  height: auto;
  padding-top: 20px;
}
#unit1 .contenant {
  background-color: transparent;
  text-align: center;
}
#unit1_img_mobile {
  display: none;
}
@media(max-width:500px) {
  #unit1_img_mobile {
    display: inline;
  }
  #unit1_img_desktop {
    display: none;
  }
}
/* FIN UNIT1 */
/* FIN UNIT1 */
/* FIN UNIT1 */
/* UNIT2 */
/* UNIT2 */
/* UNIT2 */

#unit2 {
  background-color: #efefef;
  width: 100%;
  height: auto;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}
#unit2 h2  {
  text-align: center;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 32px;
  line-height: 30px;
  vertical-align: middle;
  height: auto;
  color:#4d4d4d;
  margin-bottom: 4px;
  padding-left:10px;
  padding-right:10px;
  width: calc(100% - 20px);
}
#unit2 #unit2_h2 {
  color: #cd0037;margin-bottom: 50px;
}
#unit2 p {
  text-align: center;
  color:#4d4d4d;
  font-size: 16px;
  line-height: 14px;
  vertical-align: middle;
  margin: 0;
  margin-bottom: 4px;
  padding-left:10px;
  padding-right:10px;
  width: calc(100% - 20px);
}
#unit2 #unit2_p {
  margin-top: 50px;
  margin-bottom: 15px;
}
#unit2_img1 {
  position: absolute;
  width: 672px;
  height: 115px;
  bottom: -59.5px;
  left: 50%;
  margin-left: -336px;
}
#unit2_img2 {
  display: none;
  margin-left: auto;
  margin-right: auto;
}
#unit_2_mob {
  display: none;
}
#unit2_mob {
  display: none;
}
@media(max-width:672px) {
  #unit2_img1 {
    position: absolute;
    width: 100vw;
    height: 17.11vw;
    bottom: -9vw;
    left: 0;
    margin-left: 0;
  }
}
@media(max-width:401px) {
  #unit2_img1 {
    display: none;
  }
  #unit2_img2 {
    display:block;
    width: 100%;
    height: auto;
    background-color: #fff;
  }
  #unit2 #unit2_p {
    margin-top: 0;
  }
  #unit2 p {
    margin-bottom: 10px;
  }
  #unit2 {
    padding-bottom: 0;
  }
}
@media(max-width:400px) {
  #unit_2_mob {
    display: inline;
  }
  #unit2_mob {
    display: inline;
  }
  #unit_2_desk {
    display: none;
  }
  #unit2 h2 {
    font-size: 24px;
    line-height:22px;
    text-align: left;
  }
  #unit2 p {
    font-size: 20px;
    line-height:22px;
    text-align: left;
  }
}
/* FIN UNIT2 */
/* FIN UNIT2 */
/* FIN UNIT2 */
/* UNIT3 */
/* UNIT3 */
/* UNIT3 */

#unit3 {
  padding-top: 10Opx;
  padding-bottom: 30px;
  text-transform: uppercase;
}
#unit3 p{
  margin-top: 100px;
  text-align: center;
}
#unit3 .contenant {
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
  background-color: transparent;
}
#unit3 .contenant a {
  color: #cd0037;
  font-size: 16px;
  text-decoration: none;
}
@media(max-width:400px) {
  #unit3 .contenant {
    padding: 0;
    text-align: center;
  }
  #unit3 {
    padding-top: 25px;
  }
}
/* FIN UNIT3 */
/* FIN UNIT3 */
/* FIN UNIT3 */
/* FOOTER */
/* FOOTER */
/* FOOTER */

#footer {
  width: 100%;
  height: 35px;
  line-height: 35px;
  vertical-align: middle;
  text-align: center;
  background-color:#4d4d4d;
  border-top: 4px solid #cd0037;
  color: #fff;
}
#footer a {
  color: #fff;
  text-decoration: none;
}
/* FIN FOOTER */
/* FIN FOOTER */
/* FIN FOOTER */

/* TEASER */

#player {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 101;
  margin-left: -350px;
  margin-top: -210px;
  display: none;
  padding: 30px;
}
#close {
  position: absolute;
  z-index: 102;
  right: 0;
  top: 0;
  cursor: pointer;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #fff;
  background-color: rgba(0,0,0,0.4);
}
#voile {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0,0,0,0.5);
  display: none;
}

/* menu burger */


@media (min-width: 751px) {
  #menuToggle {
    display: none !important;
  }

}
@media (max-width:750px) {
  .contenant{
    display: flex;
flex-direction: row;
justify-content: center;
  }
  #unit1{
    margin-top: -27px;
  }
  #nav_title{
    display: none;
  }
  #menu {
    display: none !important;
  }
  #nav{
    display:flex;
    justify-content: center;
    flex-direction: row;
  }
  #bouton_header{
    display:none
  }
  #header{
    display:none
  }
}

  #menuToggle
{
  display: block;
  position: relative;
  top: -36px;
  left: 10px;
  
  z-index: 100;
  
  -webkit-user-select: none;
  user-select: none;
}

#menuToggle a
{
  text-decoration: none;
  color: #232323;
  
  transition: color 0.3s ease;
}

#menuToggle a:hover
{
  color: tomato;
}


#menuToggle input
{
  display: block;
  width: 40px;
  height: 32px;
  position: absolute;
  top: -7px;
  left: -5px;
  
  cursor: pointer;
  
  opacity: 0; 
  z-index: 2; 
  
  -webkit-touch-callout: none;
}


#menuToggle span
{
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  
  background: #cdcdcd;
  border-radius: 3px;
  
  z-index: 1;
  
  transform-origin: 4px 0px;
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
              opacity 0.55s ease;
}

#menuToggle span:first-child
{
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2)
{
  transform-origin: 0% 100%;
}


#menuToggle input:checked ~ span
{
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}


#menuToggle input:checked ~ span:nth-last-child(3)
{
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}


#menuToggle input:checked ~ span:nth-last-child(2)
{
  transform: rotate(-45deg) translate(0, -1px);
}


#menu_burger
{
  position: absolute;
  width: 100%;
  height: 100vh;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;
  
  background: #fff;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;

  
  transform-origin: 0% 0%;
  transform: translate(-100%, 0);
  
  transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu_burger li
{
  padding: 10px 0;
  font-size: 22px;
}

#menuToggle input:checked ~ ul
{
  transform: none;
}
