* {
  font-family: "Noto Sans", sans-serif;
}

body {
    background-color: #474747;
    background-image: url("classy-fabric.png");
    background-size: 150px;
    
    color: #333;
}

h3 {
    background-color: #32a9f9;

    width: 100%;
    height: 30px;
    padding: 10px 0px 10px 20px;
    display: flex;
    align-items: center;
    margin-top: 0;

    text-align: center;
    color: #fff;
    font-size: 20px;
    
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: #0a6eb3 solid 4px;
}

.contact {
    background-color: #fff;
    
    width: 50%;
    max-width: 400px;
    padding: 0 10px 10px 10px;
    height: 50%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    
    border-radius: 4px;
}

.row {
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.field {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

input, textarea {
    width: 100%;
    padding: 12px 12px 12px 40px; /* 40px for icon */

    border: 1px solid #ccc;
    border-radius: 4px;

    font-size: 16px;
}

textarea {
    min-height: 100px;
    resize: none;
    box-sizing: border-box;
}

label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 8px;
    align-items: center;

    color: #777;
}

.field label[for="message"] {
    transform: translateY(-225%); /* text area*/
}

input:hover, textarea:hover {
    transition: border 0.25s;
    border: 1px solid #252525;
}

.field .material-symbols-outlined{
    font-variation-settings:
        'FILL' 1,
        'wght' 700,
        'GRAD' -25,
        'opsz' 24;
    font-size: 18px;
    color: #455c6b;
}

input:focus, textarea:focus {
    outline: 1px solid #000;
    border-color: #000;
}

.submitRow {
    background-color: #f0f0f0;
    border-top: #d9d9d9 solid 3px;
    
    width: 100%;
    padding: 10px 20px 10px 0px;
    margin-bottom: -20px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.submit {
    background-color: #32a9f9;
    border: none; /* get rid of black border*/
    border-radius: 4px;
    border-bottom: #0a6eb3 solid 4px;

    color: #fff;
    font-size: 16px;

    padding: 10px 20px;
    margin-left: auto;

    cursor: pointer;
    transition: all 0.1s ease-in-out;
}

.submit:hover {
    background-color: #0a6eb3;
    border-bottom: #084d7a solid 4px;
}

.submit:active {
    transform: translateY(0.5px);
    border-bottom: #084d7a solid 1px;
    margin-top: 3px;
    transition: none;
}

h1 {
    margin-top: 40px;
    margin-bottom: 25px;

    text-align: center;
    color: #fff;
    font-size: 30px;
    font-weight: 500;
}

.submitRow p {
    font-size: 13px;
    color: #949494;
    margin: 10px;
    margin-left: 20px;
}