.container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container a {
    color: #000000;
}

.container a:hover {
    color: #4a9b44;
    text-decoration: underline;
}

form {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 600px;
    border-radius: 0.75rem;
    padding: 1rem 0.25rem;
    align-items: center;
    justify-content: center;
}

form div {
    width: 90%;
    padding: 1rem;
}

form h3 {
    font-weight: bold;
    margin: 0 0 0 1rem;
}

form input, form textarea {
    border: 0;
    margin: 0.25rem 0;
    padding: 0.2rem;
    outline: none;
    background: #f5f5f5;
    font-size: 1rem;
    width: 90%;
    border-radius: 0.75rem;
}

form button {
    padding: 0.15rem;
    background: rgba(39, 41, 15, 1);
    color: #ffffff;
    font-size: 1.2rem;
    border: 0;
    outline: none;
    cursor: pointer;
    width: 150px;
    margin: 1rem auto;
    border-radius: 0.75rem;
}

#main_contact_form {
    background: url("../images/pexels-zhang-kaiyv-1083515.jpg");
    background-size: cover;
    
}

@media screen and (max-height: 600px) {
    .container {
        height: 200vh;
        margin: 200px auto;
    }
    form {
        margin: 200px auto;
    }
    form h3 {
        font-size: 1rem;
    }
    #main_contact_form {
        height: 200vh;
    }
}
