* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #222222;
    color: white;
    flex-wrap: wrap;
}

header img {
    width: 30%;
    max-width: 150px; 
}

nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

nav ul li a {
    color: #ff5722;
    text-decoration: none;
    font-size: 1em;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

main {
    padding: 20px;
    background-color: #333;
    color: white;
    font-family: Arial, sans-serif;
}

main h2 {
    color: #ff5722;
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff5722;
    padding-bottom: 5px;
}

main section p {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 10px;
}

main ul {
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
}

main ul li {
    margin-bottom: 10px;
    }

.histoire div {
    display: flex;
    flex-direction: column;
}
.histoire h1{
    color: #ff5722;
    font-size: 1.5em;
    margin-bottom: 15px;
    border-bottom: 2px solid #ff5722;
    padding-bottom: 5px;

}
.histoire p {
    border-bottom: 1px solid #ddd;
    padding: 10px;
}

.histoire p strong {
    font-weight: bold;
    background-color: black;
    color: #ff5722;
}

pre {
    background-color: black;
    color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    font-family: monospace;
    margin-bottom: 20px;
}

.elements ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
}

.elements ul li {
    flex: 1 1 300px; 
    max-width: 100%;
    color: white;
    list-style: none;
    background-color: black;
    border-left: 5px solid #ff5722;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);

}

.video-html iframe {
    width: 65%;
    max-width: 100%;
    height: 400px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border: none;
    display: block;   
    margin: 0 auto;       
}


footer {
    background-color: #1e1e1e;
    color: #f1f1f1;     
    padding: 20px;
    text-align: center;
}

footer h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: #ff5722;
}

footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer ul li p {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

footer p {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
}

@media only screen and (max-width: 375px) {
    header img {
        width: 25%; 
    }

    nav ul li a {
        font-size: 0.8em;
     }

    main h2 {
        font-size: 1em;
    }
     pre {
        font-size: 0.8em;         
    }
    
}
