/* styles.css */
*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
  
  }
body {
    font-family:Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;

    background-color: #fff;

}
.TitrePrincipal{
    text-align: center; /* Centrer le texte horizontalement */
    color: #30637b;
    font-size:35px;
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-top: 10px;
    animation: slideIn 0.5s ease forwards;

    padding: 20px;
  
  }
  
  @keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
  }
  @keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
  }



  .wrapper {
    width: 100%;
    margin: 0 auto;
    height:500px;
    display: flex;
    justify-content: center ;
    align-items: center;
  }
  
  .product-img {

    height: 420px;
    width: 100%;
    position: relative;
    display: inline-block;
  }
  

  #boutonvoirplus {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    background-color: #30637b;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 500;
    z-index: 3; /* Pour s'assurer que le bouton est au-dessus de l'image */
  }

  .testimg{
    display: block;
  }
  .product-info {
    height: 420px;
    width: 100%;

    background-color: #ffffff;
  }
  
  .product-text {
    height: 310px;
    width: 100%;
    text-align: center;
    padding:10px;
  }
  
  .product-text h1 {
    margin: 0 0 10px 0px;
    padding-top: 52px;
    font-size: 40px;
    color: #474747;
  }
  
  .product-text h1,
  .product-price-btn p {
    font-family: 'Bentham', serif;
  }
  
  .product-text h2 {
    margin: 0 0 47px 0px;
    font-size: 25px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #d2d2d2;
    letter-spacing: 0.2em;
  }
  
  .product-text p {
    height: 125px;
    margin: 0 0 0 0px;
    font-family: 'Playfair Display', serif;
    color: #8d8d8d;
    line-height: 1.7em;
    font-size: 18px;
    font-weight: lighter;
    overflow: hidden;
  }
  
  .product-price-btn {
    height: 103px;
    width: 100%;
    margin-top: 17px;
    position: relative;

  }
  

  

  
  .product-price-btn button {
    display: inline-block;
    height: 50px;
    width: 176px;
    box-sizing: border-box;
    border: transparent;
    border-radius: 60px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    background-color: #30637b;
    cursor: pointer;
    outline: none;
    text-decoration: none;
  }
  
  .product-price-btn button:hover {
    background-color: #79b0a1;
  }
.distance-list {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #30637b;
    color:#fff;

}

.distance-list h2 {
    text-align: center;
    margin-bottom: 20px;
    color:#fff;
}

.uldistlist {
    list-style-type: none;
    padding: 0;
}

.uldistlist p {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
}

.distance-list ul li:last-child {
    border-bottom: none;
}
  @media (max-width: 952px){

      .testimg {
          width: 380px;
          height: 270px;
      }
      .product-img {
    float: left;
    height: 280px;
    width: 380px;
  }
  .wrapper {
    display: flex;
    flex-direction: column;
    width: 380px;
    height:750px;
  }
  .product-info {

    width: 380px;

  }
  .product-text {

    width: 380px;

  }
  .TitrePrincipal{
    text-align: center; /* Centrer le texte horizontalement */
    color: #30637b;
    font-size:15px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    animation: slideIn 0.5s ease forwards;
    margin-top: 80px;
  
  }
  .product-price-btn {
    height: 103px;
    width: 380px;
    margin-top: 17px;
    position: relative;

  }
  .product-text h1 {
    margin: 0 0 10px 0px;
    padding-top: 52px;
    font-size: 34px;
    color: #474747;
  }
  .product-text p {
    height: 125px;
    margin: 0 0 0 0px;
    font-family: 'Playfair Display', serif;
    color: #8d8d8d;
    line-height: 1.7em;
    font-size: 15px;
    font-weight: lighter;
    overflow: hidden;
  }
  .product-text h2 {
    margin: 0 0 47px 0px;
    font-size: 13px;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    color: #d2d2d2;
    letter-spacing: 0.2em;
  }
  iframe{
    width: 350px;
  }
  }