body{
    margin: 0px;
    background:  linear-gradient(#051031,#283E5F);
}
.menu{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 950px;
    background:  linear-gradient(#051031,#283E5F);
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
.menu_onglets{
    display: flex;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100px;
}
.menu_onglets:hover{
    background-color: #172128;
    transition: 0.8s;
}
.encres{
    display: flex;
    display: flex;
    flex-direction: row;
    width: 40%;
    height: 100px;
    margin: auto;
    margin-left: 0px;
    margin-right: auto;
    color: white;
}
.encres a{
    width: auto;
    text-align: center;
    font-size: 20px;
    margin: auto;
    color: white;
    margin-right: 0px;
    text-decoration: none;
}
.encres a:hover{
    text-decoration: underline;
    transition: 2s;
}
.recherche_connexion{
    display: flex;
    display: flex;
    flex-direction: row;
    width: 10%;
    height: 100px;
    margin: auto;
    margin-right: 0px;
    margin-left: auto;
    color: white;
}
.recherche_connexion a{
    width: auto;
    margin: auto;
    margin-left: 0px;
}
.recherche_connexion a img{
    width: 40px;
    margin: auto;
}
.recherche_connexion a img:hover{
    width: 55px;
}
.Porfil{
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 800px;
}
.photo_profil{
    width: 500px;
    height: 600px;
    margin: auto;
    border-radius: 30px;
}
.separation_pro{
    width: 50%;
    display: flex;
    flex-direction: column;
}
.description_pro{
    display: flex;
    flex-direction: column;
    width: 50%;
    height: 400px;
    background-color: #051031;
    margin: auto;
    border-radius: 30px;
    color: white;
}
.description_pro h1{
    width: 90%;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
.description_pro h4{
    width: 90%;
    text-align: left;
    margin: auto;
    margin-top: 40px;
}
.card-img-top{
    width: 60%;
    margin: auto;
}
/* Les projets */

.MesProjets{
    display: flex;
    flex-direction:  column;
    width: 80%;
    height: auto;
    margin: auto;
}
.MesProjets h2{
    margin: 50px auto 50px auto;
    color: white;
    text-decoration: underline;
}
.carousel{
    margin-bottom: auto;
}

.LesCompetences{
    display: flex;
    flex-direction:  column;
    width: 100%;
}

.LesCompetences h2{
    margin: auto;
    margin-top: 44px;
    color: white;
    text-decoration: underline;
}
.ligne_competences{
    display: flex;
    flex-direction: row;
    width: 80%;
    margin: auto;
    margin-top: 44px;
    margin-bottom: 20px;
}
.card{
    margin: auto;
}
.carousel h5,.carousel p, .carousel a {
    color: white;
    text-decoration: none;
}
.filtre{
    background-color: gray;
    filter: opacity(0.8);
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    padding : 15px;
}
.formulaire{
    display: flex;
    flex-direction: column;
    width: 600px;
    border-radius: 15px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 44px;
    background:  linear-gradient(#051031,#1c3f6f);
}
form{
    width: 400px;
    margin: auto;
}
.formulaire h2{
    margin: auto;
    margin-top: 44px;
    margin-bottom: 44px;
    color: white;
    text-decoration: underline;
}
label{
    color:white;
}
button{
    margin: auto;
}
textarea{
    height: 150px;
}
.formulaire h4{
    margin: auto;
    margin-bottom: 15px;
    color: white;
}
hr{
    color: white;
    opacity: .75;
}
.erreur{
    color: red;
}

@media  screen and (max-width: 1160px) {
    .carousel h5,.carousel p, .carousel a {
        color: white;
        text-decoration: none;
        font-size: 10px;
    }
    .menu{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 950px;
        background:  linear-gradient(#051031,#283E5F);
        border-bottom-left-radius: 30px;
        border-bottom-right-radius: 30px;
    }
    .menu_onglets{
        display: flex;
        display: flex;
        flex-direction: row;
        width: 100%;
        height: 100px;
    }
    .menu_onglets:hover{
        background-color: #172128;
        transition: 0.8s;
    }
    .encres{
        display: flex;
        display: flex;
        flex-direction: row;
        width: 60%;
        height: 100px;
        margin: auto;
        margin-left: 0px;
        margin-right: auto;
        color: white;
    }
    .encres a{
        width: auto;
        text-align: center;
        font-size: 15px;
        margin: auto;
        color: white;
        margin-right: 0px;
        text-decoration: none;
    }
    .recherche_connexion{
        display: flex;
        display: flex;
        flex-direction: row;
        width: 20%;
        height: 100px;
        margin: auto;
        margin-right: 0px;
        margin-left: auto;
        color: white;
    }
    .Porfil{
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 1100px;
    }
    .photo_profil{
        width: 350px;
        height: 400px;
        margin: auto;
        border-radius: 30px;
    }
    .separation_pro{
        width: 50%;
        display: flex;
        flex-direction: column;
    }
    .description_pro{
        display: flex;
        flex-direction: column;
        width: 80%;
        height: 350px;
        background-color: #051031;
        margin: auto;
        border-radius: 30px;
        color: white;
    }
    .description_pro h1{
        width: 90%;
        text-align: center;
        margin-top: 20px;
        margin-bottom: 10px;
        font-size: 25px;
        margin-left: auto;
        margin-right: auto;
    }
    .description_pro h4{
        text-align: center;
    }
    .ligne_competences{
        display: flex;
        flex-direction: column;
        width: 80%;
        height: auto;
        margin: auto;
        margin-top: 0px;
        margin-bottom: 0px;
    }
    .card {
        margin: 10px auto 10px auto;
    }
    .LesCompetences h2 {
        margin: auto;
        margin-top: 44px;
        margin-bottom: 44px;
        color: white;
        text-decoration: underline;
    }

}

@media screen and (max-width:600px){
    .formulaire {
        width: 100%;
    }
    form {
        width: 80%;
    }
    .MesProjets {
        width: 95%;
    }
    .recherche_connexion a img {
        width: 25px;
        margin: auto;
    }
    .encres{
        width: 70%;
    }
    .Porfil .description_pro h1{
        font-size: 20px;
    }
    .Porfil .description_pro h4{
        font-size: 15px;
    }
    .Porfil .description_pro{
        height: 250px;
    }
    .photo_profil{
        width: 250px;
        height: 300px;
    }
    .menu{
        height: 750px;
    } 
    .encres a{
        font-size: 12px;
    }
}