main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

article {
    display: grid;
    grid-template-columns: 710px 310px 5px auto;
    grid-template-rows: max-content;
    gap: 10px;
    align-items: center;

    #separateur {
        gap: 10px;
        grid-column: 3/4;
        height: 180px;
        background-color: black;
    }

    >img {
        width: 310px;
        height: 175px;
    }

    #entete {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        padding: 10px;

        h1 {
            margin: 0px;
            text-align: left;
        }

        p {
            width: 710px;
            height: max-content;
        }
    }

    dl {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    dt {
        display: grid;
        gap: 10px;
        grid-template-columns: 25px auto;
        justify-content: start;
        justify-items: center;
    }
}

#ListeSections {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.Section_Cours {
    margin: 10px;
    border: 2px solid black;
    padding: 10px;
    display: flex;
    flex-direction: row;
    gap: 10px;
    max-width: 1890px;

    p {
        flex-direction: column;
        flex-wrap: wrap;
        max-width: 1460px;
        height: max-content;
        max-height: 185px;
    }

    >img {
        width: 310px;
        height: 185px;
    }

}

@media(max-width:1024px) {
    article {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;

        #separateur {
            gap: 10px;
            height: 5px;
            width: 315px;
        }

        #entete {
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            padding: 10px;
            height: max-content;

            h1 {
                margin: 0px;
                text-align: center;
            }

            p {
                width: auto;
                height: max-content;
            }
        }
    }
}

@media(max-width:768px) {
    article {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;

        #separateur {
            gap: 10px;
            height: 5px;
            width: 315px;
        }
    }

    #ListeSections {
        margin: 5px;

    }

    .Section_Cours {
        flex-direction: column;
        align-items: center;

        p {
            height: max-content;
            max-height: max-content;
        }
    }

    footer {
        flex-direction: column;
        font-size: small;
    }
}

html.dark {

    article {
        background-color: purple;
    }

    .Section_Cours {
        background-color: blueviolet;
    }
}