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

* {
    color: white;
    font-family: 'Poppins';
    font-size: 25px;
    padding: 0;
    margin: 0;

}

.page-conteneur {
    background-color: black;

}

main {
    display: flex;
    justify-content: center;

}

.conteneur-main {
    width: 100%;
    background-color: rgb(0, 0, 0);
}

.intro-1 {
    margin-top: 160px;
}

.info-article {
    margin: 25px 0 35px 0;
}

picture {
    width: 100%;
}

header { 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conteneur-header {
    width: 75%;
    display: flex;
    justify-content: flex-start;
    position: absolute;
    top: 50px;
    z-index: 99;
}

p {
    line-height: 150%;
}

/*Navigation breadcrumb*/

.navigation-breadcrumb li + li:before {
    padding: 4px;
    content: ">";
}

.navigation-breadcrumb>li {
    display: inline;
}


/*Texte*/
.titre {
    font-size: 3.5vw; 
    letter-spacing: .3em;
    text-transform: uppercase; 
}

.navigation-breadcrumb a {
    font-size: 16px;
}


h2 {
    font-size: 2.2vw;
}

h3 {
    margin: 20px 0 20px 0;
    font-size: 2.2vw;
}

/* images */
.banniere img {
    width: 100%;
    filter: brightness(0.9);
    vertical-align: bottom;
}

.logo {

    width: 30%;
}

.logo img {
    width: 40%;
}

.evaluation__img {
    width: 30%;
}
.navigation-breadcrumb { grid-area: breadcrumb; }
.info-article { grid-area: auteur; }
.evaluation { grid-area: note;}
.image-section { grid-area: image; }
.texte-1  { grid-area: texte1; }
.texte-2  { grid-area: texte2; }
.texte-3 { grid-area: texte3; }

.grille {
width: 75%;
display: grid;
gap: 10px;
}
.image-section {
    width: 95%;
    position: relative;
    top: -100px;
    z-index: 99;
}

.section-3 .image-section {
    width: 100%;
}

.section-3 .image-section, .section-1 .image-section {
    margin-left: auto;
}

.section-titre {
    display: flex;
    justify-content: center;
}

.section-titre-conteneur {

    grid-template-areas:
    'breadcrumb breadcrumb breadcrumb breadcrumb breadcrumb breadcrumb'
    'note note note note note note'
    'auteur auteur auteur auteur auteur auteur'
    'texte1 texte1 texte1 texte1 texte1 texte1';
}

.section-1-conteneur {
    grid-template-areas:
    'texte1 texte1 texte1 image image image'
    'texte2 texte2 texte2 image image image'
    'texte3 texte3 texte3 texte3 texte3 texte3';

    grid-template-columns: 2fr 3fr 1fr 1fr 2fr 2fr;
    grid-template-rows: 2fr 1.5fr 1fr;
}

.section-2-conteneur {
    grid-template-areas:
    'image image image . . .'
    'image image image texte1 texte1 texte1'
    'texte2 texte2 texte2 texte2 texte2 texte2';
    
    grid-template-columns: 2fr 3fr 1fr 1fr 2fr 2fr;
    grid-template-rows: .5fr 2fr 1fr;

}

.section-3-conteneur {
    grid-template-areas:
    '. . . image image image'
    'texte1 texte1 texte1 image image image'
    'texte2 texte2 texte2 texte3 texte3 texte3';
    
    grid-template-columns: 2fr 3fr 1fr 1fr 2fr 2fr;
    grid-template-rows: .2fr .7fr 0.7fr;

}

.texte-1-3 {
    position: relative;
    z-index: 99;
}

section:first-of-type {
    margin: 300px 0 50px 0;
}

section {
    display: flex;
    justify-content: center;
    background-color: #222222;
    margin: 300px 0 150px 0;
    padding: 20px 0 20px 0;
    padding-top: 20px;
    border-color: #00F0FF #00F0FF #C81227 #C81227;
    border-width: 8px 0 8px 0;
    border-style: solid;
}

section p {
    line-height: 150%;
    margin: 30px 0 30px 0;
}

.section-special {
    position: relative;
    margin: 40px auto 80px auto;
    max-width: 70%;
    border: solid white 5px;
    background-color: black;
    border-radius: 26px;
    z-index: 2;
}

.section-special::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 30px;
    left: 30px;
    border: solid white 5px;
    border-radius: 26px;
    z-index: -20;
}

.section-special-conteneur {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background-color: black;
    border-radius: 26px;
}

.section-special-conteneur > * {
    width: 90%;
}

.citation {
    max-width: 40%;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 10px 0;
}

.footer-logo {
    width: 400px;
    margin: 40px 0 40px 0;
}

.footer-logo img {
    width: 100%;
}

.menu-credit__lien:link {
    filter: contrast(100%);
}

.menu-credit__lien:visited {
    filter: invert(53%) sepia(15%) saturate(2000%) hue-rotate(303deg) brightness(94%) contrast(100%);
}

.menu-credit__lien:hover, .menu-credit__lien:active {
    filter: invert(10%) sepia(51%) saturate(2872%) hue-rotate(145deg) brightness(104%) contrast(97%);
}

.menu-credit {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 10px;
    list-style: none;
}

footer li {
    margin-bottom: 5px;
}

footer li a {
    margin-left: 5px;
}

.menu__medias-sociaux {
    display: flex;
    list-style: none;
}

.menu-ms__items {
    margin: 20px 10px 20px 10px;
}

.menu-ms__img {
    width: 50px;
}

.menu-ms__lien:link img {
    filter: none;
}

.menu-ms__lien:visited img {
    filter: invert(53%) sepia(15%) saturate(2000%) hue-rotate(303deg) brightness(94%) contrast(100%);
    border: solid #00F0FF 2px ;
}

.menu-ms__lien:hover img, .menu-ms__lien:active img {
    filter: invert(10%) sepia(51%) saturate(2872%) hue-rotate(145deg) brightness(104%) contrast(97%);
}

.lien-github {
    margin-right: 10px;
}

@media only screen and (max-width: 1000px) {

    .grille {
        width: 100%;
    }

    .section-1-conteneur, .section-2-conteneur, .section-3-conteneur {
        grid-template-areas:
        'image image image image image image'
        'texte1 texte1 texte1 texte1 texte1 texte1'
        'texte2 texte2 texte2 texte2 texte2 texte2'
        'texte3 texte3 texte3 texte3 texte3 texte3';
    
        grid-template-columns: 2fr 3fr 1fr 1fr 2fr 2fr;
        grid-template-rows: 1fr;
    }

    .section-1 img, .section-2 img, .section-3 img {
        width: 100%;
        position: relative;
        top: 0px;
        left: 0;
        z-index: 99;
    }

    .section-1, .section-titre {
        display: flex;
        justify-content: center;
    }

    .section-1-conteneur, .section-2-conteneur, .section-3-conteneur, .section-titre-conteneur {
        width: 90%;
    }
    
    .section-special {
        max-width: 70%;
    }

    .titre {
        font-size: 8vw;
    }
    
    .evaluation__img {
        width: 60%;
    }

    h3, h2 {
        font-size: 7vw;
    }

    p {
        font-size: 4vw;
    }


    .conteneur-header {
        width: 98%;
        position: relative;
        left: 0;
        top:0;
    }

    nav {
        width: 100%;
    }


    .logo {
        width: 95%;
    }
    
    .logo img {
        width: 100%;
    }
  }
