* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root{
  --main-height-nav: 70;
}
a {
  text-decoration: none;
}
body{
    
    background-color: #8e8e8e;
    font-family: 'Montserrat', sans-serif;    
    font-weight: 200;
  }
article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}



.laBorder {
  border: 1px solid #303030;
}
/* ---------------------------- la navigation ---------------------------- */
   /* The navigation bar */

  nav {
   /* display: flex;
    justify-content: space-around;*/
    display: flex;
    overflow: hidden;
    z-index: 9997;
    background-color: #858687;
    position: fixed; 
    height: var(--main-height-nav)+'px';
    width: 100%;
    align-items: center;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    border-bottom: 1px solid rgba(250, 249, 249, 0.5);
    box-shadow: 0px 5px 15px #303030;
    padding-right: 20px;
  }

.logoTitre{
  display: flex;
  align-items: center;
  height: var(--main-height-nav) +'px';
  margin-left: 230px;
  margin-right: 10%;
  width: 35%;
  height: 58px;
  padding-top: 10px;
}

  input[type=checkbox] {
    display: none;
  }


  nav ul {
    list-style-type: none;
  }

 

  .nav-links {
    display: flex;
    justify-content: space-around;
    padding-top: 20px;
    width: 40%;
  }
  .nav-links li {
    list-style: none;
}


  
  /* Links inside the navbar  */
  .nav-links a {
    color: white;
    text-decoration: none;
    letter-spacing: 1px;
    font-size: 14px;
    text-transform: uppercase;

}

  nav.scroll { 
    opacity: 1;
    background-color: #858687; 
    /*opacity: 1;*/
  }


.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  border-radius: 3px;
}
.burger {
  display: none;
}

@media screen and (max-width: 768px) {
  .nav-links {
      display: none;
  }
  .logoTitre {
    height: 30px;
  }
  .burger {
      display: block;
      cursor: pointer;
  }

  input[type=checkbox]:checked ~ .nav-links {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: absolute;
      top: 7vh;
      right: 0;
      background-color: #333;
      width: 40%;
      height: 70vh; /* 92vh*/
  }
}
@media screen and (max-width: 1300px) {
  .nav-links {
      display: none;

  }  
}

/* ------------------ fin de la navigation  -------------------------*/


.drapeauG {
  content: '';
  width: 150px;
  height: 250px;
  background: rgb(73, 72, 72);
  margin-top: -300px;
  margin-left: 40px;
  position: fixed;
  z-index: 9998;
  opacity: 0;
  transition: top 0.2s linear;

}
.drapeauG::before, .drapeauG::after{
    content: '';
    position: absolute;
    width: 0;
    height: 0;

}

.drapeauG:after {
  bottom: -25px;
  left: 0;
  border-left: 75px solid rgb(73, 72, 72);
  border-right: 75px solid rgb(73, 72, 72);
  border-bottom: 25px solid transparent;
}
.monDeconte{
 display: flex;
 justify-content: end;
 top: 80%;
 height: 80px;
 width: 100%;
 position: absolute;
 z-index: 9996;
 text-align: right;
}

.drapeauR > div:first-child {
  margin: 0 20px 0 0;
}


#invitation{
  display: none;
  font-size: 20px;
  color: #fff;
  margin-right: auto;
  padding-left: 235px;
 
}
#invitation a{
  font-weight: 400;
  color: #fff;
}
.drapeauR {
 /* min-width: 20%;*/
  display: flex;
  align-items: center;
  justify-content: end;
  height: 80px;
  background: rgb(210, 1, 1);
 /* margin: 0 0 0 60%;*/
  position: relative;
  padding: 0 10px 0 10px;
 

}
.drapeauR::before, .drapeauR::after{
  content: "";
  position: absolute;
  width: 0;
  height: 0;

}
.drapeauR::before{
  top: 0px;
  left: -30px;
  border-right: 30px solid rgb(210, 1, 1);
  border-bottom: 40px solid transparent;

}
.drapeauR:after {
  bottom: 0px;
  left: -30px;
  border-right: 30px solid rgb(210, 1, 1);
  border-top: 40px solid transparent;
}


.container{

  width: 100%;
  height: 100vh;
   background-position: center top;
   background-attachment: fixed;
   background-repeat: no-repeat;
  background-size: cover;

  /* pour son texte */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;

}

@media (min-width: 481px) and (max-width: 1024px) {
  .container {
      background-image: url(../img/cover2.jpg);
  }
}
@media (min-width: 1025px) {
  .container {
      background-image: url(../img/cover1.jpg);
  }
}


#tdra {
 /* background-image: url('../img/Logo_compagnons_1B.svg');*/
 z-index: 9998;
 top: 20%;
 left: 10%;

}
#drag {
 /*background-image: url('../img/Logo_compagnons_2B.svg') ;*/
 background-image: url('../img/Logo_compagnons_B.svg') ;
 
  z-index: 9999;
  top: 20%;
  left: 10%;

}

#tdra, #drag {
  position: fixed;
  width: 600px;
  height: 600px;
  background-position: center top;
  background-size: cover;
  background-size: 80%;

  filter: drop-shadow(5px 10px 3px rgb(0 0 0 / 0.4));
  background-repeat: no-repeat;

}





 

/* Scrolling Mouse Animation */
.scrollMouse {
    position: absolute;
    z-index: 9996; /* base  ato*/
    bottom: 1.5em; /*2.8em*/
    left: 50%;
    margin-left: -12px;
}
.mouse-icon {
  border: 2px solid #fff;
  border-radius: 16px;
  height: 45px;
  width: 26px;
  display: block;
  z-index: 10;
  background-color: rgba(0,0,0,0.5);
}
.mouse-icon .wheel {
  -webkit-animation-name: drop;
  -webkit-animation-duration: 1s;
  -webkit-animation-timing-function: linear;
  -webkit-animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-play-state: running;
  -webkit-animation-name: drop;
          animation-name: drop;
  -webkit-animation-duration: 1.5s;
          animation-duration: 1.5s;
  -webkit-animation-timing-function: linear;
          animation-timing-function: linear;
  -webkit-animation-delay: 0s;
          animation-delay: 0s;
  -webkit-animation-iteration-count: infinite;
          animation-iteration-count: infinite;
  -webkit-animation-play-state: running;
          animation-play-state: running;
}
.mouse-icon .wheel {
  position: relative;
  border-radius: 10px;
  background: #fff;
  width: 2px;
  height: 6px;
  top: 4px;
  margin-left: auto;
  margin-right: auto;
}
@-webkit-keyframes drop {
  0% {opacity: 0;}
  10% {transform: translateY(5); opacity: 1;}
  100% {transform: translateY(15px);opacity: 0;}
}
@keyframes drop {
  0% {opacity: 0;}
  10% {transform: translateY(5);opacity: 1;}
  100% {transform: translateY(15px);opacity: 0;}
}
/* ———————————————— le compteur ——————————————————— */

#title {
  font-size: 3rem;
  font-weight: 300;
  color: #fff;
  display: block;
  margin: 0 20px 0 10px;
  
  
}
@media screen and (max-width: 1300px) {
  #title {font-size: 2rem;

   }
  
  
}
#minuteur {
  font-weight: 400;
  display: grid;
  grid-template-columns: repeat(4, 56px);
  gap: 8px;
  margin: 4vh 0 5vh;

}
.box{
  height: 56px;
  text-align: center;
  background-color: rgba(249, 246, 246, 0.3);
  display: flex;
  flex-direction: column;
  border-radius: 28px;
}
.box > div:first-child {
  font-size: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  padding-top: 12px;
  margin-bottom: 10px;
}
.unite{
  font-size:  12px;
  text-align: right;
  padding-right: 6px;

}
.boxMin{
  margin-top:28px;
  height: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  
}
.boxMin > div {
  font-size: 20px;

}





  





/* --------- les logos partenaire ------------*/

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
 .logos {
 margin-top: 2em;
  overflow: hidden;
  padding: 0 0 20px 0;
  background: white;
  white-space: nowrap;
  position: relative;
 }
 .logos::before,
 .logos::after{
  position: absolute;
  top: 20%;
  width: 150px;
  height: 80%;
  content: "";
  z-index: 2;
 }
 .logos:before {
  left: 0;
  background: linear-gradient(to left,  rgba(255,255,255,0), white);
  
 }
 .logos::after{
  right: 0;
  background: linear-gradient(to right,  rgba(255,255,255,0), white);

 }
 /*
 .logos:hover .logos-slide {
  animation-play-state: paused;
 }
 */

.logos-slide {
  display: inline-block;
  white-space: nowrap;
  /* animation: 15s slide infinite linear;*/
  padding-left: 120px;
 }


.bloc_slide {
  display: inline-block;
  text-align: center;
  padding: 0 50px;
 /* background-color: aqua;*/
  height: 150px;
  display: table-cell;
  vertical-align: middle 
 /* width: 150px;*/
}
.bloc_slide img {
 
  
  height: 120px;
  display: block;
  margin-left: auto;
  margin-right: auto;
 

}




.villeMons {
  position: fixed;
  z-index: 9990;
  background-image: url('../img/logo_Mons01.png');
  background-color: rgba(249, 246, 246, 0.8);
  background-size: 70%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 60px;
  background-position-y: -10px;

  left: 90%;
  top: 320px;

  width: 120px;
  height: 120px;
  transform: rotate(10deg);
  
  
  }

.logo-partenaire{
display: block;
/* box-shadow: inset 0 20px 20px -20px rgba(0,0,0,0.8);*/
box-shadow: inset 0em 20px #8e8e8e;
font-size: 20px;
font-weight: 400;
color: #fff;
width: 100%;
height: 40px;
padding-left:120px;
margin-bottom: 20px;
z-index: 3;
}
