/*-- -------------------------- -->
<---       Side By Side         -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #usluge_left_right,
  #usluge_right_left,
  #usluge_center {
    padding: var(--sectionPadding);
    /* clips svg as the screen grows so it doesn't overflow */
    overflow: hidden;
    position: relative;
    z-index: 1;

  }
  #usluge_left_right .cs-container,
  #usluge_right_left .cs-container,
  #usluge_center .cs-container {
    width: 100%;
    /* changes to 1280 at tablet */
    max-width: 34.375rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 48px - 108px */
    gap: clamp(3rem, 7.1vw, 6.75rem);
  }
  #usluge_left_right .cs-content,
  #usluge_right_left .cs-content,
  #usluge_center .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;
  }

  #usluge_left_right .cs-text,
  #usluge_right_left .cs-text,
  #usluge_center .cs-text {
    margin-bottom: 1rem;
  }
  #usluge_left_right .cs-text:last-of-type,
  #usluge_right_left .cs-text:last-of-type,
  #usluge_center .cs-text:last-of-type {
    margin-bottom: 2rem;
  }

  #usluge_left_right .cs-image-group,
  #usluge_right_left .cs-image-group,
  #usluge_center .cs-image-group {
    font-size: min(2.5vw, 1em);
    width: 36.1875em;
    height: 33.875em;
    /* sends it to the top of the flexbox */
    order: -1;
    position: relative;
  }
  #usluge_left_right .cs-picture,
  #usluge_right_left .cs-picture,
  #usluge_center .cs-picture {
    border-radius: 1.25em;
    /* clips the img tag corners */
    overflow: hidden;
    position: absolute;
    display: block;
  }
  #usluge_left_right .cs-picture:hover:before,
  #usluge_right_left .cs-picture:hover:before,
  #usluge_center .cs-picture:hover:before {
    opacity: 0.6;
  }
  #usluge_left_right .cs-picture:hover img,
  #usluge_right_left .cs-picture:hover img,
  #usluge_center .cs-picture:hover img {
    transform: scale(1.1);
  }
  #usluge_left_right .cs-picture:before,
  #usluge_right_left .cs-picture:before,
  #usluge_center .cs-picture:before {
    /* Hover Box */
    content: "";
    width: 100%;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    z-index: 10;
    transition: opacity 0.3s;
  }
  #usluge_left_right .cs-picture img,
  #usluge_right_left .cs-picture img,
  #usluge_center .cs-picture img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s;
  }
  #usluge_left_right .cs-picture1,
  #usluge_right_left .cs-picture1,
  #usluge_center .cs-picture1 {
    width: 12.75em;
    height: 19.625em;
    top: 0;
    left: 0;
  }
  #usluge_left_right .cs-picture2,
  #usluge_right_left .cs-picture2,
  #usluge_center .cs-picture2 {
    width: 21.75em;
    height: 19.625em;
    top: 0;
    right: 0;
  }
  #usluge_left_right .cs-picture3,
  #usluge_right_left .cs-picture3,
  #usluge_center .cs-picture3 {
    width: 36.1875em;
    height: 12.625em;
    bottom: 0;
    left: 0;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #usluge_left_right .cs-container,
  #usluge_right_left .cs-container,
  #usluge_center .cs-container {
    max-width: 80rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }
  #usluge_left_right .cs-content,
  #usluge_right_left .cs-content,
  #usluge_center .cs-content {
    width: 48%;
  }
  #usluge_left_right .cs-image-group,
  #usluge_right_left .cs-image-group,
  #usluge_center .cs-image-group {
    font-size: min(1.15vw, 1em);
    flex: none;
  }
}

/*-- -------------------------- -->
<---    Side By Side Reverse    -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
  #usluge_right_left {
    background-color: #f7f7f7;
  }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
  #usluge_right_left .cs-container {
    justify-content: flex-end;
  }
  #usluge_right_left .cs-content {
    /* sends it to the left */
    order: -1;
  }
}
