/**{
    border: 1px solid #ff0000;
}*/
body{
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

/* Header*/
header {
    background-color: #101010;
    padding: 2px;
  }
  
  nav {
    display: flex;
    align-items: center;
    justify-content: space-between; 
    flex-wrap: wrap;
  }
  
  .logo img {
    height: 100px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 100px;
    font-size: 150%;
  }
  
  nav ul li a{
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
  }
  
  nav ul li a:hover{
    color:rgb(255, 64, 0);
  }

  header .co a {
    color: #fff;
    text-decoration: none;
    padding: 10px;
    background-color: #ff6200;
    border-radius: 5px;
    margin-right: 20px;
  }

  header .co a:hover {
      background-color: #202020;
    }

/*pub*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  .pub {
    width: 100%;
    max-width: 100%;
    margin: 0;
    text-align: center;

  }
  
  .pub img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-top: 4px;
  }
  
/*Tendances*/
main {
  padding: 20px;
  background-color: #2b2b2b;
}

main h2 {
    background-color: rgb(32, 32, 32);
    margin: 0;
color:rgb(255, 64, 0);
text-align: center;
font-size: 200%;
}

.produits {
  display: grid;
  grid-template-columns: repeat(3, 2fr);
  gap: 10px;
}

.produit {
  background-color: #2b2b2b;
  padding: 15px;
  text-align: center;
}

.produit img {
  width: 60%;
  height: auto;
  border-radius: 8px;
}

.produit h3 {
  font-size: 18px;
  margin-top: 10px;
  color: white;
}

.produit p {
  font-size: 16px;
  margin: 10px 0;
  color: rgb(255, 255, 255);
}

.produit .p2 {
    text-decoration: line-through;
  font-size: 16px;
  margin: 10px 0;
  color: rgb(255, 0, 0);
}




/*avis*/
.avis1{
    margin-top: 40px;
    padding: 3%;
    height: 100%;
    background-color: #3e3e3e;
    color: white; 
  text-align: center;
  font-size: 120%;

}

.starss {
    color: gold;
    margin-bottom: 1rem;
    font-size: 4rem;
  }

.pp2{
    font-size: 200%;
}

.avis-section {
    padding: 4rem 2rem;
    background-color: #1e1e1e;
    text-align: center;
  }
  
  .avis-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #ff5e00;
  }
  
  .avis-container {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .avis {
    background-color: #2b2b2b;
    color: white;
    border-radius: 20px;
    padding: 2rem;
    width: 300px;
    transition: transform 0.3s;
  }
  
  .avis:hover {
    transform: translateY(-10px);
  }
  

  
  .avis h3 {
    margin: 0.5rem 0;
    font-size: 1.2rem;
    color: #fff;
  }
  
  .stars {
    color: gold;
    margin-bottom: 1rem;
    font-size: 20px;
  }
  
  /*footer*/

  .footer {
    background-color: #121212;
    color: #ccc;
    padding-top: 30px;
    font-size: 15px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    padding:0 10rem;
  }
  
  .footer-logo img {
    width: 150px;
    margin-bottom: 1rem;
  }
  
  .footer-logo p {
    max-width: 250px;
  }
  
  .footer-links,
  .footer-contact,
  .footer-social {
    min-width: 180px;
  }
  
  .footer-links h4,
  .footer-contact h4,
  .footer-social h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }
  
  .footer-links ul,
  .footer-contact ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li,
  .footer-contact li {
    margin-bottom: 0.5rem;
  }
  
  .footer a {
    text-decoration: none;
    color: #ccc;
    transition: color 0.3s;
  }
  
  .footer a:hover {
    color: #ff7300;
  }
  
  
  .footer-bottom {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #2a2a2a;
    background-color: #0f0f0f;
  }

@media (min-width: 768px) and (max-width: 1024px) {
  /* NAVBAR */
  nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }

  .logo img {
    height: 80px;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 50px;
  }

  nav ul li a {
    font-size: 20px;
    padding: 10px 0;
  }

  header .co a {
    font-size: 18px;
    padding: 10px 20px;
  }

  /* SLIDE PUB */
  .pub img {
    width: 100%;
    height: auto;
  }

  /* TENDANCES */
  main h2 {
    font-size: 180%;
  }

  .produits {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .produit img {
    width: 80%;
  }

  .produit h3 {
    font-size: 18px;
  }

  .produit p,
  .produit .p2 {
    font-size: 16px;
  }

  .produit button {
    font-size: 16px;
    padding: 10px;
  }

  /* AVIS */
  .avis-section h2 {
    font-size: 2.2rem;
  }

  .avis-container {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    display: flex;
  }

  .avis {
    width: calc(50% - 1rem); /* 2 colonnes */
    margin-bottom: 1rem;
  }

  .starss {
    font-size: 3rem;
  }

  .pp2 {
    font-size: 180%;
  }

  /* FOOTER */
  .footer-container {
    flex-direction: column;
    padding: 0 3rem;
    gap: 2rem;
  }

  .footer-logo img {
    width: 130px;
  }

  .footer-logo p {
    max-width: 100%;
    font-size: 16px;
  }

  .footer-links h4,
  .footer-contact h4,
  .footer-social h4 {
    font-size: 1.1rem;
  }

  .footer-bottom {
    font-size: 15px;
  }
}

  @media (max-width: 480px) {
    /* HEADER */
    nav {
      flex-direction: column;
      align-items: center;
      gap: 20px;
      position: relative;
      padding-top: 80px;
    }
  
    .logo {
      position: absolute;
      top: 10px;
      left: 10px;
    }
  
    .logo img {
      height: 60px;
    }
  
    header .co {
      position: absolute;
      top: 10px;
      right: 10px;
    }
  
    header .co a {
      font-size: 16px;
      padding: 8px 15px;
    }
  
    nav ul {
      flex-direction: column;
      gap: 15px;
      padding-left: 0;
      margin: 0;
      align-items: center;
      justify-content: center;
      display: flex;
      width: 100%;
    }
  
    nav ul li a {
      font-size: 18px;
      padding: 10px 0;
    }
  
    /* PUB*/
    .pub img {
      width: 100%;
      height: auto;
    }
  
    /* catalogue */
    main h2 {
      font-size: 150%;
    }
  
    .produits {
      grid-template-columns: repeat(2, 1fr);
    }
  
    .produit img {
      width: 100%;
    }
  
    .produit h3 {
      font-size: 16px;
    }
  
    .produit p,
    .produit .p2 {
      font-size: 14px;
    }
  
    .produit button {
      font-size: 14px;
      padding: 8px;
    }
  
    /* AVIS */
    .avis-section h2 {
      font-size: 2rem;
    }
  
    .avis-container {
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
      display: flex;
    }
  
    .avis {
      width: calc(50% - 1rem);
      margin-bottom: 1rem;
    }
  
    .starss {
      font-size: 2.5rem;
    }
  
    .pp2 {
      font-size: 150%;
    }
  
    /* FOOTER */
    .footer-container {
      flex-direction: column;
      padding: 0 2rem;
      gap: 1rem;
    }
  
    .footer-logo img {
      width: 120px;
    }
  
    .footer-logo p {
      max-width: 100%;
      font-size: 14px;
    }
  
    .footer-links h4,
    .footer-contact h4,
    .footer-social h4 {
      font-size: 1rem;
    }
  
    .footer-bottom {
      font-size: 14px;
    }
  }
  