/**{
    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;
    }
    
/*Tendances*/
main {
  padding: 20px;
  background-color: #2b2b2b;
}


.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);
}

.produit button {
  background-color:rgb(255, 64, 0);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
}

.produit button:hover {
  background-color: #000000;
}


/*  Filtres catalogue */
.filters {
    margin: 20px;
    color: white;
    font-size: 18px;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .filters label {
    margin-right: 10px;
  }
  
  .filters select {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    border: none;
    background-color: #202020;
    color: white;
    outline: none;
    transition: background-color 0.3s ease;
  }
  
  .filters select:hover {
    background-color: #333;
  }
  
 /*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;
  }

  /*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 (max-width: 480px) {
    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;
    }
  
    .filters {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
      margin: 10px;
      font-size: 16px;
    }
  
    .filters select {
      font-size: 14px;
      padding: 6px 10px;
    }
  
    .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;
    }
  
    .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;
    }
  }
  