* {
    margin: 0;
    padding: 0;
}

 body {
    font-family: sans-serif;
    background-color: #121212;
    color: #ffffff;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #222222;
    color: white;
    flex-wrap: wrap;
}

header img {
    width: 12%;
}
nav ul {
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}   

nav ul li a {
    color: #ff5722;
    text-decoration: none;
    font-size: 1.3em;
    padding: 10px 15px;
    transition: background-color 0.3s ;
}

nav ul li a:hover {
    background-color: black;
    border-radius: 5px;
}

section h2 {
    font-size: 2.2em;
    margin-bottom: 40px;
}

.les-cours {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-bottom: 20px;
}
.les-cours a{
    text-decoration: none;
}
.les-cours article {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ;
    max-width: 300px;
    margin: 10px;
}

.les-cours article:hover {
    transform: translateY(-5px);
}

.les-cours img {
    width: 100%;
    margin-bottom: 15px;
}

.les-cours h3 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.4em;
    color: #ff5722;
}

.les-cours p {
    text-align: center;
    font-size: 0.95em;
    line-height: 1.5;
    color: #ccc;
}
footer {
    background-color: #1e1e1e;
    color: #f1f1f1;
    padding: 40px 20px;
    text-align: center;
}

footer h3 {
    margin-bottom: 20px;
    font-size: 24px;
    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: 16px;
    transition: color 0.3s;
}

footer ul li p:hover {
    color: #ff5722;
}

footer p {
    margin-top: 20px;
    font-size: 14px;
    color: #ccc;
}