body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    /*background-image: url("../images/BackgroundBody02.png");*/
    background-color: #fbfbfd;
  }

@font-face {
  font-family: "ORBITRON";
  src: url("../fonts/Orbitron/Orbitron-VariableFont_wght.ttf") format("truetype");
}

@font-face {
  font-family: "TECHNOPOLLAS";
  src: url("../fonts/Technopollas.otf") format("truetype");
}

.navBar{
  position: fixed;
  z-index: 999;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: black;
  border-bottom: 1px solid darkgray;
  font-family: technopollas;
  color: white;
  text-align: left;
  width: 100%;
  top: 0px;
}

.navBar h1{
  font-family: technopollas;
  font-size: 25px;
  color: white;
  text-align: right;
  margin-right: 10px;
  grid-column: 2 / 3;
}

.logo span{
    color: orange;
}

.nav-toggle{
    display: none;
}

.nav-toggle-label{
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 1em;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
    display: block;
    background: white;
    height: 2px;
    width: 2em;
    border-radius: 2px;
    position: relative;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after{
    content: '';
    position: absolute;
}

.nav-toggle-label span::before{
    bottom: 7px;
}

.nav-toggle-label span::after{
    top: 7px;
}

nav{
    position: absolute;
    background-color: black;
    width: 100%;
    text-align: left;
    top: 100%;
    left: O;
    font-size: 15px;
    transform: scale(1, 0);
    transform-origin: top;
    transition: transform 400ms ease-in-out;
}

nav ul{
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li{
    margin-bottom: 1em;
    margin-left: 1em;
}

nav a{
    color: white;
    text-decoration: none;
    font-family: orbitron;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 150ms ease-in-out;
}

nav a:hover{
    color: orange;
}

.nav-toggle:checked ~ nav{
    transform: scale(1, 1);
}

.nav-toggle:checked ~ nav a{
    opacity: 1;
    transition: opacity 250ms ease-in-out 250ms;
}

.texteIntro{
  font-size: 20px;
  color: black;
  transition: transform 1s;
}

.texteIntro:hover{
  transform: scale(1.03);
}

.intro{
  color: orange;
}

/* Début du carrousel vertical */

.changeHidden{
  font-family: orbitron;
  font-size: 30px;
  letter-spacing: 2px;
  color: orange;
  text-align: center;
  height: 45px;
  line-height: 45px;
  overflow: hidden;
}

.contenant{
  position: relative;
  animation: carrousel 8s ease-in-out infinite;
}

@keyframes carrousel{
  0%, 20%{
      transform: translateY(0);
  }
  25%, 45%{
      transform: translateY(-45px); 
  }
  50%, 70%{
      transform: translateY(-90px); 
  }
  75%, 95%{
      transform: translateY(-135px); 
  }
  100%{
      transform: translateY(-180px); 
  }
}

p{
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  text-align: center;
  padding: 10px;
}

section{
  padding: 10px;
}

.section1{
  background-image: url(../images/LABPIC.png);
  background-size: cover;
  background-position: center;
  line-height: 40px;
}

.section1 p{
  color: white;
  text-shadow: 3px 3px 3px black;
}

.section2, .section4{
  display: flex;
  justify-content: center;
  background-color: #F2F2F2;
}

section, h1, h2, h3{
  font-family: orbitron;
  letter-spacing: 2px;
  text-align: center;
  color: #313132;
}

.section1 h1{
  margin-top: 100px;
  color: white;
}

.titreSection3{
  width: 100%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 20px;
  text-align: center;
}

.card{
  box-shadow: 2px 2px 2px lightgray;
}

.card1{
  margin-top: 170px;
}

.card img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.3);
}

.card span{
  color: orange;
  font-weight: bold;
}

/* Début du carrousel horizontal de l'arrière plan MOTS CLÉS*/
.BlockDefilementSousTitre{
  position: relative;
  display: flex;
  overflow: hidden;
  width: 100%;
}

.DefilementSousTitre{
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  animation: scrollTxt 10s linear infinite;
  font-family: technopollas;
  font-size: 40px;
  color: orange;
}

@keyframes scrollTxt{
  0%{
      transform: translate(0, 0);
  }
  100%{
      transform: translate(-100%, 0);
  }
}
/* Fin du carrousel horizontal de l'arrière plan */

footer{
  background-color: black;
  padding-top: 10px;
  padding-bottom: 10px;
}

.logo{
  font-family: technopollas;
  letter-spacing: 2px;
  color: white;
  text-align: center;
}

.lensgo{
  font-family: orbitron;
  color: white;
  text-align: center;
  margin-top: 10px;
}

footer a{
  color: orange;
  letter-spacing: 2px;
}


  /* -------------------------------- Media Queries ------------------------------------------ */
  
  @media (min-width: 942px) {
  .changeHidden{
    font-family: orbitron;
    font-size: 30px;
    letter-spacing: 2px;
    color: orange;
    text-align: center;
    height: 45px;
    line-height: 45px;
    overflow: hidden;
  }

.contenant{
  position: relative;
  animation: carrousel 8s ease-in-out infinite;
}

@keyframes carrousel{
  0%, 20%{
      transform: translateY(0);
  }
  25%, 45%{
      transform: translateY(-45px); 
  }
  50%, 70%{
      transform: translateY(-90px); 
  }
  75%, 95%{
      transform: translateY(-135px); 
  }
  100%{
      transform: translateY(-180px); 
  }
}
    
.nav-toggle-label{
  display: none;
}

.navBar{

  display: grid;
  grid-template-columns: 1fr auto minmax(600px, 3fr) 1fr;
     
}

.logo{
  grid-column: 2 / 3;
  font-size: 25px;
  margin-left: 5px;
}

nav{
  all: unset;
  grid-column: 3 / 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;    
}

nav ul{
  display: flex;
  justify-content: flex-end;
}

nav li{
  margin-left: 3em;
  margin-bottom: 0;
}

nav a {
  opacity: 1;
  position: relative;
  font-size: 14px;
  margin-right: 20px;
}

nav a::before{
  content: '';
  display: block;
  height: 3px;
  background: white;
  position: absolute;
  bottom: -.5em;
  left: 0;
  right: 0;
  transform: scale(0, 1);
  transform-origin: left;
  transition: transform ease-in-out 250ms;
}

nav a:hover::before{
  transform: scale(1, 1);
}

.section2{
  transition: transform 1s;
}

.section2:hover{
  transform: scale(1.03);
}

.section4{
  transition: transform 1s;
}

.section4:hover{
  transform: scale(1.03);
}

.section3{
  display: flex;
  justify-content: center;
  gap: 10px;
}

.card{
  margin-top: 120px;
  width: 220px;
  transition: transform 1s;
}

.card:hover{
  transform: translateY(-7px);
}

.card img{
  width: 220px;
  height: 150px;
  object-fit: cover;
}

footer{
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.logo{

  grid-column: 1 / 2;
}

.lensgo{
  grid-column: 2 / 3;
}


}
  