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

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #contact-568 {
    /* remove the font family so the Stitch inherits the fonts from your global stylesheet */
    font-family: "Roboto", "Arial", sans-serif;
    padding: var(--sectionPadding);
    background-color: #fafbfc;
    position: relative;
    z-index: 1;
  }
  #contact-568 .cs-container {
    width: 100%;
    /* changes to 1064px at desktop */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* changes to 20px at desktop */
    gap: 3rem;
  }
  #contact-568 .cs-left {
    max-width: 39.375rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
  #contact-568 .cs-content {
    /* set text aling to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #contact-568 .cs-topper {
    font-size: var(--topperFontSize);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
  }
  #contact-568 .cs-title {
    font-size: var(--headerFontSize);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    /* changes to 522px on desktop */
    max-width: 23.875rem;
    margin: 0 0 1rem 0;
    color: var(--headerColor);
    position: relative;
  }
  #contact-568 .cs-text {
    font-size: var(--bodyFontSize);
    line-height: 1.5rem;
    text-align: inherit;
    width: 100%;
    max-width: 26.25rem;
    margin: 0;
    color: var(--bodyTextColor);
  }
  #contact-568 .cs-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }
  #contact-568 .cs-label {
    /* 14px - 16px */
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    width: 100%;
    color: var(--headerColor);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem;
  }
  #contact-568 .cs-input {
    font-size: 1rem;
    width: 100%;
    height: 3.5rem;
    padding: 0;
    padding-left: 1.5rem;
    color: var(--headerColor);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    /* prevents padding from adding to height and width */
    box-sizing: border-box;
    transition: border-color 0.3s;
  }
  #contact-568 .cs-input:hover {
    border-color: var(--secondary);
  }
  #contact-568 .cs-input:focus {
    outline: 1px solid var(--secondary);
  }
  #contact-568 .cs-input::placeholder {
    color: #7d799c;
    opacity: 0.6;
  }
  #contact-568 .cs-textarea {
    /* 120px - 192px */
    min-height: clamp(7.5rem, 28vw, 12rem);
    padding-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: inherit;
  }
  #contact-568 .cs-submit {
    font-size: 1rem;
    text-transform: uppercase;
    line-height: 3.5rem;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #1a1a1a;
    border: none;
    width: 100%;
    padding: 0 1.5rem;
    background-color: var(--secondary);
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    transition: color 0.3s;
  }
  #contact-568 .cs-submit:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    transition: width 0.3s;
  }
  #contact-568 .cs-submit:hover {
    color: #fff;
    cursor: pointer;
  }
  #contact-568 .cs-submit:hover:before {
    width: 100%;
  }
  #contact-568 .cs-right {
    width: 100%;
    /* 36px - 72px top & bottom */
    /* 44px - 60px left & right */
    padding: clamp(2.25rem, 5.8vw, 4.5rem) clamp(2.75rem, 5.8vw, 3.75rem);
    /* prevents padding from affecting height and width */
    box-sizing: border-box;
    background-color: #f1f1f4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #contact-568 .cs-header {
    /* 13px - 16px */
    font-size: clamp(0.8125rem, 1.5vw, 1rem);
    line-height: 1.2em;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--primary);
    display: block;
  }
  #contact-568 .cs-link {
    /* 16px - 20px */
    font-size: clamp(1rem, 1.9vw, 1.25rem);
    line-height: 1.5em;
    font-weight: 700;
    text-decoration: none;
    /* 24px - 32px */
    margin: 0 0 clamp(1.5rem, 3vw, 2rem) 0;
    color: var(--headerColor);
    display: block;
  }
  #contact-568 .cs-link:hover {
    text-decoration: underline;
  }
  #contact-568 .cs-phone {
    /* 56px - 96px */
    margin-bottom: clamp(3.5rem, 7vw, 6rem);
  }
  #contact-568 .cs-social {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    /* 24px - 30px */
    gap: clamp(1.5rem, 3vw, 1.875rem);
  }
  #contact-568 .cs-li {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  #contact-568 .cs-social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    /* 42px - 50px */
    width: clamp(2.625rem, 8vw, 3.125rem);
    height: clamp(2.625rem, 8vw, 3.125rem);
    background-color: var(--headerColor);
    border-radius: 50%;
    transition: background-color 0.3s, transform 0.3s;
  }
  #contact-568 .cs-social-link:hover {
    background-color: var(--primary);
    transform: translateY(-0.25rem);
  }
  #contact-568 .cs-icon {
    width: auto;
    /* 18px - 24px */
    height: clamp(1.125rem, 1vw, 1.5rem);
  }
}
/* Tablet - 650px */
@media only screen and (min-width: 40.625rem) {
  #contact-568 .cs-label {
    width: 48.6%;
  }
  #contact-568 .cs-message {
    width: 100%;
  }
}
/* Small Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #contact-568 .cs-container {
    max-width: 66.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
  }
  #contact-568 .cs-right {
    width: 38.6%;
    max-width: 25.875rem;
    /* prevent flexbox from squishing it */
    flex: none;
  }
}

