/*-- -------------------------- -->
<---          Contact           -->
<--- -------------------------- -*/
/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #contact-1091 {
    padding: var(--sectionPadding);
    position: relative;
    z-index: 1;
  }
  #contact-1091 .cs-container {
    width: 100%;
    /* changes to 1280px at desktop */
    max-width: 39.375rem;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3.25rem;
  }
  #contact-1091 .cs-content {
    /* set text align to left if content needs to be left aligned */
    text-align: left;
    width: 100%;
    max-width: 33.875rem;
    display: flex;
    flex-direction: column;
    /* centers content horizontally, set to flex-start to left align */
    align-items: flex-start;
  }
  #contact-1091 .cs-text {
    margin: 0 0 2rem 0;
  }
  #contact-1091 .cs-form {
    /* 24px - 48px top and bottom */
    /* 20px - 32px left and right */
    padding: clamp(1.25rem, 4.18vw, 3rem) clamp(1.25rem, 4.18vw, 2rem);
    background-color: #f7f8f8;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
  }
  #contact-1091 .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-1091 .cs-input {
    font-size: 1rem;
    width: 100%;
    height: 3.5rem;
    padding: 0;
    padding-left: 1.5rem;
    color: var(--headerColor);
    background-color: #fff;
    border: none;
    /* prevents padding from adding to height and width */
    box-sizing: border-box;
  }
  #contact-1091 .cs-input::placeholder {
    color: #7d799c;
    opacity: 0.6;
  }
  #contact-1091 .cs-textarea {
    min-height: 7.5rem;
    padding-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: inherit;
  }
  #contact-1091 .cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875em, 5.5vw, 3.5em);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #fff;
    border: none;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    transition: color 0.3s;
  }
  #contact-1091 .cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
  }
  #contact-1091 .cs-button-solid:hover {
    color: #fff;
  }
  #contact-1091 .cs-button-solid:hover:before {
    width: 100%;
  }
  #contact-1091 .cs-submit {
    min-width: 17.6875rem;
    border-radius: 0;
  }
  #contact-1091 .cs-submit:hover {
    cursor: pointer;
  }
  #contact-1091 .cs-image-group {
    /* scales the whole group based on the view width size and stop when that vales equals .8em, resets at desktop */
    font-size: min(2.235vw, 0.8em);
    width: 40.625em;
    height: 46.3125em;
    display: block;
    position: relative;
    z-index: 1;
  }
  #contact-1091 .cs-picture {
    position: absolute;
  }
  #contact-1091 .cs-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  #contact-1091 .cs-picture1 {
    width: 25.8125em;
    height: 26.625em;
    top: 0;
    right: 0;
    z-index: 10;
  }
  #contact-1091 .cs-picture2 {
    width: 27.6875em;
    height: 24.6875em;
    bottom: 0;
    left: 1.25em;
  }
  #contact-1091 .cs-stripes {
    width: 35.625em;
    height: auto;
    display: block;
    position: absolute;
    top: 5em;
    left: 0;
    z-index: -1;
  }
  #contact-1091 .cs-graphic {
    width: 11.375em;
    height: auto;
    position: absolute;
    top: 7.5em;
    left: 1.25em;
  }
}
/* Large Desktop - 1200px */
@media only screen and (min-width: 75rem) {
  #contact-1091 .cs-container {
    max-width: 80rem;
    flex-direction: row;
    justify-content: space-between;
    gap: 3.25rem;
  }
  #contact-1091 .cs-image-group {
    font-size: min(1.2vw, 1em);
    flex: none;
    /* sends it to the right in the 2nd position */
    order: 2;
  }
}
/* Dark Mode */
@media only screen and (min-width: 0rem) {
  body.dark-mode #contact-1091 .cs-topper {
    color: var(--primaryLight);
  }
  body.dark-mode #contact-1091 .cs-title,
  body.dark-mode #contact-1091 .cs-text {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #contact-1091 .cs-form {
    background-color: var(--medium);
  }
  body.dark-mode #contact-1091 .cs-label {
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #contact-1091 .cs-input {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bodyTextColorWhite);
  }
  body.dark-mode #contact-1091 .cs-input::placeholder {
    color: #fff;
    opacity: 0.5;
  }
  body.dark-mode #contact-1091 .cs-stripes {
    opacity: 0.2;
  }
}
