@font-face {
  font-family: 'TTNormsPro';
  src: url('../fonts/TT_Norms_Pro_Regular.woff');
}

@font-face {
  font-family: 'TTNormsPro-light';
  src: url('../fonts/TT_Norms_Pro_Light.woff');
}

body{
  background-color: #000000;
  padding-top: 50px;
  padding-bottom: 50px;
}

h1{
  font-family: 'TTNormsPro-light', arial, sans-serif;
  font-weight: 400;
  font-size: 2.75rem;
  line-height: 1.2em;
}

h1, p{
  color: #ffffff;
  margin: 10px 0px;
}

h2{
  color: #FFE521;
  font-size: 3rem;
  line-height: 1.2em;
  margin: 0px;
}

h2, p{
  font-family: 'TTNormsPro-light', arial, sans-serif;
  font-weight: 300;
}

p{
  font-size: 1.875rem;
  line-height: 1.2em;
}

.main, header, footer{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

header img,
footer img{
  width: 292px;
}

#intro, #outro{
  text-align: center;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

#intro video{
  width: 80%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/************** POPUP COOKIES **************/
.cky-notice-des h1,
.cky-notice-des h2 {
  font-family: 'TTNormsPro-light', arial, sans-serif !important;
  color: #000000 !important;
}

.cky-btn {
  font-family: 'TTNormsPro-light', arial, sans-serif !important;
  font-weight: 700 !important;
}

/************** IMAGES DE L'ÉQUIPE **************/
@keyframes fadein{
  from{opacity:0; transform: translate(0px, 50px);}
  to{opacity:1; transform: translate(0px, 0px);}
}

#equipe{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#equipe .col-3{
  width: 33.33%;
  min-width: 300px;
}

#equipe .col-9{
  width: 66.66%;
  min-width: 300px;
  box-sizing: border-box;
}

#equipe div{
  opacity: 0;
  transform: translate(0px, 50px);
}

#equipe div.fadein{
  animation-name: fadein;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}

#equipe div.anim1{
  animation-delay: 0.5s;
}

#equipe div.anim2{
  animation-delay: 1s;
}

#equipe div.anim3{
  animation-delay: 1.5s;
}

#equipe div img{
  width: 100%;
  display: block;
}

#equipe p{
  margin: 15px 25px;
}

/************** OUTRO ET FOOTER **************/
#outro{
  text-align: center;
  margin: 40px auto;
}

footer{
  text-align: center;
}

footer p,
footer p a{
  font-size: 16px;
  color: #ffffff;
}

footer p a:hover{
  opacity: 0.7;
}


/************** RESPONSIVE **************/
@media (max-width: 1200px){
  .main, header, footer{
    width: 90%;
  }

  p{
    font-size: 1.625rem;
    line-height: 1.2em;
  }
}

@media (max-width: 1080px){
  #equipe .col-3{
    width: 49.9%;
    min-width: 300px;
  }
  
  #equipe .col-9{
    width: 100%;
    min-width: 300px;
    padding: 20px;
    box-sizing: border-box;
  }

  #equipe div.anim1,
  #equipe div.anim2,
  #equipe div.anim3{
    animation-delay: 0.7s;
  }

  #equipe p{
    margin: 0px;
    text-align: center;
  }

  #equipe div:nth-child(1){
    order: 1;
  }

  #equipe div:nth-child(2){
    order: 2;
  }

  #equipe div:nth-child(3){
    order: 4;
  }

  #equipe div:nth-child(4){
    order: 3;
  }

  #equipe div:nth-child(5){
    order: 5;
  }

  #equipe div:nth-child(6){
    order: 6;
  }

  #equipe div:nth-child(7){
    order: 7;
  }

  #equipe div:nth-child(8){
    order: 9;
  }

  #equipe div:nth-child(9){
    order: 8;
  }

  #equipe div:nth-child(10){
    order: 10;
  }

  #equipe div:nth-child(11){
    order: 11;
  }

  #equipe div:nth-child(12){
    order: 13;
  }

  #equipe div:nth-child(13){
    order: 12;
  }

  #equipe div:nth-child(14){
    order: 14;
  }

  #equipe div:nth-child(15){
    order: 15;
  }

  #equipe div:nth-child(16){
    order: 17;
  }

  #equipe div:nth-child(17){
    order: 16;
  }
}

@media (max-width: 769px){
  body{
    padding-top: 30px;
  }

  #intro{
    width: 100%;
  }
  
  #intro video{
    width: 100%;
    margin-top: 30px;
  }

  h1{
    font-size: 1.875rem;
  }

  h2{
    font-size: 2.175rem;
  }

  p{
    font-size: 1.4rem;
  }

  header img,
  footer img{
    width: 50%;
    min-width: 200px;
    max-width: 300px;
  }

  #equipe .col-3{
    min-width: 150px;
  }
  
  #equipe .col-9{
    min-width: 150px;
  }

  #equipe .col-text{
    width: 100%;
  }
}

