
.background-change {
    width: 100vw;
    height: 120vh;
    padding: 10vh 10%;
    background-color: var(--text);
}

article {
    color: var(--text);
}

#contact {
    display: block;
    width: 100%;
    background: white;
    position: relative;
    height: fit-content;
    font-family:Georgia, 'Times New Roman', Times, serif;
}

#contact {
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.405);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.405);

}

/* creates a semicircle drop-shadow on the bottom of the box, but it's not visible with the background */
/* #contact::after {
    content: "";
    display: block;
    height: 30px;
    width: 90%;
    left: 5%;
    bottom: 0;
    position: absolute;
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.19);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.19);
    border-radius: 100%;
    z-index: -1;
} */

#contact article {
  padding: 1em;
}

#contact h2 {
    background: var(--dark_primary);
    font-size: 1.75em;
    padding: 0.6em 0 0.6em 0.4em;
    color: white;
    position: relative;
    display: inline-block;
}

#contact > article > :first-child {
    text-align: center;
    font-size: 1em;
}

.section-header {
    position: relative;
}

.mail::before {
    height: 0;
    width: 0;
}

.mail {
    height: 100%;
    width: auto;
    position: absolute;
    right: 0;
    padding-right: 1em;    
}

.mail::after {
    height: 100%;
    width: auto;
    right: 0;
    top: 0;
}

.input-wrapper {
    position: relative;
    width: 100%;
    height: 3em;
}


.input-wrapper label {
    height: 100%;
    background: var(--dark_primary);
    color: white;
    width: 15%;

    display: inline-block;
    text-align: center;
    vertical-align: top;
    line-height: 3em;

}

.input-wrapper input, textarea {
    color: var(--text);
    font-size: 1em;

}


.input-wrapper input[type="text"] {
    display: inline-block;
    height: 100%;
    width: 85%;
    background: white;
    border: 1px solid #DADADA;
    box-shadow: 0 0 1px 0 #E4E4E4;
    text-indent: 1em;
}

.input-wrapper input[type="text"]:focus {
    background: rgba(242, 56, 90, 0.05);
    box-shadow: inset 2px 2px 5px 0 #DADADA;
    outline: none;
}

.textarea-wrapper textarea {
    margin-top: 20px;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height:150px;
    background: white;
    border: 1px solid #DADADA;
    box-shadow: 0 0 1px 0 #E4E4E4;
    padding: 1em;
}

.textarea-wrapper textarea:focus {
    background: rgba(242, 56, 90, 0.05);
    box-shadow: inset 2px 2px 5px 0 #DADADA;
    outline: none;
}

.submit-wrapper {
    text-align: center;
}

.submit-wrapper input {
    -webkit-appearance: none;
    appearance: none;

    text-align: center;
    display: inline-block;
    width: 40%;
    height: 50px;
    margin-top: 1em;
    margin-bottom: 6px;
    cursor: pointer;
    background: var(--dark_primary);
    color: white;
    font-size: 1em;
    border: none;

    -webkit-box-shadow: 1px 1px 0 0 #832032,2px 2px 0 0 #832032,3px 3px 0 0 #832032;
    box-shadow: 1px 1px 0 0 #832032,2px 2px 0 0 #832032,3px 3px 0 0 #832032;

    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    transition: all 250ms ease;
}

.submit-wrapper input:hover {
    -webkit-box-shadow: 1px 1px 0 0 #832032,0px 0px 0 0 #832032,0px 0px 0 0 #832032;
    box-shadow: 1px 1px 0 0 #832032,0px 0px 0 0 #832032,0px 0px 0 0 #832032;
    margin-top: 22px;
    margin-left: 2px;
    margin-bottom: 0px;
}

@media (max-width: 500px){
    .input-wrapper label {
        line-height: 3.5em;
        font-size: 0.8em;
    }
}