* {
    font-family: Arial;
}

body
{
   
    margin: 0;
}

.contact {
    margin-top: 40px;
    padding: 40px 0;
    background-image: linear-gradient(gray, salmon);
  }
 .form {
    display: flex;
    }
.contact h2 {
    text-align: center;
    font-weight: 600;
}



#overlay {
    width: 100%;
    height: 100%;
    position:fixed;
    /* background-color: rgba(255, 0, 106, 0.4); */
}

form {
    max-width: 550px;
    width: 90%;
    background: white;
    margin: 4vh auto 0 auto;
    padding: 40px;
    border-radius: 3px;
    box-sizing: border-box;
}
h1 {
    margin: 0;
    text-align: center;
}

label {
    display: block;
    margin: 20px 0;
}

input, textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    outline: none;
    resize: none;
    border: none;
    border-bottom: 1px solid #d3d3d3;
}

input[type="text"]:focus, textarea:focus {
    border-bottom: 1px solid rgb(255,0,106)
}

textarea::-webkit-scrollbar {
    width: 4px;
}

textarea::-webkit-scrollbar-thumb {
    background-color: rgb(255,0,106);
}

.center {
    text-align: center;
}

input[type="submit"] {
    margin-top: 30px;
    width: 90%;
    max-width: 200px;
    background: linear-gradient(to right, rgb(136, 136, 136), salmon);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    border-radius: 3px;
}

.error {
    color: red;    
}

.error-border {
    border-bottom: 1 px solid red;
}

#success {
    color: #28A745;
}