/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #contact-984 {
        position: relative;
        z-index: 1;
    }
    #contact-984 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 3rem;
    }
    #contact-984 .cs-content {
        /* set text aling to left if content needs to be left aligned */
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: center;
    }

    #contact-984 .cs-title {
        margin: 0;
    }
    #contact-984 .cs-right {
        width: 100%;
        /* changes to 630px at desktop */
        max-width: 36.5rem;
        /* moved section padding to the content so the picture can be full width */
        padding: var(--sectionPadding);
        padding-top: 0;
        /* prevents padding and border from affecting height and width */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    #contact-984 .cs-form {
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
        flex-direction: column;
        gap: 0.75rem;
    }
    #contact-984 .cs-label {
        font-size: 1rem;
        width: 100%;
        color: var(--headerColor);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0.5rem;
    }
    #contact-984 .cs-input {
        font-size: 1rem;
        width: 100%;
        height: 3.5rem;
        padding: 0;
        padding-left: 1.5rem;
        color: var(--headerColor);
        background-color: #f7f7f7;
        border: none;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
        transition: border-color 0.3s;
    }
    #contact-984 .cs-input:hover {
        border-color: var(--secondary);
    }
    #contact-984 .cs-input:focus {
        outline: 1px solid var(--secondary);
    }
    #contact-984 .cs-input::placeholder {
        color: #767676;
        opacity: 0.8;
    }
    #contact-984 .cs-textarea {
        min-height: 7.5rem;
        padding-top: 1.5rem;
        margin-bottom: 1.75rem;
        font-family: inherit;
    }
    #contact-984 .cs-button-solid {
        font-size: 1rem;
        /* 46px - 56px */
        line-height: clamp(2.875rem, 5.5vw, 3.5rem);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: 0;
        color: #fff;
        min-width: 9.375rem;
        padding: 0 2rem;
        background-color: var(--primary);
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #contact-984 .cs-button-solid:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: #000;
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width 0.3s;
    }
    #contact-984 .cs-button-solid:hover:before {
        width: 100%;
    }
    #contact-984 .cs-submit {
        min-width: 13.375rem;
        border: none;
        border-radius: 0;
    }
    #contact-984 .cs-submit:hover {
        cursor: pointer;
    }
    #contact-984 .cs-picture {
        display: block;
        position: relative;
        width: 100%;
        /* 360px - 600px */
        height: clamp(22.5rem, 100vw, 37.5rem);
    }
    #contact-984 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #contact-984 {
        padding: var(--sectionPadding);
        position: relative;
    }
    #contact-984 .cs-container {
        flex-direction: row;
        justify-content: flex-end;
    }
    #contact-984 .cs-form {
        max-width: 39.375rem;
    }
    #contact-984 .cs-content {
        text-align: left;
        align-items: flex-start;
    }
    #contact-984 .cs-form {
        align-items: flex-start;
    }
    #contact-984 .cs-picture {
        position: absolute;
        height: 100%;
        width: 44%;
        right: 50%;
        /* 70px - 88px */
        margin-right: clamp(4.375rem, 7vw, 5.5rem);
    }
    #contact-984 .cs-right {
        width: 50%;
        max-width: 39.375rem;
        padding: 0;
    }
}

                                