@import url("variables.css");

body {
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-weight: bold;
    font-size: 5rem;
}


ul {
    list-style-type: none;
}

/* Container */
.contact-container {
    margin: 20px auto 20px auto;
    max-width: 50vw;
    width: 100%;
    height: auto;
    padding: 20px;
    background-color: #e5cd5b;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--background-orange-shadow) 2px 8px 8px;
}

.contact-form {
    width: 100%;
}

.input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

/* Form Fields */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 80%;
    height: 10%;
    padding: 15px;
    margin: 15px 0 20px 0;
    border: var(--background-med) 1px solid;
    border-radius: 4px;
    background-color: #f1f1f1;
    font-size: 1.25rem;
}

.contact-form textarea {
    max-height: 10vh;
    border-radius: 4px;
    background-color: #f1f1f1;
    padding: 5px;
    margin: 15px 0 20px 0;
}

/* Labels */
.contact-form label {
    font-size: 1.5em;
    color: var(--text-med-contrast);
    font-family: "Lato", sans-serif;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline-block;
}


#submit {
    justify-self: flex-end;
}

/* Submit Button */
.contact-form input[type="submit"] {
    background-color: var(--background-med);
    color: var(--background);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    height: 3em;
    width: 5.5em;
    text-align: center;
    font-size: 2rem;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    box-shadow: var(--background-orange-shadow) 2px 6px 5px;

}


.contact-form input[type="submit"]:hover {
    background-color: var(--background-med2);
}

/* Focused state */
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    background-color: #ddd;
}
