
/* GENERAL */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 62.5%;
}

/* LA FLECHE SUR LES LIENS A*/
.arrow::after {
  content: "\ebe6";
  font-family: boxicons!important;
  font-weight: 400;
  font-size: 1.6rem;
  vertical-align: middle;
}


/* QUELQUES REMARQUES :

les couleurs :
bleu (liens) : rgb(0,150,255);
bleu (overlay) : rgba(0,78,255,0.4);
gris foncé (product-brand) : color:darkgrey;

le logo : font-family: 'Orbitron', sans-serif;
l'effet d'ombrage sur les images tendances : box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;

C'EST PARTI !!!!



*/

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* LE HEADER */
.header {
  background-image: url('../images/bg-header.jpg');
  background-size: cover;
  color : white;
  text-decoration: none;
}

.header nav {
  border-bottom: 1px solid rgba(255,255,255,0.2)
}

#burger {
  display: none;
}

.menu{
  display: flex;
  align-items: center;
}

.products-menu {
  flex-grow: 1;
}

header .logo {
  color: white;
  font-family: 'Orbitron';
  letter-spacing: 5px;
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  text-decoration: none;
  margin: 10px 15px 10px 0px;
}

.products-menu a {
  color: white;
  text-decoration: none;
  font-size: 0.8rem;
  margin: 0 5px;
  text-transform: uppercase;
}

.user-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.4rem;
  margin: 0 5px;
}

.banner {
  display: flex;
}

.banner > .banner-intro, .banner > a {
  flex-basis: 50%;
}

.banner-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner > .banner-intro > h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  text-transform: uppercase;
  font-weight: 200;
}

.banner > .banner-intro > span {
  color: white;
  text-decoration: none;
  margin: 10px 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.banner > .banner-intro > a {
  color: white;
  text-decoration: none;
  margin: 10px 0;
  font-size: 2rem;
  text-transform: uppercase;
}



.banner > a > img {
  width: 100%;
}

/* LES TENDANCES */

.tendance-item {
  display: flex;
  position: relative;
  margin-top: 50px;
}

.tendance-txt, .tendance-img {
  flex-basis: 50%;
}

.tendance-img img {
  width: 100%;
}

.tendance-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
}

.tendance-txt p {
  line-height: 2;
  font-size: 1rem;
  margin: 1rem 0 1rem 0;
  font-family: 'Montserrat', sans-serif;
}

.tendance-txt > .arrow {
  color : rgb(0,150,255);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
}

.tendance-item > a {
  width: 40px;
  height: 40px;
  background-color: rgba(0,150,255);
  color: white;
  font-size: 1.5rem;
  text-decoration: none;

  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
}

.tendance-reverse {
  flex-direction: row-reverse;
}

.tendance-txt > h3 {
  font-size: 1.6rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: capitalize;
}

/* LES PRODUITS */

.products-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  text-align: center;
}

.products h2 {
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 4rem;
}

.product {
  flex-basis: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
}

.products {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.product img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

.products-list .product a {
  display: flex;
  flex-direction: column;
}


.product-brand {
  color: darkgrey;
  text-decoration: none;
  font-size: 0.7rem;
  margin: 1.5rem 0 0 0;
  font-family: 'Montserrat', sans-serif;
}

.product-title {
  margin: 0.5rem 0 0.25rem 0;
  color: black;
  font-size: 0.9rem;
}

.product-price {
  color: rgb(0,150,255);
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 4rem;
}
.product a > span {
  font-size: 1.4rem;
  margin: 1rem 0;
  font-family: 'Montserrat', sans-serif;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-width: 300px;
  align-items: center;
  background-color: rgb(0,150,255);
  color: white;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 1.2rem 3rem;
}

/* AVANTAGE CLUB */
.adventure {
  background: linear-gradient(rgba(0,78,255,0.4), rgba(0,78,255,0.4)), url(../images/bg-advantage.jpg);
  background-size: cover;
  padding: 100px 0;
  color:white;
  line-height: 1.5;
} 

.adventure-info h2 {
  font-size: 1.8rem;
  text-transform: capitalize;
}

.adventure-info p {
  font-size: 1.2rem;
  max-width: 90%;
  margin: 1rem 0;
}

.adventure-info a {
  color: white;
  font-size: 1.2rem;
  max-width: 90%;
  margin: 1rem 0;
  text-decoration: none;
  text-transform: uppercase;
}

.adventure-info a:hover {
  text-decoration: underline;
}

.adventure-info {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.adventure-info {
  text-align: center;
}

/* LA NEWSLETTER */
.newsletter {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 2.5rem;
}

.newsletter h2 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 3rem;
  font-size: 1.8rem;
  text-transform: capitalize;
}

.newsletter p {
  max-width: 55%;
  margin-top: 1.2rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

.newsletter form {
  margin-top: 1.2rem;
}

.newsletter .email {
  padding: 0.5rem 4rem;
  font-size: 0.8rem;
}

.submit {
  background-color: rgb(0,150,255);
  padding: 0.6rem 2rem;
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
}

/* LE FOOTER */

footer .logo {
  justify-content: center;
  color: black;
  font-family: 'Orbitron';
  letter-spacing: 5px;
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  text-decoration: none;
}

footer {
  text-align: center;
  justify-content: center;
  padding: 1rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

footer span {
  font-size: 0.6rem;
  margin: 0 auto;
  color: rgb(80, 80, 80);
}

/* MOBILS */
@media only screen and (max-width: 768px) {
  body {
    font-size: 50%;
  }

  .tendance-item {
    flex-direction: column;
  }

  .product {
    flex-basis: 40%;
  }

  .banner > a {
    display: none;
  }

  .banner > .banner-intro {
    flex-basis: 100%;
    align-items: center;
  }

  nav .menu {
    padding: 0;
  }

  nav .menu {
    padding: 0;
    position: relative;
  }

  .products-menu {
    position: absolute;
    left: 0;
    width: 100%;
    top: 100%;
    display: flex;
    flex-direction: column;
    background-color: rgba(255,255,255,0.5);
    backdrop-filter: blur(5px);
    line-height: 2;
    align-items: center;
    transform: scaleY(1);
    transform-origin: 50% 0;
    transition: transform 0.3s cubic-bezier(.08,.74,.5,.95);
  }
  
  .products-menu > a{
    color: rgb(255, 255, 255);
    text-shadow: 0px 0px 5px rgba(0,0,0,0.5);
    border-bottom: solid 1px rgba(255,255,255,0.2);
  }

  #burger {
    display: block;
    background-color: blue;
    border-radius: 10px;
    width: 20px;
    height: 5px;
    position: relative;
  }

  #burger::before {
    display: block;
    background-color: blue;
    border-radius: 10px;
    width: 20px;
    height: 5px;
    top: -10px;
    position: absolute;
    content: "";
  }

  #burger::after {
    display: block;
    background-color: blue;
    border-radius: 10px;
    width: 20px;
    height: 5px;
    top: 10px;
    position: absolute;
    content: "";
  }
}