    /* ------------------------contact-------------------- */.contact{
    width: 100%;
    height: auto;
    
}
.contact h2{
    text-align: center;
    color: #333;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 50px;
    padding: 70px 0 0 300px;
}
.contact h2 strong{
    color: #333;
    font-weight: 900px;
}
.container-form{
    margin:0 auto;
    width: 70%;
    padding-left: 300px;
}
.form-group{
    position: relative;
    display: flex;
    margin-bottom: 45px;
}
.form-group label{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 1.25rem;
    transition: 0.4s ease-out;
}
.form-group input{
    display: block;
    width: 100%;
    padding: 10px 0px;
    border: none;
    outline: none;
    background: none;
    border-bottom: 3px solid #aaa;
    color: #666;
    font-size: 1.25rem;
    transition: 0.4s ease-out;

}
textarea{
    width: 100%;
    height: 200px;
    border: none;
    border: 3px solid #aaa; 
    border-radius: 3px;
    padding: 5px;
    outline: none;
    font-size: 1.25rem;
    transition: 0.4s all ease-out;
    background: #f1f1f1;
}
textarea::placeholder{
    font-size: 1.25rem;
    opacity: 0.5;
}
textarea:focus{
    border-color: #8b97d7;

}
.form-group:nth-child(4){
    margin-bottom: 25px;
    justify-content:flex-start ;
}
.form-group .button-submit{
    display: block;
    width: auto;
    padding: 15px 60px;
    border: 3px solid rgb(144, 144, 144);
    border-radius:100px ;
    background-image: linear-gradient(to right, transparent 50%, rgb(65,65,65) 50%, rgb(134,134,134));
    background-size: 200%;
    color: #333;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 500;
}
.form-group .button-submit:hover{
    color: #fff;
    background-position: 100%;
    border: 3px solid #fff;
}
footer{
    width: 100%;
    padding-top: 100px;
    padding-left: 300px;
    font-size: 1.5rem;
    text-align: center;
}
/* media queries  */

    @media screen and (max-width:1300px) {
        .contact h2{
            padding: 70px 0 0 0;
        }
        .container-form{
            padding-left:0 ;
        }
        .form-group:nth-child(4){
            justify-content: center;
        }
        
    }
    @media screen and (max-width:1300px) {
        footer{
            padding-left: 0;
        }
        
    }
/* animation Contact */
.form-group:focus-within label , 
.form-group.animation label{
    top:0;
    transform: translateY(-100%);
    color: #8b97d7;

}
