/*----------------LIENS UTILES----------------*/
/* https: //jsfiddle.net/mLtszd2a/
http: //www.corelangs.com/css/box/overlay.html
https: //www.sylvaindurand.fr/overlay-image-in-pure-css/#_
http: //www.hautemontagne.ca/ti1/projet_final/fmodale/fmodale_ex.html#nullePart
http: //www.hautemontagne.ca/ti1/projet_final/fmodale/fmodale_tut.html

#D9D9D9 #A6A6A6 #595959 #262626 #0D0D0D */

/*-------------BODY+HTML-------------------*/
body {
    width: 100%;
    margin: 0;
}

.fondu{
    animation: fadeIn 3s;

}
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html {
    position: relative;
    margin: auto;
    width: 100%;
    text-align: left;
    font-size: 19px;
    padding-top: 94px;
}

/*--------------HEADER-------------------*/

header {
    background-color: #FFFFFF;
    display: flex;
}

nav {
    opacity: 0.9;
}

section:target {
    padding-top: 94px;
    margin-top: -94px;
}

header:target {
    padding-top: 94px;
    margin-top: -94px;
}

.Contact:target {
    padding-top: 0px;
    margin-top: 0px;
}
/*--------------------TITRES---------------*/

h1 {
    font-family: 'Prata', serif;
    text-transform: uppercase;
    color: #1D3557;
    text-align: left;
    text-indent: 3vw;
    padding-top: 2vw;
}

section h1 {
    font-size: 42px;
}

h2{
    color: #1D3557;
    font-family: 'Gilda Display', serif;
}

/*-------------SECTION 1-------------*/


p {
    text-align: center;
}

#IMGMOI{
    height: 500px;
}

.dispoPresentation{
    display: flex;
    padding-left: 10vw;
}

.boutonCV {
    transition: 0.3s;
    padding: 12px 16px 12px 16px;
    background-color: #FFFFFF;
    color: #1D3557;
    border-radius: 10px;
    font-weight: 600;
    border: solid 3px #1D3557;
    letter-spacing: 1px;
    cursor: pointer;
    margin: 2vw;
}

.boutonCV:hover{
    transition: 0.3s;
    color: #FFFFFF;
    background-color: #1D3557;
}

.divboutonCV {
    text-align: center;
}

.presentation p {
    padding-left: 3vw;
    padding-right: 10vw;
    text-align: justify;
    
}

/*------------UL ET LI (section 2)-------------------*/

ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    text-align: center;
}

li {
    width: 350px;
    height: 350px;
    margin: 1.5em;
}

li img {
    opacity: 0.6;
}

li:hover img {
    opacity: 1;
}

/*------------SECTION 2-------------------*/
hr {
    margin: auto;
}

.competences ul {
    display: flex;
    justify-content: center;
}

li {
    height: auto;
    z-index: 2;
}

.competences {
    background-color: rgb(248, 249, 250);
    color: #1D4B73;
    position: relative;
    overflow: hidden;
}

.svg {
    position: absolute;
}

/*---------------SECTION3.2-------------*/
.travaux {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100vw;
    justify-content: space-around;
}

.travaux div {
    margin-bottom: 3vw;
    border: solid #4B8CA6 3px;
    position: relative;
}

.affiche {
    width: 23vw;
    height: 33vw;
}

.travaux img {
    opacity: 1;
    transition: 0.3s ease-in-out;
}

.travaux img:hover {
    opacity: 0.1;
    cursor: pointer;
}

.texte {
    font-size: 1.4vw;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    text-align: center;
    color: #4B8CA6;
}

/*---------------CONTACT------------------*/

.Contact {
    background-color: rgb(248, 249, 250);
}

.mail {
    display: flex;
    justify-content: center;
}

.iconemail {
    height: 30px;
    width: 48px;
    padding-right: 20px;
}

.maison {
    display: flex;
    justify-content: center;
}

.iconeMaison {
    height: 30px;
    width: 48px;
    padding-right: 20px;
}

.reseaux{
    text-align: center;
    padding: 1vw 0vw 3vw 0vw;
}

/*--------------FOOTER------------------*/

.iconeLinkedin {
    width: 40px;
    height: 40px;
}

.spanFooter {
    color: #c9c9c9;
    font-size: 15px;
}

.footer {
    display: flex;
}

.etudiant {
    padding-top: 2vw;
}

.etudiant p {
    padding-left: 3vw;
}

/*-----------------MEDIA QUERIES-----------*/

@media screen and (max-width: 884px) {

    .dispoPresentation{
        flex-direction: column;
        padding-left: 18vw;
        padding-right: 18vw
    }
    
    .presentation p {
        padding-left: 2vw;
        padding-right: 2vw;    
    }
    
    #IMGMOI{
        margin-bottom: 2vw;
    }

}

@media screen and (max-width: 830px) {

    .svg{
        margin-top: 100vw;
    }

}


@media screen and (max-width: 680px) {

    .dispoPresentation{
        padding-left: 10vw;
        padding-right: 10vw;
    }


    footer {
        flex-direction: column;
    }

    footer li {
        text-align: center;
    }
    
}

@media screen and (max-width: 500px) {

    .dispoPresentation{
        padding-left: 6vw;
        padding-right: 6vw;
    }
    
    li img {
        opacity: 1;
    }
    
    .texte {
        font-size: 2.2vw;
    }
    
    .basFooter img{
        padding: 1
    }
}