*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Montserrat, Helvetica, sans-serif;
  background: #ffffff;
}

nav {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 15px 25px;
  background: #ffffff;
  box-shadow: inset 0px -1px 0px #c5c5c6;
}

.nav-icon {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 20px;
}

.nav-icon span {
  font-family: Roboto Flex, sans-serif;
  font-size: 25px;
  margin-left: 10px;
  font-weight: 400;
  color: #333;
}
.nav-icon img {
  width: 70px;
  /*transform: rotate(-17deg) translateX(5px);*/
}
.hamburger {
  display: none;
}
.navlinks-container a {
  margin: 0 10px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #414141;
  display: inline-block;
  position: relative;
}

.navlinks-container a:hover{
  color: #383A8F;
  transition: 0.3s ease;
}
.navlinks-container a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #383A8F;
  transition: transform 0.3s ease-out;
}

.navlinks-container a:hover::after {
  transform: scaleX(1)
}

.nav-authentication {
  margin-left: auto;
}

.sign-btns button {
  font-family: Roboto Flex, sans-serif;
  font-size: 16px;
  min-width: 90px;
  padding: 10px 5px;
  margin: 0 5px;
  border-radius: 5px;
  cursor: pointer;
  border: none; 
}

.contact-user{
  text-decoration: none;
}

.sign-btns button:nth-child(2) {
  border: none;
  background: #92c3eeb7;
}
.sign-user {
  display: none;
}

.banniere-accueil {
  background: url(./ressources/Bannière_accueil.jpg) fixed;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0vh;
  height: 100vh;
}

.banniere-freight {
  background: url(./ressources/entreprise.png) fixed;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0vh;
  height: 100vh;
}

.banniere-transport {
  background: url(./ressources/Bannière_accueil.jpg) fixed;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0vh;
  height: 100vh;
}

.banniere-logistique {
  background: url(./ressources/Bannière_logistique.jpg) fixed;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0vh;
  height: 100vh;
}

.banniere-eco {
  background: url(./ressources/rse.png) fixed;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0vh;
  height: 100vh;
}

.banniere-contact {
  background: url(./ressources/4.jpg) fixed;
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 0vh;
  height: 70vh;
}

.titre{
  font-size: 45px;
  text-transform: uppercase;
  padding-top: 200px;
  padding-left: 20px;
  color: #ffffff;
}

.sous-titre{
  font-size: 25px;
  text-transform: uppercase;
  padding-left: 23px;
  color: #ffffff;
}

.accueil{
  color: #ffffff;
  font-weight: 500;
  font-size: 25px;
  display: flex;
  justify-content: flex-start;
  padding-top: 50px;
  padding-left: 20px;
}

.scroll-down{
  color: white;
  text-decoration: none;
  position: absolute;
  bottom: 20px;
  margin-left: 20px;
}

.savoir{
  text-align: center;
  margin: 15px;
  color: #383A8F;
  text-transform: uppercase;
  }

.savoir-faire{
  text-align: center;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.prestations{
  display: flex;
  justify-content: center;
  }

.transport h2, .logistique h2{
  color: #383A8F;
  text-transform: uppercase;
}

.transport{
  border-radius: 15px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin: 20px 50px 20px 50px;
}

.logistique{
  border-radius: 15px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  margin: 20px 50px 20px 50px;
}

.transport p{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  margin-left: 70px;
  margin-right: 70px;
  margin-bottom: 20px; 
}

.img-transport{
  text-align: center;
  margin: 20px;
}

.transport h2{
  text-align: center;
  margin-top: 20px;
  text-transform: uppercase;
}

.logistique p {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  margin-left: 70px;
  margin-right: 70px;
  margin-bottom: 20px; 
}

.logistique h2{
  text-align: center;
  margin-top: 20px;
  text-transform: uppercase;
}

.img-log{
  text-align: center;
  margin: 20px;
}

img{
  width: 500px;
  border-radius: 15px;
}

.button{
  text-align: center;
  margin: 20px;
}

.contact-user:hover{
  color: #383A8F;
  transition: 0.3s ease;
}
.discover{
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  color: #414141;
  display: inline-block;
  position: relative;
}

.discover:hover{
  color: #383A8F;
  transition: 0.3s ease;
}

.discover::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -3px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: #383A8F;
  transition: transform 0.3s ease-out;
}

.discover:hover::after {
  transform: scaleX(1)
}

.title-sociaux{
  text-align: center;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #383A8F;
}

.social-media{
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.social-icon{
  height: 46px;
  width: 46px;
  border: 1px solid #333;
  margin: 0 0.45rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: none;
  color: #333; 
  font-size: 1.8rem;
  border-radius: 50%;
  transition: all 0.5s;
}

.social-icon:hover{
  color:#383A8F;
  border-color: #383A8F;
}

footer{
  flex-shrink: 0;
  border-top: 1px dashed #000;
  width: 100%;
  background: #f1f1f1;
  color: #333;
}

.copy{
  text-align: center;
  padding-bottom: 20px;
}

.contenu-footer{
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 16px;
  padding: 50px 0 40px;
}

.bloc{
  width: 25%;
  margin: 0 30px;
}

/*Conatct*/
.footer-contact h3,
.footer-services h3,
.footer-horaire h3,
.footer-reseaux h3{
  font-size: 23px;
  padding-bottom: 20px;
}

.footer-contact p{
  padding: 5px 0;
}

.footer-contact a{
  text-decoration: none;
  color: #333;
}

.footer-contact a:hover{
  color: #000;
}

/*horaire*/
.List-horaire li {
  padding: 5px 0;
}

/*Services*/

.List-services,
.List-reseaux,
.List-horaire{
  list-style-type: none;
}

.List-services li{
  padding: 2px 0;
}

.List-services a {
  text-decoration: none;
  color: #333;
}

.List-services a:hover{
  color: rgb(3,3,3);
}

/*Media*/
.reseaux-icon{
  margin-right: 5px;
}

.list-reseaux li{
  padding: 2px 0;
}

.List-reseaux a{
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  font-size: 20px;
  margin: 2px 0;
}

/*page freight*/
.container-contenue{
  background-color: #ffffff;
}
.container-article{
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

.container-article::after{
  content: "";
  display: block;
  clear: both;
}

.container-article h2{
  margin-bottom: 10px;
  color: #383A8F;
  text-transform: uppercase;
}

.container-article p{
  line-height: 1.4;
}

.entreprise{
  font-weight: 600;
}

.strong-ent{
  font-weight: 600;
  color: #B72530;
}

.paragraphe{
  padding-top: 10px;
  padding-bottom: 10px;
  font-weight: 400;
}

.container-article img{
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  float: left;
  shape-outside: margin-box;
  margin: 0 20px 5px 0;
}

.histoire{
  text-align: center;
  padding-top: 10px;
}

.texte{
  text-align: center;
  padding-bottom: 10px;
}

.liste-evolu{
  text-align: center;
  padding: 25px;
}

.liste-evolu li{
  padding: 10px;
  list-style-type: none;
}

.commerciale{
  text-align: center;
  padding: 20px;
}

.commerciale button{
  font-size: 15px;
  font-weight: 500;
  width: 200px;
  height: 50px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  background-color: #383A8F;
  color: #ffffff;
  transition: 0.3s ease;
}

.commerciale button:hover{
  color: #383A8F;
  font-weight: 500;
  border: 2px solid #383A8F;
  background-color: #ffffff;
}

/*Page Transport*/

.container-trans{
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

.container-trans h2{
  color: #383A8F;
  text-transform: uppercase;
}

.freight-touch{
  display: flex;
  flex-direction: row;
  padding-top: 20px;
}

.image-arc{
  padding-left: 10px;
}
.image-arc img{
  width: 600px;
  margin-top: 20px;
}

.image-affret img{
  width: 600px;
  margin-top: 20px;
}

.image-affret{
  padding-right: 10px;
}

.affret{
  display: flex;
  flex-direction: row-reverse;
  padding-top: 20px;
  padding-bottom: 20px;
}
/*page Logistique*/
.container-log{
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

.container-log h2{
  color: #383A8F;
  text-transform: uppercase;
}

.container-log img{
  width: 300px;
}

.stockage{
  display: flex;
  flex-direction: row-reverse;
}

.image-stock img{
  width: 600px;
  height: 400px;
  padding: 10px;
}

.liste-stock{
  padding: 10px;
}

.log{
  text-align: center;
}

.preparation{
  display: flex;
}

.image-prep img{
  width: 600px;
  height: 400px;
  padding: 10px;
}


.partenaire h2{
  text-align: center;
  text-transform: uppercase;
}

.image{
  display: flex;
  justify-content: center;
  flex-direction: row;
  padding: 15px;
}

.image img{
  width: 150px;
  padding: 15px;
}

.logiciel{
  text-align: center;
  padding: 20px;
}

/*Page RSE*/
.container-rse{
  background: #ffffff;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
}

.container-rse h2{
  color: #383A8F;
  text-transform: uppercase;
}

.engage-rse{
  display: flex;
  flex-direction: row-reverse;
  padding-top: 20px;
  padding-bottom: 20px;
}
.image-rse{
  padding-right: 10px;
}
.image-rse img{
  width: 600px;
  height: 400px;
}

/*Page contact*/

.container-contact{
  background: #ffffff;
  padding: 20px;
}

.container-contact a{
  text-decoration: none;
  color: #000;
}

.container-contact h1{
  padding-left: 20px;
  color: #383A8F;
  text-transform: uppercase;
}

.container-contact h2{
  padding: 10px 0px 0px 20px;
  color: #383A8F;
  text-transform: uppercase;
}

.container-contact p{
  padding: 10px 0px 0px 20px;
}

.reseaux h2{
  text-transform: uppercase;
}

.maps iframe{
  padding: 20px;
  width: 100%;
}

@media (max-width: 900px) {
  nav {
    padding: 15px 20px;
    position: fixed;
  }

  .nav-icon {
    order: 2;
    margin: 0 auto;
  }

  .nav-icon span {
    font-size: 22px;
  }

  .main-navlinks {
    order: 1;
  }
  /* Hamburger */
  .hamburger {
    width: 20px;
    height: 20px;
    cursor: pointer;
    border: none;
    display: flex;
    background: #fafafa;
    align-items: center;
    position: relative;
  }
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    pointer-events: none;
    transition: opacity 0.3s 0.15s ease-out;
  }
  .hamburger span:nth-child(1),
  .hamburger span:nth-child(3) {
    transition: transform 0.3s ease-out;
  }
  .hamburger span:nth-child(1) {
    transform: translateY(7px);
  }
  .hamburger span:nth-child(3) {
    transform: translateY(-7px);
  }
  .hamburger.open span:nth-child(1) {
    transform: translate(0) rotate(135deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transition: opacity 0s ease-out;
  }
  .hamburger.open span:nth-child(3) {
    transform: translate(0) rotate(-135deg);
  }

  .navlinks-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    background: #fafafa;
    top: 100%;
    left: 0;
    height: 100vh;
    padding: 15px 50px 15px 20px;
    border-right: 1px solid #c5c5c6;
    transform: translate(-100%);
  }
  .open {
    transform: translate(0%);
  }
  .navlinks-container a {
    font-size: 18px;
    margin: 10px 0
  }

  .nav-authentication {
    order: 3;
    margin-left: 0;
  }
  .sign-btns {
    display: none;
  }
  .sign-user {
    display: block;
    cursor: pointer;
    border: none;
  }
  .sign-user img {
    width: 20px;
  }
  .banniere-accueil{
   background-size: cover;
   background-position: 50%;
  }
  .banniere-freight{
    background-size: cover;
    background-position: 50%;
   }
   .banniere-transport{
    background-size: cover;
    background-position: 50%;
   }
   .banniere-logistique{
    background-size: cover;
    background-position: 50%;
   }
   .banniere-eco{
    background-size: cover;
    background-position: 50%;
   }
   .banniere-contact{
    background-size: cover;
    background-position: 50%;
   }

   .contenu-footer{
    width: 700px;
    flex-wrap: wrap;
   }

   .bloc{
    width: 40%;
    margin: 0 0;
   }

   .bloc:nth-child(1),
   .bloc:nth-child(2){
    margin-bottom: 50px;
   }

   .prestations{
    display: flex;
    flex-direction: column;
    width: 100%;
   }

   .img-transport img{
    width: 100%;
   }

   .img-log img{
    width: 100%;
   }

   .freight-touch{
    display: flex;
    flex-direction: column;
   }

   .image-arc img{
    width: 100%;
   }

   .affret{
    display: flex;
    flex-direction: column;
   }

   .image-affret img{
    width: 100%;
   }

   .stockage{
    display: flex;
    flex-direction: column;
   }

   .image-stock{
    text-align: center;
   }

   .image-stock img{
    width: 100%;
   }

   .preparation{
    display: flex;
    flex-direction: column;
   }

   .image-prep{
    text-align: center;
   }

   .image-prep img{
    width: 100%;
   }

   .engage-rse{
    display:flex;
    flex-direction: column;
   }

   .image-rse{
    text-align: center;
   }

   .image-rse img{
    width: 100%;
   }
}

@media (max-width: 500px) {
  .nav-icon img {
    width: 45px;
  }
  .nav-icon span {
    font-size: 20px;
  }

  .contenu-footer{
    width: 320px;
  }
  
  .bloc{
    width: 300px;
    margin: 30px 30px;
  }

  .bloc:nth-child(1),
   .bloc:nth-child(2){
    margin-bottom: 30px;
   }

   .bloc:nth-child(1){
    margin-top: 0;
   }
}
