body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Évite la barre de défilement horizontale */

}
.container {
    width: 90%;
    margin: 0 auto;
}
.section {
    margin: 20px 0;
    text-align: center;
}
.image-description {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}
.image-description img {
    width: 60%;
    border-radius: 8%;
    transition: transform .3s;
}
.description {
    width: 40%;
    align-items: center;
    padding: 20px;
    text-align: center;
    background-color: #f4f4f4; /* Background color for description */
}
.description h1 {
    font-weight: bold;
    color: orange;
    cursor: pointer;
}
.description button {
    margin-right: 10px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: bold;
}
.description button:hover{
  background-color: #000000;
  color: white;
}
.characteristics {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    text-align: left;
    height: 400px;
}
.characteristics .titles {
    width: 30%;
    border-right: 1px solid #ccc;
    padding: 10px;

}
.characteristics .titles h3:hover {
    cursor: pointer;
    color: orange;
}

.characteristics .descriptions {
    width: 70%;
    padding: 10px;
    height: 200px;
    text-align: center;
    line-height: 1.5;
    overflow-y: scroll;
    background-color: #f4f4f4; /* Background color for descriptions */
}
.table-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}
.table-section th, .table-section td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
.table-section tr:nth-child(even) {
    background-color: #fadd8f; /* Background color for even rows */
}
.similar-vehicles {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
}
.vehicle {
    width: 23%;
    margin: 10px;
}
.vehicle img {
    border-radius: 15px;
    width: 100%;
    cursor: pointer;
    transition: transform .2s;
}
.vehicle button {
    margin-top: 10px;
    padding: 10px 20px;
    cursor: pointer;
    background-color: rgb(255, 189, 67);
}
.vehicle button:hover{
  color: white;
}

@media (max-width: 945px) {
    .image-description {
        flex-direction: column;
        text-align: center;
    }
    .image-description img, .description {
        width: 100%;
        padding: 10px;
        text-align: center;
    }
}

@media (max-width: 745px) {
    .characteristics {
        flex-direction: column;
        text-align: center;
    }
    .characteristics .titles{
        width: 100%;
        border: none;
        height: 200px;
        text-align: center;
    }
    .characteristics .descriptions {
      height: 200px;
      width: 100%;
      text-align: center;


    }
}

@media (max-width: 800px) {
    .similar-vehicles .vehicle {
        width: 60%;
        margin-bottom: 10px;
    }
}

@media (max-width: 600px) {
    .table-section table, .table-section th, .table-section td {
        font-size: 12px;
    }
}



.vehicle img:hover, .image-description img:hover{
-ms-transform: scale(1.08); /* IE 9 */
-webkit-transform: scale(1.08); /* Safari 3-8 */
transform: scale(1.08); 
}

