/*page créée par Ephram Guenaud
  cette page est la page de style pour les pages de description du site
  Le 10 Janvier 2025 */

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-image: url(../img/background_image.png);
    background-position: top;
    margin: 0%;
    height: 100vh;
}

/*barre de navigation*/
div>nav {
    display: flex;
    width: 100%;
    justify-content: center;
}

div>nav>a:hover {
    font-size: 120%;
    color: #f2c9fb;
}

div>nav>a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 1000ms;
    width: 20%;
    height: 29px;
    background: #9c29b7;
    color: #000000;
    border-color: #000000;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px 8px 0px 0px;
    font-family: "Helvetica";
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

.select {
    width: 20%;
    height: 29px;
    background: #d757f6;
    color: #000000;
    border-color: #000000;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px 8px 0px 0px;
    font-family: "Helvetica";
    font-weight: 400;
    font-size: 14px;
    text-align: center;
}

/*block en dessous de la barre de navigation*/
header {
    text-align: center;
    width: 90%;
    padding: 8px 8px 8px 8px;
    background: #9c29b7;
    border-color: #000000;
    border-width: 1px;
    border-style: solid;
    border-radius: 33px 33px 33px 33px;
}

header>h1 {
    margin-top: 0%;
    margin-bottom: 0%;
    font-size: 400%;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

ul {
    text-align: start;
}

li {
    margin-top: 10px;
}

/*block au centre*/
#main {
    text-align: center;
    vertical-align: middle;
    width: 30%;
    height: 90%;
    padding: 20px 4px 2px 4px;
    background: #9c29b7;
    color: black;
    border-color: #232323;
    border-width: 1px;
    border-style: solid;
    border-radius: 37px 37px 37px 37px;
    font-family: "Helvetica";
    font-weight: 400;
    font-size: 12px;
    line-height: 1.3;
    text-align: left;
    text-align: center;
}

#second {
    vertical-align: middle;
    width: 30%;
    height: 100%;
    padding: 20px 40px 2px 40px;
    background: #9c29b7;
    color: black;
    border-color: #232323;
    border-width: 1px;
    border-style: solid;
    border-radius: 37px 37px 37px 37px;
    font-family: "Helvetica";
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    text-align: left;
    text-align: center;
}

#main>img {
    width: 40px;
}

#second>img {
    width: 300px;
    margin-bottom: 15px;
    margin-top: 15px;
    border-radius: 37px 37px 37px 37px;
}

hr {
    border-color: gray;
}

/*pied de page*/
footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    width: 90%;
    padding: 8px 8px 8px 8px;
    background: #9c29b7;
    border-color: #000000;
    border-width: 1px;
    border-style: solid;
    border-radius: 73px 73px 0px 0px;
}

.lien {
    color: pink;
    text-decoration: none;
    transition: 1000ms;
}

.lien:hover {
    color: white;
    font-size: 120%;
}

main {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.legende {
    margin-top: 0px;
}

/*sur tablette*/
@media screen and (max-width: 1000px) {

    body {
        height: 2000px;
    }

    main {
        flex-direction: column;
        justify-content: space-evenly;
        height: 2000px;
        overflow: auto;
    }

    #second>img {
        width: 60%;
    }

    #second {
        width: 70%;
        height: 38%;
    }

    #main {
        width: 70%;
        height: 38%;
        font-size: 15px;
    }

    footer {
        width: 90%;
    }

}

/*sur téléphone*/
@media screen and (max-width: 520px) {
    #second {
        width: 70%;
        height: 38%;
    }

    #main {
        width: 70%;
        height: 55%;
        font-size: 15px;
    }
}