/* Couleurs du titre */
#header-title {
    background: linear-gradient(to bottom,rgb(245,245,220),rgb(245,245,220),rgb(0, 236, 236));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} 

/* Corps de la page */
#myBody {
    background-image:linear-gradient(to bottom right, rgba(63, 139, 139, 0.75), rgba(150, 216, 255, 0.8), rgba(57, 57, 219, 0.75));
}

/* Les fonds */
.exe-1, .exe-2 {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5%;
}

/* Le premier fond */
.first {
    margin-top: 9%;
}

/* Fond bleu clair */
.exe-1 {
    background-color: dodgerblue;
    height: 100vh;
}

/* Fond bleu foncé */
.exe-2 {
    background-color: rgb(0, 71, 141);
    height: 120vh;
}

/* Les titres de section */
.exe-title-g, .exe-title-d {
    font-size: xx-large;
    font-family: cursive;
    background-color: rgba(255, 255, 255, 0.8);
    width: fit-content;
    margin: 0 0 8% 0;
} 

/* Titre de section en haut à gauche */
.exe-title-g {
    padding: 1% 2% 1% 5%;
    border-bottom-right-radius: 30px;
    align-self: flex-start;
}

/* Titre de section en haut à droite */
.exe-title-d {
    padding: 1% 2% 1% 5%;
    border-bottom-left-radius: 30px;
    align-self: flex-end;
}

/* Texte et image côte à côte */
.txtImg {
    display: flex;
    width: 90%;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 5%;
}

/* Plusieurs paragraphes dans une colonne */
.txtImg .column-g {
    max-width: 40%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: larger;
    text-align: left;
}

/* Les images dans la zone où il y en a 4 affichés en rectangle */
.txtImg .imgs {
    max-width: 60%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

/* Les images */
.txtImg img {
    width: 45%;
    margin: 1%;
    object-fit: contain;
}

/* Les Textes */
.txtImg p {
    font-size: larger;
    text-align: justify;
    margin-bottom: 2%;
}

/* Texte en blanc */
.exe-2 p {
    color: white;
}

.exe-2 #white {
    color: white;
    font-size: larger;
    margin-left: 10%;
    margin-bottom: 5%;
}

/* Texte, image et bouton côte à côte */
.txtImgBtn {
    display: flex;
    width: 80%;
    align-self: center;
    height: 20vh;
    justify-content: space-between;
    align-items: center;
    padding: 4vh 0 4vh 0;
    border-bottom: 1px solid black;
}

/* Spécificité pour le premier txtImgBtn */
#FirstTxtImgBtn {
    border-top: 1px solid black;
}

/* Les images */
.txtImgBtn img {
    max-height: 10vh;
    object-fit: contain;
}

/* Les textes */
.txtImgBtn p {
    max-width: 40%;
    font-size: x-large;
}

/* Les boutons */
.txtImgBtn button {
    font-size: larger;
    cursor: pointer;
    border: 1px solid black;
    background-color: rgba(6, 172, 0, 0.8);
    padding: 20px;
    border-radius: 10px;
    transition: 0.5s;
}

/* Survol des boutons */
.txtImgBtn button:hover {
    font-size: x-large;
}

/* Section de choix (JS) */
.choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3%;
    width: 80%;
    height: 50vh;
    border: 1px solid black;
    background-color: rgba(192, 192, 255, 0.8);
}

/* Boutons de choix */
.choice .btns {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 5vh;
}

/* Chaque bouton de choix */
.choice .btns button {
    flex: 1;
    font-size: larger;
    cursor: pointer;
    border: 1px solid black;
}

/* Couleur au clic, appliquée par JS */
.color{
    color: black;
    background: rgb(255, 208, 0);
}

/* Couleur de base, appliquée par JS */
.colorLess {
    color: black;
    background: rgb(192, 192, 192);
}

/* Zone de texte modifiée par JS */
.choice #spec {
    color: black;
    font-size: larger;
    width: 96%;
    margin: 2%;
    text-align: justify;
}

@media only screen and (max-width:768px) {

    .exe-title-g, .exe-title-d {
        width: fit-content;
    }

    .txtImg {
        flex-direction: column;
        align-items: center;
    }

    .txtImg .column-g {
        max-width: 90%;
        font-size: medium;
    }

    .txtImg img {
        margin: 2% 0;
        width:75%;
    }

    .exe-2, .exe-1 {
        height: max-content;
    }

    .txtImg .imgs {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .txtImg .imgs img {
        width: 45%;
        margin: 0 4% 4% 0;
    }

    .txtImgBtn {
        flex-direction: column;
        height: auto;
        gap: 2vh;
        margin-bottom: 2%;
    }

    .txtImgBtn button {
        padding: 15px;
    }

    .txtImgBtn p {
        max-width: 100%;
        text-align: center;
        font-size: larger;
    }

    .choice {
        height: auto;
        margin-bottom: 5%;
    }

    .choice #spec {
        font-size: large;
    }

}

@media only screen and (max-width:500px) {

    .exe-title-g, .exe-title-d {
        font-size: x-large;
    }

    .txtImg .column-g {
        font-size: small;
    }

    .txtImg .imgs {
        flex-direction: column;
        align-items: center;
    }

    .txtImg .imgs img {
        width: 70%;
        margin: 0 0 4% 0;
    }

    .txtImgBtn button {
        padding: 10px;
        font-size: large;
    }

    .txtImgBtn button:hover {
        font-size: larger;
    }

    .txtImgBtn p {
        font-size: large;
    }

    .choice .btns button {
        font-size: medium;
    }

    .choice #spec {
        font-size: medium;
    }

    .txtImgBtn img {
        max-height: 8vh;
    }

}

@media only screen and (max-width:300px) {

    .exe-title-g, .exe-title-d {
        font-size: larger;
    }

    .exe-title-g {
        padding: 1% 5% 1% 3%;
    }

    .exe-title-d {
        padding: 1% 3% 1% 5%;
    }

    .txtImg .imgs img {
        width: 80%;
        margin: 0 0 4% 0;
    }

    .txtImgBtn img {
        max-height: 7vh;
    }
}
