* {
        font-family: Arial, Helvetica, sans-serif;
       
}

body {
    margin: 0;
}

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
#overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: lightcoral ;
}

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
form {
    max-width: 550px;
    width: 90%;
    background: white;
    margin: 17vh auto 0 auto;
    padding: 40px;
    border-radius: 3px;
    box-sizing: border-box;
}

h1 {
    margin: 0;
    text-align: center;
}

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

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
input, textarea {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    outline: none;
    resize: none;
    border: none;
    border-bottom: 1px solid #D3D3D3;
}

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
input[type="text"]:focus, textarea:focus {
    border-bottom: 1px solid rgb(0, 0, 0);
}

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
textarea::-webkit-scrollbar {
    width: 4px;
}

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
textarea::-webkit-scrollbar-thumb {
    background-color: rgb(255, 0, 106);
}

.center {
    text-align: center;
}

/* Used reference from https: //www.youtube.com/watch?v=QT1ya4Ut40o */
input[type="submit"] {
    margin-top: 30px;
    width: 90%;
    max-width: 200px;
    background: linear-gradient(to right, rgb(255, 0, 106), rgb(255, 67, 61));
    color: white;
    font-size: 17px;
    cursor: pointer;
    border-radius: 3px;
}

.error {
    color: red;
}

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

#success {
    color: #28A745;
}