/************ MOBILE - 360PX *************/
/*****************************************/
@media only screen and (min-width: 0rem) {
    /*********** PRICING INTRO ***************/
    /*****************************************/
    #sbsr-337 {
        padding: var(--sectionPadding);
        background-color: var(--bodyBGcolor);
        margin-top: 15rem;
    }
    #sbsr-337 .cs-container {
        width: 100%;
        /* changes to 1280px at desktop */
        max-width: 34.375rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #sbsr-337 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        max-width: 32.625rem;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }
    #sbsr-337 .cs-text {
        margin-bottom: 1rem;
    }
    #sbsr-337 .cs-text:last-of-type {
        margin-bottom: 2rem;
    }
    #sbsr-337 .cs-ul {
        width: 100%;
        margin: 0 0 2rem 0;
        padding-left: 1.25rem;
        /* prevents padding from affecting width and height */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    #sbsr-337 .cs-li {
        font-size: var(--bodyFontSize);
        line-height: 1.5em;
        list-style: none;
        text-align: left;
        width: 100%;
        max-width: 25rem;
        margin: 0;
        color: var(--bodyTextColor);
        position: relative;
    }
    #sbsr-337 .cs-li:before {
        /* bullet */
        content: "";
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: currentColor;
        opacity: 1;
        position: absolute;
        display: block;
        top: 0.625rem;
        left: -0.9375rem;
    }
    #sbsr-337 .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 1.5rem;
        background-color: var(--secondary);
        border-radius: 0.25rem;
        display: inline-block;
        position: relative;
        z-index: 1;
        /* prevents padding from adding to the width */
        box-sizing: border-box;
    }
    #sbsr-337 .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;
    }
    #sbsr-337 .cs-button-solid:hover:before {
        width: 100%;
    }
    #sbsr-337 .cs-image-group {
        /* scaling entire section down. font-size starts at a min in vw, and stops  when that value reaches 1em (16px). Since we want the picture elements to base their font size on the parent and not the root, we use ems for this entire section  */
        font-size: min(2.08vw, 0.791em);
        width: 42.875em;
        height: 42em;
        position: relative;
        /* flips it horizontally */
        transform: scaleX(-1);
    }
    @keyframes floatAnimation {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-2em);
        }
        100% {
            transform: translateY(0);
        }
    }
    @keyframes floatAnimation2 {
        0% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-1em);
        }
        100% {
            transform: translateY(0);
        }
    }
    #sbsr-337 .cs-image-group:before {
        /* blue circle */
        content: "";
        width: 7.5em;
        height: 7.5em;
        border-radius: 50%;
        background: var(--secondary);
        opacity: 1;
        position: absolute;
        display: block;
        bottom: 6.25em;
        left: 0em;
        z-index: 10;
        animation-name: floatAnimation;
        animation-duration: 6s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
    #sbsr-337 .cs-picture {
        border-radius: 50%;
        border: clamp(6px, 1.2vw, 12px) solid var(--secondary);
        /* clips the img tag corners */
        overflow: hidden;
        position: absolute;
        display: block;
    }
    #sbsr-337 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        /* flips it so its the original orientation, undoing the flip on the parent container */
        transform: scaleX(-1);
    }
    #sbsr-337 .cs-picture1 {
        width: 42em;
        height: 42em;
        top: -0.75em;
        left: -0.75em;
    }
    #sbsr-337 .cs-picture2 {
        width: 12.5em;
        height: 12.5em;
        top: -0.75em;
        left: -0.75em;
        animation-name: floatAnimation2;
        animation-duration: 20s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
    #sbsr-337 .cs-picture3 {
        width: 18.75em;
        height: 18.75em;
        bottom: -0.75em;
        right: -0.75em;
        animation-name: floatAnimation;
        animation-duration: 13s;
        animation-delay: 1s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
    }
    /*********** PRICING CARDS ***************/
    /*****************************************/
    #pricing-357 {
        padding: var(--sectionPadding);
        background-color: var(--bodyBGcolor);
    }
    #pricing-357 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #pricing-357 .cs-content {
        /* set text align 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;
    }
    #pricing-357 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
    }
    #pricing-357 .cs-item {
        list-style: none;
        /* 20px - 32px top & bottom */
        /* 16px - 32px left & right */
        padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.4vw, 2rem);
        width: 100%;
        max-width: 25.8125rem;
        border-radius: 1rem;
        background: #f7f7f7;
        border: 1px solid #e8e8e8;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
    }
    #pricing-357 .cs-item:nth-of-type(2) .cs-option2-text,
    #pricing-357 .cs-item:nth-of-type(2) .cs-option1-text {
        transition-delay: 0.1s;
    }
    #pricing-357 .cs-item:nth-of-type(3) .cs-option2-text,
    #pricing-357 .cs-item:nth-of-type(3) .cs-option1-text {
        transition-delay: 0.2s;
    }
    #pricing-357 .cs-popular {
        background: var(--primary);
        position: relative;
        /* clips the popular tag */
        overflow: hidden;
        /* send to the top */
        order: -1;
    }
    #pricing-357 .cs-popular:before {
        /* Most Popular Tag */
        content: "Popular";
        font-size: 0.875rem;
        text-align: center;
        line-height: 1.8125em;
        font-weight: 700;
        width: 10.625rem;
        padding: 0 0.75rem;
        color: var(--bodyTextColorWhite);
        background-color: var(--secondary);
        position: absolute;
        display: block;
        top: 1.25rem;
        right: -3.75rem;
        transform: rotate(42deg);
    }
    #pricing-357 .cs-popular .cs-h3,
    #pricing-357 .cs-popular .cs-item-text,
    #pricing-357 .cs-popular .cs-price,
    #pricing-357 .cs-popular .cs-included,
    #pricing-357 .cs-popular .cs-li,
    #pricing-357 .cs-popular .cs-small {
        color: var(--bodyTextColorWhite);
    }
    #pricing-357 .cs-popular .cs-button-solid {
        background-color: #fff;
        color: var(--primary);
        transition: color 0.3s;
    }
    #pricing-357 .cs-popular .cs-button-solid:before {
        background-color: var(--secondary);
    }
    #pricing-357 .cs-popular .cs-button-solid:hover {
        color: #fff;
    }
    #pricing-357 .cs-popular .cs-li-img {
        /* turns the check mark white */
        filter: brightness(900%);
    }
    #pricing-357 .cs-h3 {
        font-size: 1.25rem;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 0.25rem;
        padding: 0;
        color: var(--headerColor);
    }
    #pricing-357 .cs-item-text {
        font-size: 0.875rem;
        line-height: 1.5em;
        /* 16px - 24px */
        margin: 0 0 clamp(1rem, 2vw, 1.5rem);
        padding: 0;
        color: var(--bodyTextColor);
    }
    #pricing-357 .cs-option-group {
        position: relative;
    }
    #pricing-357 .cs-option-group:after {
        /* top right box */
        content: "";
        width: 100%;
        height: 1px;
        /* 32px - 40px */
        margin-bottom: clamp(2rem, 4vw, 2.5rem);
        background: linear-gradient(
            90deg,
            rgba(232, 232, 232, 0.2) 0%,
            #e8e8e8 53.78%,
            rgba(232, 232, 232, 0.2) 100%
        );
        opacity: 1;
        position: relative;
        display: block;
    }
    #pricing-357 .cs-price {
        font-size: 3.0625rem;
        line-height: 1.2em;
        font-weight: 700;
        margin-bottom: 1.5rem;
        color: var(--headerColor);
        /* spans are inline, need to add block for margin to work */
        display: block;
    }
    #pricing-357 .cs-small {
        font-size: 0.875rem;
        font-weight: 400;
        color: #4e4b66;
    }
    #pricing-357 .cs-included {
        font-size: 1rem;
        line-height: 1.5em;
        font-weight: 700;
        /* 16px - 24px */
        margin-bottom: clamp(1rem, 3vw, 1.5rem);
        color: var(--headerColor);
        display: block;
    }
    #pricing-357 .cs-ul {
        padding: 0;
        margin: 0;
        /* 32px - 40px */
        margin-bottom: clamp(2rem, 4vw, 2.5rem);
    }
    #pricing-357 .cs-li {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        line-height: 1.5em;
        list-style: none;
        padding: 0;
        margin: 0 0 0.75rem;
        color: var(--bodyTextColor);
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
    }
    #pricing-357 .cs-li:last-of-type {
        margin-bottom: 0;
    }
    #pricing-357 .cs-disabled {
        /* fades out list items that are disabled from the price tier */
        filter: grayscale(1);
        opacity: 0.3;
    }
    #pricing-357 .cs-li-img {
        width: 1.25rem;
        height: auto;
        margin-top: 0.1875rem;
        margin-right: 0.5rem;
    }
    #pricing-357 .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 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;
    }
    #pricing-357 .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;
    }
    #pricing-357 .cs-button-solid:hover:before {
        width: 100%;
    }
    #pricing-357 .cs-button-solid {
        /* cs-button-solid override */
        width: 100%;
        margin: 0 0 1rem 0;
    }
    /************** QUOTE ********************/
    /*****************************************/
    #quote-560 {
        padding: var(--sectionPadding);
        background-color: var(--bodyBGcolor);
    }
    #quote-560 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #quote-560 .cs-content {
        /* set text align 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;
        /* 16px - 20px */
        gap: clamp(1rem, 2vw, 1.25rem);
    }

    #quote-560 .cs-topper:before {
        /* line */
        content: "";
        margin-bottom: 2rem;
        width: 18.125rem;
        height: 2px;
        background: var(--secondary);
        opacity: 1;
        display: block;
    }
    #quote-560 .cs-quote {
        /* 31px - 49px */
        font-size: clamp(1.9375rem, 5.1vw, 3.0625rem);
        line-height: 1.2em;
        font-weight: 900;
        margin: 0;
        color: #000;
    }
    #quote-560 .cs-name {
        /* 16px - 20px */
        font-size: clamp(1rem, 1.7vw, 1.25rem);
        line-height: 1.2em;
        font-weight: 700;
        text-transform: uppercase;
        margin: 0;
        color: var(--secondary);
        display: block;
        letter-spacing: 0.01em;
    }
    #quote-560 .cs-name:after {
        content: "";
        margin-bottom: 2rem;
        width: 18.125rem;
        height: 2px;
        background: var(--secondary);
        opacity: 1;
        display: block;
    }
    /************** REVIEWS ******************/
    /*****************************************/
    #reviews-399 {
        padding: var(--sectionPadding);
    }
    #reviews-399 .cs-container {
        width: 100%;
        max-width: 90rem;
        margin: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #reviews-399 .cs-content {
        /* set text align 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;
    }
    #reviews-399 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        /* 16px - 20px */
        gap: clamp(1rem, 2.5vw, 1.15rem);
    }
    #reviews-399 .cs-item {
        list-style: none;
        width: 100%;
        max-width: 39.375rem;
        /* prevents padding from adding to height and width */
        box-sizing: border-box;
        /* 20px - 40px top & bottom */
        /* 20px - 40px left & right */
        padding: clamp(1.25rem, 3.15vw, 2.5rem) clamp(1.25rem, 3.15vw, 2.5rem);
        background-color: #f7f7f7;
        border-radius: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        position: relative;
    }
    #reviews-399 .cs-quote {
        width: 2.5rem;
        height: auto;
        margin-bottom: 2rem;
        display: block;
    }
    #reviews-399 .cs-quote-white {
        width: 3.75rem;
        height: auto;
        display: block;
        position: absolute;
        right: 1.5rem;
        bottom: 0;
        z-index: 1;
    }
    #reviews-399 .cs-review {
        /* 14px - 20px */
        font-size: clamp(0.875rem, 1.6vw, 1.25rem);
        line-height: 1.5em;
        margin: 0;
        /* 20px - 40px */
        margin-bottom: clamp(1.25rem, 3vw, 2.5rem);
        color: var(--bodyTextColor);
    }
    #reviews-399 .cs-flex-group {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 0.75rem;
    }
    #reviews-399 .cs-profile {
        width: 3.125rem;
        height: 3.125rem;
        /* clips image corners to make circle */
        overflow: hidden;
        border: 4px solid #fff;
        border-radius: 50%;
        display: block;
        position: relative;
    }
    #reviews-399 .cs-profile img {
        width: 100%;
        height: 100%;
        /* makes the image behave like a background image */
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    #reviews-399 .cs-name {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 3vw, 1.5625rem);
        font-weight: 700;
        line-height: 1.2em;
        margin: 0;
        /* in case one card has more text than the other, this pushes up against the review text so the name and title are always at the bottom. Only works if parent is a flexbox */
        margin-top: auto;
        color: var(--headerColor);
        display: block;
        z-index: 2;
    }
    #reviews-399 .cs-job {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.6vw, 1rem);
        font-weight: 400;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
        display: block;
    }
}

/************ TABLET - 768PX *************/
/*****************************************/
@media only screen and (min-width: 48rem) {
    /*********** PRICING CARDS ***************/
    /*****************************************/
    #pricing-357 .cs-card-group {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-wrap: nowrap;
    }
    #pricing-357 .cs-item {
        width: 100%;
        /* ensures they stay the same height if you add more content */
        align-self: stretch;
    }
    #pricing-357 .cs-popular {
        /* send back to its original order */
        order: unset;
    }
    #pricing-357 #cs-option2-357:before {
        top: -0.625rem;
    }
    #pricing-357 #cs-option2-357:after {
        top: -2.1875rem;
        right: -6.25rem;
    }
    /************** REVIEWS ******************/
    /*****************************************/
    #reviews-399 .cs-card-group {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
    }
    #reviews-399 .cs-item {
        width: clamp(31.5%, 30vw, 32.3%);
    }
}

/******** SMALL DESKTOP - 1024PX *********/
/*****************************************/
@media only screen and (min-width: 64rem) {
    /*********** PRICING INTRO ***************/
    /*****************************************/
    #sbsr-337 .cs-container {
        max-width: 80rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    #sbsr-337 .cs-image-group {
        /* reset the scale */
        font-size: min(1.2vw, 1em);
        /* prevent flexbox from squishing it */
        flex: none;
        /* sends it to the right in the 2nd position */
        order: 2;
    }
    #sbsr-337 .cs-content {
        width: 50%;
    }
    /************** REVIEWS ******************/
    /*****************************************/
    
}

/********* LARGE DESKTOP - 1300PX ********/
/*****************************************/
@media only screen and (min-width: 81.25rem) {
    /************** REVIEWS ******************/
    /*****************************************/
   
}

/************** DARK MODE ****************/
/*****************************************/
@media only screen and (min-width: 0rem) {
    /*********** PRICING INTRO ***************/
    /*****************************************/
    body.dark-mode #sbsr-337 {
        background-color: var(--dark);
    }
    body.dark-mode #sbsr-337 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #sbsr-337 .cs-title,
    body.dark-mode #sbsr-337 .cs-text,
    body.dark-mode #sbsr-337 .cs-li {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #sbsr-337 .cs-picture,
    body.dark-mode #sbsr-337 .cs-box {
        border-color: var(--accent);
    }
    body.dark-mode #sbsr-337 .cs-image-group:before {
        background-color: var(--lightAccent);
    }
    /*********** PRICING CARDS ***************/
    /*****************************************/
    body.dark-mode #pricing-357 {
        background-color: var(--dark);
    }
    body.dark-mode #pricing-357 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #pricing-357 .cs-title,
    body.dark-mode #pricing-357 .cs-text {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #pricing-357 .cs-plan {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #pricing-357 .cs-item {
        background: var(--accent);
        border-color: var(--primaryAccent);
    }
    body.dark-mode #pricing-357 .cs-popular {
        background: var(--primary);
    }
    body.dark-mode #pricing-357 .cs-h3,
    body.dark-mode #pricing-357 .cs-item-text,
    body.dark-mode #pricing-357 .cs-price,
    body.dark-mode #pricing-357 .cs-included,
    body.dark-mode #pricing-357 .cs-li,
    body.dark-mode #pricing-357 .cs-small {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #pricing-357 .cs-li-img {
        /* make so bright it turns white */
        filter: brightness(900%) grayscale(1);
    }
    body.dark-mode #pricing-357 .cs-button-solid {
        background-color: var(--accent);
    }
    body.dark-mode #pricing-357 .cs-item {
        background-color: var(--medium);
    }
    body.dark-mode #pricing-357 .cs-popular {
        background-color: var(--accent);
    }
    body.dark-mode #pricing-357 .cs-polular-button {
        background-color: var(--dark);
        color: #FFF;
    }
    body.dark-mode #pricing-357 .cs-popular .cs-button-solid:hover {
        color: #fff;
    }
    /************** QUOTE ********************/
    /*****************************************/
    body.dark-mode #quote-560 {
        background-color: var(--dark);
    }
    body.dark-mode #quote-560 .cs-quote {
        color: #FFF;
    }
    /************** REVIEWS ******************/
    /*****************************************/
    body.dark-mode #reviews-399 .cs-topper {
        color: var(--primaryLight);
    }
    body.dark-mode #reviews-399 .cs-title,
    body.dark-mode #reviews-399 .cs-text {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #reviews-399 .cs-item {
        background-color: var(--accent);
    }
    body.dark-mode #reviews-399 .cs-quote-white {
        opacity: 0.2;
    }
    body.dark-mode #reviews-399 .cs-review,
    body.dark-mode #reviews-399 .cs-name {
        color: var(--bodyTextColorWhite);
    }
    body.dark-mode #reviews-399 .cs-job {
        color: var(--bodyTextColorWhite);
        opacity: 0.7;
    }
}