.contact {
    padding-top: 100px;
}

.contact_form {
    background: var(--lighter_background);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 500px;
    margin: 0 auto 100px;

    textarea {
        width: 100%;
        resize: vertical;
    }
}

.form_group {
    position: relative;
    margin-bottom: 2rem;
}

.form_input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    padding: 1rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: var(--light);
}

.form_label {
    position: absolute;
    top: 14px;
    left: 1rem;
    background: var(--lighter_background);
    padding: 0 0.25rem;
    color: #a8a8a8;
    transition: 0.2s ease all;
    pointer-events: none;
}

.form_input:focus + .form_label,
.form_input:not(:placeholder-shown) + .form_label {
    top: -0.6rem;
    left: 0.75rem;
    font-size: 0.75rem;
    color: var(--primary);
}

.submit_button {
    background: #0077cc;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
}

.submit_button:hover {
    background: #005fa3;
}