/* main  */

main {
    min-height: 40vh;
    height: min-content;
}

main section {
    padding: 2vw;
    height: min-content;
}

h1 {
    font-family: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
}

/* section 1 ------------------------------------------------- #welcome# --------- */

main .section.one {
    min-height: calc(50px + 30vw);
    background-color: var(--background-main1);

    box-shadow: #00999966 0px 5px, #0099994d 0px 10px, #00999933 0px 15px, #0099991a 0px 20px, #0099990d 0px 25px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

main .section.one h1 {
    color: #ffffff;
    font-size: 3em;
    padding: 0 20px 0 70px;
}

main .section.one p {
    width: 40%;
    color: #ffffff;
    font-size: 1em;
}



/* section 2 ------------------------------------------------- #l'équipe# --------- */

main .section.two {
    min-height: calc(100px + 40vw);
    background-color: var(--background-main2);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;
    padding: 5vw;
}

main .section.two h2 {
    font-size: 4em;
    text-align: center;
    width: 100%;
}

main .section.two div {
    width: calc(100% / 3);
    min-width: 300px;
    padding: 2vw;

    position: relative;
}
main .section.two div .name {
    position: relative;
    bottom: -2vw;
    display: inline-block;
    
    transform: translate(0);
    transition: transform 0.1s ease-out;

    font-family: "Exo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: italic;
}

main .section.two div img {
    width: 100%;
    border-radius: 50%;
}

main .section.two div .description {
    display: none;
    position: absolute;
    bottom: 0;
    border-radius: 20px;
    padding: 10px;

    /* color: #009999;
    background-color: #ffffff;
    border: 1px solid #009999; */

    
    background-color: #009999;
    color: white;
    border: none;
}


main .section.two div .description {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

main .section.two div:hover .description {
    display: block;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}


/* section 3 ------------------------------------------------- #qui sommes nous# --------- */

main .section.three {
    min-height: calc(100px + 20vw);
    background-color: #ffffff;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;
    padding: 5vw;
}

main .section.three > div:nth-child(1) {
    padding: 0 6vw 4vw 6vw;
}

.presentation > p {
    margin: 2vw;
}

.galery {
    width: 100%;
    height: min-content;

    display: flex;

    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.galery img {
    width: 400px;
    height: 200px;
    object-fit: cover;
    margin: 25px;
}


/* section 4 ------------------------------------------------- #don ulule# --------- */

main .section.four {
    background-color: #c9d5d5;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
    height: min-content;
    min-height: 400px;
    padding: 10px 0;
}


/* section 5 ------------------------------------------------- #contact us# --------- */

main .section.five {
    background-color: #0b355b;
    min-height: 100vh;
    height: min-content;
    padding: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

main .section.five form {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

main .section.five .title {
    color: #FFFFFF;
    font-size: 3em;
    text-align: center;
}

main .section.five form .no_background {
    min-width: 30vw;
    max-width: 80vw;

    height: min-content;
    font-size: 1.5em;
    margin: 15px 0 15px 0;
    padding: 2vh;
    outline: none;
    border: none;
    border-bottom: 2px solid #FFFFFF;
    background: none;
    color: #FFFFFF;
}
main .section.five form textarea {
    min-width: 30vw;
    max-width: 80vw;
    
    min-height: 30vh;
    height: min-content;
    font-size: 1.2em;
    margin: 15px 0 15px 0;
    padding: 2vh;
    outline: none;
    border-radius: 10px;
    border: 2px solid #FFFFFF;
    color: #000000;
    resize : none;
}

main .section.five form .no_background::placeholder {
    color: #F5F5F5;
    font-size: 0.8em;
}

/* responsive */

@media (max-width: 900px) {
    main .section.two h2 {
        font-size: 3em;
    }
}

@media (max-width: 780px) {
    main .section.one {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    main .section.two h2 {
        font-size: 2em;
    }
}