* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  :root {
    --text-fonts : "Figtree", serif;
    --navbar-text-color: #000;
    --body-background-color: #fff;
    --text-color: #000;
    --navbar-text-color: #000;
    --rouge-100: #E40032;
    --rouge-80: #e42e56;
    --rouge-60: #e45b79;
    --rouge-40: #e4899d;
    --rouge-20: #e4b6c0;
    --rouge-10: #e4cdd2;
    --gris-100: #000000;
    --gris-90: #3d3d3d;
    --gris-75: #646464;
    --gris-60: #878787;
    --gris-40: #b2b2b2;
    --gris-20: #dadada;
  }
 
  ::-moz-selection { /* Code for Firefox */
    color: #fff;
    background: var(--rouge-100);
  }
  
  ::selection {
    color: #fff;
    background: var(--rouge-100);
  }


  .bg-red ::selection{
    color: var(--rouge-100);
    background: #fff;
  }


  body {
    font-family: var(--text-fonts);
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.5;
    background: var(--body-background-color);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  a {
    text-decoration: none;
    color: var(--navbar-text-color);
  }

  a:hover{
    cursor:pointer;
  }

  ul {
  list-style: none;
  }
  
  img {
    max-width: 100%;
  }
  
  figcaption {
    font-size: 14px;
    margin-top: 8px;
  }

  strong {
    font-weight: bold;
  }

  h1 {
    font-weight: normal;
    font-size: 60px;
    text-align:left;
  }

  h2 {
    font-weight: normal;
    font-size: 40px;
    text-align:center;
    padding-bottom:15px;
    padding-top:15px;
  }

.text-uneven{
  padding-left:300px; 
}

  /* ==================================================================================== */
  /* Utility Calsses */
  /* ==================================================================================== */
 
  video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index:-100;
  }
 
  .container {
    max-width: 100%;
    margin: 0 auto;
  }

  .video-background{
    height:600px;
  }

  
.video-background {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-row-gap: 0;
  grid-column-gap: 10px;
  grid-template-areas: 
    "vidcol1 vidcol2";
}

.vidcol1 {
  position: absolute;
  grid-area: vidcol1;
  /* filter: grayscale(100%); */
  width: 100%;
  bottom: 10%;
  right: 0;

}

.vidcol1 p {
  font-size: 3.7em; color:#fff; width:100%; padding-top:170px; margin-left:40px;
}

.vidcol2 {
  grid-area: vidcol2;
  width: 100%;
}

.vidcol2 p {
  position: absolute;
  display: inline-block;
  color:#fff;
  font-size: 1.2em; 
  bottom: 30%;
  right: 20%;
}

.vidcol2 .carre-rouge{
 position:absolute; background-color: var(--rouge-100); width:28%; height:20%;
 bottom: 13%;
 right: 6%;
}

.index-navbar a{
  color: #fff !important;
}

  .topnav {
    overflow: hidden;
    position: absolute;
    z-index: 10;
    width: 98vw;
  }
  
  .topnav a {
    float: left;
    color: #000000;
    text-align: center;
    /* margin: 42px 18px; */
    /* padding: 12px; */
    text-decoration: none;
    font-size: 1.5em;
  }

  .topnav a img{
    margin-top: 0;
  }
  
  .topnav a:hover {
    background-color: var(--rouge-80);
    color: #fff;
  }

  .topnav-right a {
    margin: 38px 18px;
    padding: 12px;
  }
  
  .topnav a.active {
    padding: 15px 50px;
  }

  .topnav a.active:hover {
    background-color: var(--blue-dark);
  }
  
  .topnav-right {
    float: right;
  }


  .topnav-mobile {
    display:none;
    text-align: center;
    overflow: hidden;
    background-color: var(--blue-dark);
  }
  
  .topnav-mobile a {
    color: #000000;
    text-align: center;
    padding:5px 10px;
    text-decoration: none;
    font-size: 1.2em;
  }
  
  .topnav-mobile a:hover {
    background-color: var(--rouge-20t);
    color: var(--blue-dark);
  }




.mission-container{
  max-width: 75vw;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
}


.mission-container button{
  background-color: var(--rouge-100);
  color:#fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.mission-container button:hover{
  background-color: var(--rouge-20);
  color: #ffffff;
}

.mission-container button a{
  color: #fff;
}

.mission-container .intro{
  text-align:center; color:var(--blue-dark); font-size:30px;
}

.mission-container p{
  text-align:left; font-size:1.4em; color:var(--blue-dark);
}


.footer{
  text-align: center;
  position: relative;
  background-color: var(--rouge-100);
}

.footer-right{
  /* border: 1px solid black; */
    position: absolute;
    right: 2%;
    top: 32%;
}

.footer-logo{
  width:20%; padding: 10px;
}


.banner{
  width: 100vw;
  /* background-image: url('../files/banner.jpg'); */
  background-color: var(--blue-dark);
  height:20vh;
  text-align: center;
  position: relative;

}

.banner img{
  max-height: 15vh;
  width: auto;
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  
}


.header-container{
  max-width: 75vw;
  margin: 0 auto;
  text-align: center;
}

.header-container .main-menu {
  padding: 10px 0;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.header-container .main-menu ul {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Padding left only and centering right so that the last item is flush with the container */
.header-container .main-menu ul li a {
  padding: 0 10px;
  display: block;
  transition: 0.5s;
}

/* Color change on hover */
.header-container ul li a:hover {
  background-color: #0057ac;
  color: #fff; /* Change the hover color to something better */
}

.header-container .logo img {
  padding-left: 20px;
  width: 100px;
  height: auto;
}

.activites-container{
  max-width: 75vw;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
}


.activites-container .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  grid-row-gap: 0;
  grid-column-gap: 10px;
  grid-template-areas: 
    "col1 col2";
}

.col1 {
  grid-area: col1;
  /* filter: grayscale(100%); */
  width: 100%;
}

.col1 img{
  width:100%;
  object-fit: contain;
}

.col2 {
  grid-area: col2;
  /* filter: grayscale(100%); */
  width: 100%;

}

.col2 p {
  font-size: 1.2em;
}

/* Contact form */
input[type=text], select, textarea {
  font-family: var(--text-fonts);
  width: 100%; /* Full width */
  padding: 12px; /* Some padding */ 
  border: 1px solid #ccc; /* Gray border */
  /* border-radius: 4px;  */
  box-sizing: border-box; /* Make sure that padding and width stays in place */
  margin-top: 6px; /* Add a top margin */
  margin-bottom: 16px; /* Bottom margin */
  resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}

/* Style the submit button with a specific background color etc */
input[type=submit] {
  background-color: var(--rouge-100);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
  background-color: var(--rouge-20);
  color: #fff;
}

/* Add a background color and some padding around the form */
.contact-form .container-contact {
  border-radius: 10px;
  border-color: var(--blue-dark);
  /* border-style: solid; */
  background-color: var(--gris-20);
  padding: 20px;
  text-align: center;
}

.container-contact {
  max-width: 800px;
  margin: 0 auto;
  padding-right: 10px;
  padding-left: 10px;
}

.contact-header-container{
  max-width: 75vw;
  margin: 0 auto;
  text-align: center;
  padding: 20px 0;
}

.newsletter-container{
  max-width: 75vw;
  margin: 0 auto;
  text-align: center;
  color:#fff;
  padding:20px 0 30px 0;
}

.newsletter-container button{
  background-color: var(--rouge-100);
  color: #ffffff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.newsletter-container button:hover{
  background-color: var(--rouge-20t);
  color: #000000;
}

.activites-container button{
  background-color: var(--rouge-100);
  color:#fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.activites-container button:hover{
  background-color: var(--blue-dark);
  color: #ffffff;
}

.activites-container button a{
  color: #fff;
}


.membres-container{
  max-width: 75vw;
  margin: 0 auto;
  text-align: center;
  color:var(--blue-dark);
  padding:20px 0 30px 0;
}



/* .gallery-team{
  padding-top: 10px;
  padding-bottom: 10px;
} */

.gallery-team .container {
  display: flex;
  flex-flow: row wrap;
}

.gallery-team .container::after {
  content: " ";
  flex: auto;
}

.gallery-team .image {
  flex-basis: 33.3333%;
  min-width: 0;
  text-align: center;
  padding:0 10px;
} 

/* align caption box under figure*/
.gallery-team figure{
  display: inline-block;
  padding: 5px;
}

/* make sure that the max-width matches the width of the figure from .gallery figure img {} */
.gallery-team figure figcaption { 
  margin-top: 0px;
  max-width: 300px;
}

.gallery-team figure figcaption p {  
  text-align: left;
  word-wrap: break-word;
}

.gallery-team figure img {
  width: 200px;
  aspect-ratio: 1/1;
  /* border-radius: 0; */
  object-fit: contain;
  /* box-shadow: 10px 10px 5px rgb(151, 151, 151); */
  /* border-radius: 50%; */

}


.cofounder-name{
  text-align:left; font-weight:bold; font-size:1.5em;
}

.cofounder-role{
  text-align:left; font-size:1.1em;
}

.logo-2{
  position:absolute;
  max-width:200px;
  top:30%; 
  right:5%;
}

.activites-container h1{
  font-size: 2.5em;
}

.p-dialoguer{
  text-align:left; width:100%;
}



.gallery-activites{
  padding-top: 10px;
  padding-bottom: 10px;
}

.gallery-activites .container {
  display: flex;
  flex-flow: row wrap;
}

.gallery-activites .container::after {
  content: " ";
  flex: auto;
}

.gallery-activites .image {
  flex-basis: 33.3333%;
  min-width: 0;
  text-align: center;
  padding:10px;
} 

/* align caption box under figure*/
.gallery-activites figure{
  display: inline-block;
  padding: 5px;
}

/* make sure that the max-width matches the width of the figure from .gallery figure img {} */
.gallery-activites figure figcaption { 
  margin-top: 0px;
  max-width: 300px;
}

.gallery-activites figure figcaption p {  
  text-align: left;
  word-wrap: break-word;
}

.gallery-activites figure img {
  width: 100%;
  object-fit:contain;
  aspect-ratio: 1/1;
  /* box-shadow: 10px 5px 5px rgb(151, 151, 151); */
  /* border: solid #e2e2e2 1px; */

}

/* .gallery-activites figure img:hover {
  filter: none;
  -webkit-filter: grayscale(0);
  -webkit-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  opacity: 50%;
} */



.gallery-doc .container {
  display: flex;
  flex-flow: row wrap;
}

.gallery-doc .container::after {
  content: " ";
  flex: auto;
}

.gallery-doc .image {
  flex-basis: 33.3333%;
  min-width: 0;
  text-align: center;
  padding:0 10px;
} 

/* align caption box under figure*/
.gallery-doc figure{
  display: inline-block;
  padding: 5px;
}

/* make sure that the max-width matches the width of the figure from .gallery figure img {} */
.gallery-doc figure figcaption { 
  margin-top: 0px;
  max-width: 300px;
}

.gallery-doc figure figcaption p {  
  text-align: left;
  word-wrap: break-word;
}

.gallery-doc figure img {
  width: 400px;
  aspect-ratio: 1/1;
  /* border-radius: 0; */
  object-fit: cover;
  /* box-shadow: 10px 10px 5px rgb(151, 151, 151); */
  /* border-radius: 50%; */

}

.button2 {
  display: inline-block;
  padding: 0.15rem 0.2rem;
  border-radius: 10rem;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.15rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.mobile-menu a {
  color: #000 !important;
}

.mobile-menu{
  position: fixed;
  top: 0;
  right: -300px;
  width: 200px;
  height: 100%;
  z-index: 999;
  background-color: #fff;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  transition: right 0.3s ease-in-out;
}

.mobile-menu.active {
  right: 0px;
}

.mobile-menu ul {
  margin-top: 100px;
  padding-right: 10px;
  padding-left: 20px;
}
.mobile-menu ul li {
  margin: 10px 0;
  color: #000;
}

.mobile-menu ul li a {
  font-size: 15px;
  transition: 0.3s;
}

.hamburger-button .hamburger-image{
  width: 30px;
  height: 30px;
  background: none;
  /* margin: 6px 0; */
  z-index: 1000;
}

.hamburger-button{
  display:none;
  background: rgba(255, 255, 255, 0.50);  
  border: none;
  cursor: pointer;
  padding: 15px 15px 25px 15px;
  z-index: 1000;
  position: fixed;
  right:0px;
  top: 0px;
}

.mobile-logo{
  display: none;
}

@media screen and (max-width:1080px) {
  .logo-2{
    position:relative;
    transform: translateX(7.5%);
  }

  .topnav-right a {
    margin:0;
    padding-top:50px;
  }

}

@media screen and (max-width:860px) {
  
  h1 {
    font-size: 40px;
    text-align:center;
  }
  
  .text-uneven {
    padding-left: 0;
  }
  
  .activites-container .container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-row-gap: 0;
    grid-column-gap: 10px;
    grid-template-areas: 
      "col1"
      "col2";
  }

  .gallery-team .image{
    flex-basis: 100%;
  }

  .cofounder-name{
    font-size:1.2em;
  }
  
  .cofounder-role{
    font-size:1em;
  }
  
  .footer-right{
      position: relative;
      text-align: center;
  }

  .topnav{
    display:none;
  }
  .topnav-mobile{
    display: none;
  }

  .hamburger-button{
    display: block;
  }

  .mission-container{
    max-width: 90vw;
    padding: 10px 0;
  }

  .mission-container .intro{
    font-size: 25px;
  }

  .mission-container p{
    font-size: 1em;
  }


  .membres-container{
    max-width: 90vw;
    padding: 10px 0;
  }

  .membres-container .intro{
    font-size: 25px;
  }

  .footer-logo{
      width:25%; padding: 5px;
  }

  .p-dialoguer{
    width:100%;
  }

  .col2 p {
    font-size: 1em;
  }

  .gallery-activites .image {
    flex-basis: 100%;
  } 

  .activites-container h1{
    font-size: 1.5em;
  }

  .gallery-doc .image {
    flex-basis: 100%;
  } 
  
  .video-background {
    height: 350px;
  }

  .vidcol1{
    width: 100%;
    top:1%;
  }

  .vidcol1 p {
    font-size: 1.6em; color:#ffffff; padding-top:80px;
  }

  .vidcol2 p {
    font-size: 0.8em;
  }

  .vidcol2 .carre-rouge{
    background-color: var(--rouge-100); width:50%; height:30%;
    bottom: 20%;
    right: 6%;
   }

   .video-background {
    grid-template-columns: 2fr 1fr;
    grid-template-areas: 
      "vidcol1 vidcol2";
  }
  
  .mobile-logo{
    display: block;
  }
  
}

@media screen and (max-width:550px) {
  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 30px;
  }
  
}

@media screen and (max-width:370px) {
  .vidcol1 p {
    font-size:1.2em;
  }
}