/** @format */

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

* {
    margin: 0;
    padding: 0;
    text-decoration: none !important;
    color: rgb(0, 0, 0);
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

hr {
    max-width: 100vw !important;
}
article {
    width: 100%;
    font-family: "Roboto", sans-serif;
}

header {
    width: 100%;

    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    overflow: hidden;
}

header > .imageDeFond {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;

    z-index: -1;

    object-fit: cover;
    opacity: 0.25;
}

header > p {
    max-width: min(1100px, 95%);
    margin-top: 44px !important;
    font-size: 1.725rem;
    text-align: center;
    text-wrap: balance;
}

h1 {
    max-width: 80%;
    margin-top: 40px;
    padding-right: 40px;
    padding-left: 40px;
    font-size: 3.5rem;
    text-align: center;
}
main {
    width: 100%;
    max-width: 1300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto;
    padding-bottom: 20px;
    overflow-x: hidden;
}

main > section {
    width: 100%;
    /* padding: 24px; */
}

main h2 {
    max-width: 755px;
    margin: auto;
    font-size: 2rem;
    text-align: center;
    text-wrap: balance;
}

/* debut sommaire */
/* debut sommaire */
/* debut sommaire */

.sommaire {
    width: 100%;
    z-index: 12;
    display: flex;
    justify-content: center;
}

.tableDesMatieres {
    width: 100%;
    max-width: min(850px, 90%);
    margin-top: 30px;
    padding: 20px;
    background-color: #ffffff;

    box-shadow: 0px 0px 10px #0000003f;
    border-radius: 20px;
    color: #1d1d1d;
}

.tableDesMatieres a {
    text-decoration: underline !important;
    color: #1f19c2;
}

.tableDesMatieres > label {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    color: #1d1d1d;
}

.listeDecalage1 {
    margin-left: 25px;
}

ul {
    margin: 20px;
    padding: 20px;
}

li {
    margin-bottom: 15px;
    /* Espacement entre les éléments de la liste */
    font-size: 1.3rem;
}
/* fin sommaire */
/* fin sommaire */
/* fin sommaire */

main .presentationArticlesPrincipaux {
    /* margin-top: 12px; */
    padding: 32px 40px;
    padding-bottom: 54px;
    background: linear-gradient(#00b7ff1a 10%, #ffffff);
}

.containerArticlesVedettes {
    width: 100%;
    max-width: 1100px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-items: stretch;
    margin: auto;
    margin-top: 20px;
    padding: 24px;
}

.articlesVedette {
    width: 30%;
    min-width: 200px;

    display: flex;
    flex-direction: column;
    overflow: hidden;

    background-color: #fff;
    box-shadow: 5px 5px 10px rgba(11, 11, 11, 0.265);
    border-radius: 12px;

    cursor: pointer;
    transition: 0.15s;
}

.articlesVedette:hover {
    scale: 1.02;
}

.articlesVedette > img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}

.articlesVedette > .titreEtResumeArticlesVedette {
    display: flex;
    flex-direction: column;
    padding: 16px;
    padding-bottom: 24px;
}

.titreEtResumeArticlesVedette > .titreArticlesVedette {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
}

.titreEtResumeArticlesVedette > .resumeArticlesVedette {
    margin-top: 12px;
    font-size: 1.15em;
    color: #303030;
}

h3 {
    font-size: 2rem;
    text-decoration: underline !important;
}

.partieRechercheArticlesContainer {
    position: relative;

    display: flex;
    flex-direction: column;

    background-color: #fefefe;

    background-image: url(./img/image.avif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    background-attachment: fixed;
}

.fondBlanc {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    background-color: #ffffffc6;
}

.partieRechercheArticlesContainer
    > #titrePresentationDes100 {
    margin-top: 24px;
    margin-bottom: 24px;
    width: 100%;
    text-align: center;
    font-size: 2.2rem;
    z-index: 2;
}

.partieRechercheArticlesContainer > h3 {
    z-index: 2;
    padding: 0 28px;

    padding-top: 100px;
}

.partieRechercheArticles {
    width: 100%;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    align-items: stretch;
    padding: 24px;
    flex-wrap: wrap;
}

.partieRechercheArticles > .article {
    width: 30%;
    min-width: 290px;

    display: flex;
    flex-direction: column;
    margin-top: 4vw;
    padding: 16px;
    padding-top: 20px;
    padding-top: 20px;
    background-color: #ffffff;
    box-shadow: 2px 2px 10px #0b0b0b44;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.15s;
}
.article:hover {
    scale: 1.03;
}

.article > .titreArticle {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
}

.article > .resumeArticle {
    margin-top: 12px;
    margin-top: 8px;
    font-size: 1.15em;
    color: #303030;
}

nav {
    height: 52px;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
    z-index: 100;

    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-bottom: solid 1px #dddddd;
}

nav > div {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

nav > div > * {
    user-select: none;
}

footer {
    max-width: 100vw;
    overflow: hidden;
}

footer a {
    text-decoration: none !important;
    color: #1d1d1d;
}

@media screen and (max-width: 610px) {
    h1 {
        font-size: 2rem;
        padding-right: 16px;
        padding-left: 16px;
    }
    #titrePresentationDes100 {
        margin-top: 8px;
        margin-bottom: 24px;
        width: 100%;
        text-align: center;
        font-size: 2.2rem;
        z-index: 2;
        padding-top: 8px;
    }

    main .presentationArticlesPrincipaux {
        padding: 32px 8px;
        padding-bottom: 14px;
    }

    .articlesVedette {
        width: 90%;
    }

    header > p {
        font-size: 1.5rem;
    }
    .partieRechercheArticlesContainer > h3 {
        padding: 0 4px;
        padding-left: 12px;
        margin-top: 12px;
    }
}

@media screen and (max-width: 888px) {
    .containerArticlesVedettes {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .containerArticlesVedettes > div {
        width: 90%;
    }
}
