/* ElHouary.css */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    background: linear-gradient(to right, #1e1e2f, #3a3a5e);
    color: #f5f5f5;
}

h1, h2, h3 {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.cadrage {
    padding: 20px;
    margin: 0 auto;
    max-width: 960px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

h1 {
    color: #ff5733;
    text-transform: uppercase;
}

h2 {
    background-color: black;
    color: white;
    padding: 10px;
    border-radius: 8px;
}

.gallery img {
    margin: 10px;
    border: 3px solid #fff;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.5);
}

/* Centrer l'image de la piste */
.gallery img[alt="BMW sur piste"] {
    display: block;
    margin: 0 auto;
}

.video-section video {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
}

.biographie, .contributions {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 10px 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid #ff5733;
    border-radius: 5px;
    transition: background 0.3s ease;
}

ul li:hover {
    background: rgba(255, 255, 255, 0.2);
}

a {
    color: #ff5733;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

img.portrait {
    display: block;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}



