@font-face {
    font-family: Poppins;
    src: url(./font/Poppins-Regular.ttf);
  }

/* Gradendé de chaque image*/
#artAcc::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #2a3c55, rgba(255,255,255,0));
}

#artPest::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #8dbad1, rgba(255,255,255,0));
}

#artBiblio::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, #6c4a2c, rgba(255,255,255,0));
}

#artPodcast::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, black, rgba(255,255,255,0));
}
#artContact::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, rgb(77, 204, 243), rgba(129, 183, 204, 0));
}
/*************************************************************************/

/* Body de chaque page*/

body {
    margin: 0;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: "Poppins", sans-serif;
}

#bodyPestel{
    color: black;
    background-color: #8dbad1;
}
#bodyContact{
    background-color: rgb(77, 204, 243);
}
#bodyIndex {
    color: #7cadf2;
    background-color: #2a3c55;
}
#bodyBiblio{
    color: black;
    background-color: #6c4a2c;
}

#bodyPodcast {
    background-color: black;
    color: white;
}

#bodyPodcast h2,h3{
    text-align: center;
}

#bodyPodcast > main > article > div:first-of-type{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-bottom: 5%;
}

#bodyPodcast footer{
    color: white;
}
/********************************************/

audio{
    width: 50vw;
    height: 9vh;
}

#cadenas {
    display: flex;
    align-items: center;
}

#cadenas img {
    width: max(18vw,144px);
    object-fit: contain;
    margin: 0 0.7vw;
}

.indexp {
    background-color: #5b84c7;
    border-radius: 15px;
    padding: 10px;
    color: black;
    margin-bottom: 10px;
}

.titrecontroverse {
    color: white;
    position: relative;
    margin-top: 4vh;
    margin-bottom: 2vh;
    margin-left: 2vw;
    margin-right: 2vw;
    justify-content: center;
    font-size: 2em;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
}

header {
    position: fixed;
    top: 0;
    right: 0;
    margin-right: 5vh;
    display: flex;
    align-items: flex-end;
    z-index: 2;
}

nav {
    display: flex;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 3%;
}

nav > div {
    position: relative;
    margin: 0;
    padding: 0;
}

nav > div > a {
    position: relative;
    display: block;
    text-align: left;
    background-color: transparent;
    padding: 10px;
    color: white;
    text-decoration: none;
}
.active, #menu2 div > .active{
    color: orange;
}
#menu2 a{
    position: relative;
    display: block;
    text-align: left;
    background-color: transparent;
    padding: 10px;
    color: white;
    text-decoration: none;
}

nav > div > a:hover {
    text-decoration: underline;
}

/*  sous menu */
.submenu {
    position: absolute;
    color: white;
    text-decoration: none;
    display: none;
    width: 100%;
    border-radius: 10px;
}

.submenu a {
    color: white;
    padding: 10px;
    display: block;
    text-decoration: none;
}

.submenu > div {
    justify-content: center;
    display: flex;
}

nav > div:hover .submenu {
    display: block;
}
#menu2 > div:hover .submenu {
    display: block;
}

main > article#artAcc {
    height : 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#artAcc {
    background-image: url("./img/privacy.png");
}

#artPest {
    background-image: url("./img/analyse-swot.jpg");
}
#artContact {
    background-image: url("./img/contact.jpg");
}

#artBiblio {
    background-image: url("./img/book_4.png");
}
#artPodcast {
    background-image: url("./img/podcast.jpg");
}

/*Image début page */
main >article#artBiblio {
    height : 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

main > article#artPest {
    height : 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
main > article#artPodcast {
    height : 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

main > article:first-child {
    background-color: grey;

}
main >article#artContact {
    height : 100vh;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
/************************************/


/* Tout le responsive */
.burger {
    display: none;
}

@media (min-width: 900px) {
    .submenu{
        left: 0px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (max-width: 900px) {
    h1 {
        font-size: 1.5em;
    }

    nav {
        display: none;
    }

    header {
        width: 100%;
    }

    #menu2 {
        display: none;
        width: 75%;
        background: #4CA5FC;
        height: 100%;
        top: 0px;
        left: 0px;
        bottom: 0;
        position: fixed;
        transition: all 0.2s;
    }  
    #menu2 h2{
        color: #333333;
    }
    #menu2 > div:first-child{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    #menu2 div:first-child > h2{
        width: 75%;
    }
    .burger {
        display: block;
        top: 10px;
        left: 10px;
        position: fixed;
        z-index: 1;
        transition: all 0.2s;
    }

    .submenu{
        width:60%;
        right: 0px;
        margin: 5%;
        border: 0.2rem solid;
        border-color: #ffffff;
    }

    .BiblioHead {
        display: flex;
        justify-content:flex-start;
        color: white;
        flex-direction: row;
    }
    
    .biblioHead svg {
        transition: transform 0.25s ease-out;
        fill: white;
    }
    
    .BiblioBody {
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.15s ease-out;
    }
    
    .BiblioContainer.open>.BiblioBody {
        max-height: 1000px;
        transition: max-height 0.25s ease-in;
        overflow: auto;
    }
    
    .BiblioContainer.open>.BiblioHead svg {
        transform: rotate(180deg);
        transition: transform 0.15s ease-in;
    }
    .BiblioContainer.open > .BiblioBody > .BiblioContainer > .BiblioHead{
        flex-direction: column;
        align-items: start;
        margin-left: 5%;
    }
    .BiblioContainer > .BiblioBody > .BiblioContainer > .BiblioHead{
        flex-direction: column;
        align-items: start;
        margin-left: 5%;
    }
    .BiblioHead:first-child > div:nth-child(2){
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    #menu2{
        width: 100%;
    }
    #cadenas {
        flex-direction: column;
    }
}
@media (max-width: 400px) {
    h1 {
        font-size: 1.2em;
    }
    .pest article {
        width: 100%;
    }

}
/******************************************************************************/

/* Indentation des textes*/
.texte{
    margin-left: 15vw;
    margin-right: 15vw;
    text-align: justify;
    font-size: max(0.8vw,12px);
}
/*********************************/

/* footer de chaque page*/
footer {
    background-color: rgba(0, 0, 0, 0.5);
    color: #5b84c7;
    text-align: center;
    bottom: 0;
    width: 100%;
}
/*********************************************/

/* pestel */

.pest article {
    width: 45%;
    margin: 10px;
    padding: 10px;
}

.pestel{
    color: black;
}
.pest {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
#politique {
    color: red;
    border: 3px solid red;
    border-radius: 10px;
}
#economique{
    color: orange;
    border: 3px solid orange;
    border-radius: 10px;
}
#social {
    color: gold;
    border: 3px solid gold;
    border-radius: 10px;
}
#technologique {
    color: green;
    border: 3px solid green;
    border-radius: 10px;
}
#ecologique {
    color: darkblue;
    border: 3px solid darkblue;
    border-radius: 10px;
}
#legal {
    color: purple;
    border: 3px solid purple;
    border-radius: 10px;
}

.Présentation {
    font-size: 3.5vw;
    color: white;
}

#titrepestel {
    color: #aa894b;
    font-size: 3.5vw;
}

#footerPestel {
    background-color: #aa894b;
    color: #8dbad1;
}
/*********************************************/

/* bibliographie */

#bibliographie {
    margin-right: 20%;
    margin-left: 20%;
    padding: 20px;
    border-radius: 10px;
}
.biblio {
    margin-bottom: 20px;
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    border-radius: 10px;
}

.resume {
    font-size: 16px;
    line-height: 1.5;
    color: #333333;
    margin: 1.5vw;
}

.biblio a {
    color: #007bff;
    text-decoration: none;
}

.biblio a:hover {
    text-decoration: underline;
}

#footerbiblio {
    color: white;
}
/*****************************************************/



/* Contact */
.contact-form {
    max-width: 600px;
    margin: 5vh auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 5px;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group input[type="date"],
.contact-form .form-group select,
.contact-form .form-group textarea {
    width: 60%;
    max-width: 95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form .form-group input[type="checkbox"] {
    margin-right: 8px;
}

.contact-form .form-submit {
    text-align: center;
}

.contact-form button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button[type="submit"]:hover {
    background-color: #45a049;
}

#footerContact {
    color: white;
    background-color: #04285a;
}
/*****************************************/

