*,::before,::after {
    box-sizing: border-box;
    margin:0 ;
    padding:0 ;
    font-family: Arial, Helvetica, sans-serif;
}
body {
    min-height: 100vh;
    background: rgb(169, 231, 163);
    display: grid;
    place-items: center;
    padding: 0 1rem;
    font-size: 13px;
    margin: 0px;
}

h1{
    font-size: 40px;
    font-weight: normal;
    text-align: center;
}
header{
    height: 45px;
}
footer{
    width: 100%;
    height: 80px;
    padding-top: 30px;
    text-align: center;
    background-color: #c5c5c5;
    border-top: 2px solid #aaa;
}
nav li{
    list-style-type: none;
    float: left;
}
nav ul{
    margin: 0px;
    padding: 0px;
}
nav{
    width: 100%;
    background-color: #424558;
}
nav a{
    display: inline-block;
    text-decoration: none;
    padding: 20px 30px;
    color: #fff;
    text-transform: uppercase;
    font-size: 15px;
}
.table{
    display: table;
    margin: 0 auto;
}
.men_ind:hover, .presentations{
    border-top: 5px solid #4c8;
    background-color: rgba(64,200,130,0.2);
}
.men_exp:hover, .parcours{
    border-top: 5px solid #fadc4f;
    background-color: rgba(241,211,79,0.2);
}
.men_hob:hover, .competences{
    border-top: 5px solid #0070bb;
    background-color: rgba(000,112,192,0.2);
}
.men_con:hover, .recommandations{
    border-top: 5px solid #e44d26;
    background-color: rgba(228,77,38,0.2);
}
nav li:hover a{
    padding: 15px 30px 20px 30px;
}

section{
    width: 100%;
    min-height: 300px;
    padding-bottom: 20px;
    margin-bottom: 20px;
}
.sec{
    margin: 0px 10%;
}
.left{
    float: left;
    width: 30%;
}
.right{
    float: left;
    width: 70%;
}
.cleft, .cright, .sousleft, .sousright{
    width: 50%;
    float: left;
}
.sec::after, .exp::after, .reco::after{
    content: "";
    display: table;
    clear:both;
}
.orange{
    border-top: 5px solid #e44d96;
    background-color: rgba(228, 77, 128, 0.15);
    margin-bottom: 0px;
}
.rose{
    border-top: 5px solid #e47d26;
    background-color: rgba(228, 117, 38, 0.15);
    margin-bottom: 0px;
}
.vert{
    border-top: 5px solid #5f6;
    background-color: rgba(70,240,80,0.2);
}
.blue{
    border-top: 5px solid #29c;
    background-color: rgba(30,152,212,0.2);
}
.rouge{
    border-top: 5px solid #f3e241;
    background-color: rgba(240,255,69,0.2);
}
.jaune{
    border-top: 5px solid #e44d26;
    background-color: rgba(228,77,38,0.2);
}

.leftexp, .leftsec{
    width: 45%;
    float:left;
}
.rightexp, .rightsec{
    width: 50%;
    float: left;
    margin-left: 5%;
}
.leftexp img{
    width: 100%;
    max-width: 400px;
}
.left img{
    width: 90%;
    max-width: 300px;
    align-content: center;
}
.rightsec img{
    width: 90%;
    max-width: 200px;
    align-content: center;
}

.container {
    width: 70%;
    max-width: 800px;
    background: rgba(255, 255,255,0.8);
    position:relative;
    left: 15%;
    top: 25%;
    /*float: none;
    display:flex;
    flex-direction:column;*/
    padding: 1rem;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
}
.container h1 {
    text-align: center;
    font-size: clamp(20px,5vw,40px);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 2px;
    color:midnightblue;
}
form {
    width: 100%;
    align-content: center;
   /* width: 350px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);*/
}

form input, form textarea {
    width: 100%;
    border: none;
    outline: none;
    border-bottom: 1px solid midnightblue;
    height: 15px;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
    background: none;
    color:#333;
    font-size: 15px;

}
form input:focus, form textarea:focus {
    border-bottom: 3px solid crimson;

}
form textarea {
    height: 100px;
    resize: none;
}
form input[type="submit"]{
    height: 40px;
    margin-bottom: 0rem;
    padding: 0rem;
    cursor: pointer;
    border-bottom: none;
    background: crimson;
    color: #f1f1f1;
    font-weight: bold;
    border-radius: 10px;
    transition: background 0.2s ease-in-out;

}
form input[type="submit"]:hover{
    background: midnightblue;
    
}
.infos {
    text-align: center;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-radius: 10px;
    color: rgb(102,24,24);
    background: rgb(237,64,64);
}
.success {
    text-align: center;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    border-radius: 10px;
    color: rgb(24, 102, 24);
    background: rgb(113, 215, 171);
}



@media screen and (max-width:780px){
    header{
        height: 50px;
    }
    h1{
        font-size: 28px;
        margin: 20px 0px 0px 0px;
    }
    nav li a{
        font-size: 12px;
        padding:10px;
    }
    nav li:hover a{
        padding: 5px 10px 10px 10px;
    }
    
}