#content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

h1 {
    margin-bottom: 7rem;
}

#links {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 70%;
}

#contact {
    flex-grow: 1;
}

.contact-row p {
    display: inline;
}

img {
    height: 3rem;
    width: 3rem;
    vertical-align: middle;
}

.social {
    margin-top: 2rem;
    margin-right: 1rem;
    margin-left: 1rem;
    height: 5rem;
    width: 5rem;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.social:hover {
    transform: scale(1.2);
    -webkit-filter: grayscale(0);
    filter: none;
}

#mail-form {
    flex-grow: 1;
    width: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.user-input {
    margin: 0.4rem;
    border: groove;
    border-radius: 6px;
    height: 2.5rem;
    width: 100%;
    font: inherit;
    background-color: #f6f6f6;
}

#contact-message {
    height: 7.5rem;
}

#btn {
    width: 10%;
    height: 2.5rem;
    width: 5rem;
    border: 3px solid #a5a5a5;
    border-radius: 12px;
}

#btn:hover {
    transform: scale(1.2);
    cursor: pointer;
    background-color: #f6f6f6;
}

@media screen and (max-width: 1000px) {
    #links {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #contact {
        margin-bottom: 3rem;
    }

    #mail-form {
        width: 90%;
    }
}