#contact {
    position: relative;
    width: 100%;
    background: #2d3142;
    z-index: 3;
}

#contactspacer {
    display: block;
    height: 50px;
}

#contactspacerend {
    display: block;
    height: 20px;
}

#contact-label {
    display: flex;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-family: 'american_captainregular';
    margin-bottom: 25px;
}

#contact-desc {
    display: flex;
    color: #bfc0c0;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-family: var(--text-font);
}

#contact-label::before,
#contact-label::after {
    content: '';
    border-top: 2px solid var(--text-color);
    width: 100px;
}

#error-notification {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}

#error-box {
    display: flex;
    align-items: center;
    background-color: #D9455F;
    width: 50%;
    height: 40px;
    border-radius: 5px;
}

.fa-exclamation-triangle {
    color: #9A1F40;
    margin-left: 15px;
    margin-right: 20px;
}

#error-message {
    color: #9A1F40;
    font-size: 15px;
    font-family: Arial, Verdana, sans-serif;
}

#form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
    max-height: 250px;
    opacity: 1;
    transition: opacity .15s linear,
                max-height .5s linear;
}

form {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50%;
    overflow: hidden;
}

#form-top {
    display: flex;
    margin-bottom: 15px;
    width: 100%;
}

.field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.left {
    margin-right: 15px;
}

input, textarea{
    background: #4f5d75;
    border: none;
    color: #bfc0c0;
    font-family: Arial, Verdana, sans-serif;
    font-size: 15px;
    padding: 8px;
    border-radius: 5px;
}

textarea {
    resize: none;
    overflow: hidden;
    height: 100px;
    width: 100%;
    margin-bottom: 15px;
}

input::placeholder, textarea::placeholder {
    font-size: 15px;
    font-family: Arial, Verdana, sans-serif;
    color: #808080;
}

input:focus, textarea:focus {
    background-color: #4f5d75;
    outline: none;
    font-size: 15px;
    font-family: Arial, Verdana, sans-serif;
}

#send_response {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#successful {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    opacity: 0;
    transition: opacity 0.15s linear;
}

#failed {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    opacity: 0;
    transition: opacity 1s linear;
}

#over {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50%;
    opacity: 0;
    transition: opacity 1s linear;
}

.pass {
    color: #52796f;
}

.fail {
    color: #9A1F40;
}

.send_message {
    font-size: 30px;
    font-family: Arial, Verdana, sans-serif;
    margin: 5px;
}

.lower_message {
    font-size: 20px;
    font-family: var(--text-font);
    text-align: center;
    margin-bottom: 10px;
}

#symb {
    font-size:75px;
}

.fa-check-circle {
    color: #52796f;
}

.fa-exclamation-circle {
    color: #9A1F40
}

#btn-submit {
    background-color: #2d3142;
    width: 140px;
    height: 48px;
    border: none;
    padding: none;
    cursor: pointer;
    outline: none;
}

#submit-it{
    display: flex;
    height: 48px;
    border: none;
    align-items: center;
    justify-content: center;
}

.submitbttn {
    border: 2px solid #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 120px;
    overflow: hidden;
    transition: width .5s ease-in-out,
                margin .5s ease-in-out,
                border-radius .25s ease-in-out,
                color .25s ease-in-out;
}

#send-label {
    position: absolute;
    text-transform: uppercase;
    color: #808080;
    opacity: 1;
    font-size: 15px;
    transition: opacity .25s ease-in-out;
}

#sending-label {
    position: absolute;
    text-transform: uppercase;
    color: #808080;
    opacity: 0;
    font-size: 15px;
    transition: opacity .25s ease-in-out;
}

.fa-paper-plane {
    display: none;
    position: relative;
    font-size: 20px;
    color: #bfc0c0;
    transform: translateY(50px) translateX(-50px);
    animation: sendit 1s cubic-bezier(0.0,0.6,1.0,0.4) infinite .5s;
}

@keyframes sendit {
    0%   { transform: translateY(50px) translateX(-50px); }
    100%   { transform: translateY(-50px) translateX(50px); }
}

#icon_links {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#icon_list {
    display: flex;
    flex-direction: row;
}

.icon {
    margin: 15px;
    margin-top: 0;
    font-size: 40px;
}

.icon_label {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-family: Arial, Verdana, sans-serif;
    color: #bfc0c0;
    margin-bottom: 5px;
    opacity: 0;
    transition: opacity 0.5s;
}

#envelope,
#envelope_open,
#handshake,
#lin {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: none;
}

#envelope {
    display: flex;
    color: #4f5d75;
}

#envelope_open {
    display: none;
    color: #bfc0c0;
}

#handshake,
#lin {
    color: #4f5d75;
}

#email_icon {
    text-decoration-color: #2d3142;
}

#lin_icon,
#lin_icon:visited {
    color: #4f5d75;
    text-decoration-color: #2d3142;
}

#handshake_icon,
#handshake_icon:visited {
    color: #4f5d75;
    text-decoration-color: #2d3142;
}

@media only screen and (max-width: 1000px) {      
    
    form {
        width: 70%;
    }
    #form-top {
        flex-direction: column;
    }
    .left {
        margin-bottom: 15px;
        margin-top: 30px;
    }
    #form-wrapper {
        margin-bottom: 75px;
    }
    .icon {
        font-size: 75px;
    }
}