:root{
    --colorTextos:#58360c;
}

*,
::before,
::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 #bodycontact{
     background: #FC5C7D;
     background: -webkit-linear-gradient(to left, #6A82FB, #FC5C7D);
     background: linear-gradient(to left, #6A82FB, #FC5C7D);
     font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
     width: 100%;
     height: 650px;
     justify-content: center;
     align-items: center;
 }

 h1{
     text-align: center;
     margin: 10px 0 ;
     font-weight: 800;
 }

 form{
     background: #fff;
     width: 30%;
     padding: 10px 0;
     border-radius: 10px;
     box-shadow: 0 0 6px 0 rgba(255, 255, 255, 0.8);
     margin: auto;
 }

 .form{
     width: 100%;
     margin: auto;
 }

 form .grupo{
     position: relative;
     margin: 45px;
 }

 input, textarea{
     background: none;
     color: #c6c6c6;
     font-size: 18px;
     padding: 10px 10px 10px 5px;
     display: block;
     width: 100%;
     border: none;
     border-bottom: 1px solid var(--colorTextos);
     resize: none;
    }

input:focus, textarea:focus{
    outline: none;
    color: rgb(94, 93, 93);
}

input:focus~label,
input:valid~label,
textarea:focus~label, textarea:valid~label{
    position: absolute;
    top: -14px;
    font-size: 12px;
    color: #2196F3;
}

label{
    color: var(--colorTextos);
    font-size: 16px;
    position: absolute;
    left: 5px;
    top: 10px;
    transition: 0.4s ease all;
    pointer-events:none;
}

input:focus~.barra::before, textarea:focus~.barra::before{
    width: 100%;
}

.warnings{
    width: 200px;
    text-align: center;
    margin: auto;
    color: saddlebrown;
    padding-top: 20px;
}

.barra{
    position: relative;
    display: block;
    width: 100%;
}

.barra::before{
    content: '';
    height: 2px;
    width: 0%;
    bottom: 0;
    position: absolute;
    background: linear-gradient(to left,#6A82FB, #FC5C7D);
    transition: 0.3s ease all;
    left: 0%;
}

button{
    background: #FC5C7D;
     background: -webkit-linear-gradient(to left, #6A82FB, #FC5C7D);
     background: linear-gradient(to left, #6A82FB, #FC5C7D);
     display: block;
     width: 100px;
     height: 40px;
     border: none;
     color: seashell;
     border-radius: 4px;
     font-size: 16px;
     margin: 10px auto;
     cursor: pointer;
}
@media screen and (max-width:1100px){
    form{
        width: 50%;
    }
}

@media screen and (max-width:600px){
    form{
        width: 60%;
    }
}

@media screen and (max-width:450px){
    form{
        width: 80%;
    }
}

@media screen and (max-width:300px){
    form{
        width: 90%; 
    }
}