/*1 part, image + titre principal*/
.cv-img-titre1{
    margin-top: 3%;
}

.cv-img-titre1 img{
    width: 100vw;
}

.cv-img-titre1 h2{
    padding-top: 2%;
    text-align: center;
    text-decoration: underline;
    font-size: 50px;
    color: #277BC0;
}

.button{
    display: block;
    border: 4px solid #277BC0;
    border-radius: 10px;
    width: 100px;
    margin: 2% auto;
    padding: 1%;
    color: #277BC0;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
}

.button:hover {
    background-color: #277BC0;
    transition: 0.5s;
    padding: 1.5%;
    width: 150px;
}

a.button:hover{
    color: #FFB200;
    transition: 0.5s;
    font-size: 20px;
    
}

/*2 part - Competences*/
.cv-competences h2{
    background-color: #FFB200;
    border-radius: 15%;
    color: #277BC0;
    width: 30%;
    text-align: center;
    margin: 3% auto 1% auto;
}

.cv-competences article{
    display: flex;
    justify-content: space-around;
    text-align: center;
    color: #277BC0;
    text-transform: uppercase;
    /*
    margin: 0 20%;
    */
}

.cv-competences article img{
    width: 80px;
    height: 80px;
}

/*Ligne qui divise les sections*/
.lineadivision{
    border: 2px solid #FFB200;
    width: 80%;
    margin: 10px auto 20px auto;
}

/*3 part - Experiences*/
.cv-experiences h2{
    background-color: #FFB200;
    border-radius: 15%;
    color: #277BC0;
    width: 30%;
    text-align: center;
    margin: 3% auto 1% auto;
}

.cv-experiences .articlesexpe{
    display: flex;
    justify-content: space-around;
    margin: 5%;
}
.cv-experiences ol ul li{
    list-style-type: none;
}
.cv-experiences article{
    display: flex;
    justify-content: center;
    width: 50%;
    color: #277BC0;
}

.cv-experiences article div {
    width: 50%;
}

.cv-experiences img{
    height: 150px;
    width: 150px;
}

/*4 part - Formation*/
.cv-formation h2{
    background-color: #FFB200;
    border-radius: 15%;
    color: #277BC0;
    width: 30%;
    text-align: center;
    margin: 3% auto 1% auto;
}

.cv-formation h3{
    margin-top: 10%;
    color: #277BC0;
}
.cv-formation article{
    display: flex;
    justify-content: center;
    width: 40%;
    margin: 0 auto;
    color: #277BC0;
}

.cv-formation img{
    height: 150px;
    width: 150px;
}

.cv-formation article div {
    margin: 0 auto;
}

@media screen and (max-width:900px) {
    .cv-img-titre1 h2{
        font-size: 2em;
    }
    .cv-competences article{
        margin: 0 10%;
    }
    .cv-competences article img{
        width: 50px;
        height: 50px;
    }
    .cv-competences h2{
        width: 40vw;
        font-size: 1em;
    }
    /*EXPERIENCES*/
    .cv-experiences article{
        width: 100%;
    }
    .cv-experiences .articlesexpe{
        display: block;
    }
    .article3 div{
        margin:0 20px 50px 20px;
    }
    .article4 div{
        margin:0 20px 0 20px;
    }
    .cv-experiences h2{
        width: 40vw;
        font-size: 1em;
    }
    /*
    .article3,.article4 h3{
        font-size: 0.8em;
    }
    
    .article3,.article4 h5{
        font-size: 0.6em;
    }
    .article3,.article4 p{
        font-size: 0.5em;
    }
    .article3,.article4 li{
        font-size: 0.5em;
    }
    */
    /*FORMATION*/
    .cv-formation h2{
        width: 40vw;
        font-size: 1em;
    }
    .cv-formation img{
        width: 85px;
        height: 85px;
    }
    .cv-formation h3{
        font-size:0.8em;
    }
    .cv-formation h4{
        font-size:0.6em;
    }
    .cv-formation p{
        font-size:0.5em;
    }

}

@media screen and (max-width:500px) {
    .cv-img-titre1 h2{
        font-size: 1.2em;
    }
    .cv-competences article{
        margin: 0 5%;
        font-size: 0.5em;
    }
    .cv-competences article img{
        width: 30px;
        height: 30px;
    }
    .cv-experiences article{
        display: block;
        justify-content: center;
    }
    .cv-experiences,.cv-competences, .cv-formation h2{
        font-size: 0.8em;
    }
    .cv-experiences h3{
        font-size: 1em;
    }
    .cv-experiences article div{
        width: 70%;
    }

    .article3 div{
        margin: 0 auto 20px auto;
        text-align: center;
    }
    .article4 div{
        margin: 0 auto;
        text-align: center;
    }
    .cv-ph-1{
        display: block;
        justify-content: space-around;
    }
    .articlesexpe .article3 .cv-ph-1{
        margin: 0 auto 10px auto;
        width: 150px;
    }
    .cv-ar-1{
        width: 100vw;
    }
    .articlesexpe .article4 .cv-ph-2{
        margin: 0 auto 10px auto;
        width: 150px;
    }

}