@media (max-width: 599px) {
  .roza-ad-img .responsive-img {
    width: 70%;
    max-width: 100%; /* Ensures the image doesn't exceed the container's width */
    height: auto; /* Maintains the aspect ratio */
  }
}

@media (min-width: 600px) {
  .roza-ad-img .responsive-img {
    width: 100%;
    max-width: 100%; /* Ensures the image doesn't exceed the container's width */
    height: auto; /* Maintains the aspect ratio */
  }
}

@media (max-width: 84em) {
  .hero {
    max-width: 120rem;
  }
  .heading-primary {
    font-size: 4.4rem;
  }
  .heading-main{
    font-size: 3.8rem;
  }
  .step-img-jung {
    width: 250px;
    height: 250px;
  }
  .step-img-box::before {
    padding-bottom: 95%;
    width: 95%;
  }
  .step-img-box::after {
    padding-bottom: 85%;
    width: 85%;
  }
}
@media (max-width: 79em) {
  .step-img-jung {
    width: 220px;
    height: 220px;
  }
}
@media (max-width: 75em) {
  html {
    font-size: 56.25%;
  }
  .section-main-ad,
  .section-main,
  .section-sub-main-1,
  .section-sub-main-2,
  .section-sub-main-3 {
    padding: 4.2rem;
    padding-top: 16rem;
  }
  .section-hero {
    width: 1200px;
    padding-top: 12rem;
  }
  .chatbots-section-hero {
    width: 1200px;
    padding-top: 12rem;
  }
  .career-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
      ),
      url(/art/compass-2400.jpeg);
    width: 1200px;
    padding-top: 12rem;
  }
  .growth-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
      ),
      url(/art/personal-growth-2400.jpeg);
   width: 1200px;
   padding-top: 12rem;
  }
  .portrait-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/concert-people-2400.jpeg);
    width: 1200px;
    padding-top: 12rem;
  }
  .relationships-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/family-dinner-crop.jpeg);
    height: 1000px;
    padding-top: 12rem;
  }
  .jung-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/jung-freud3.jpeg);
    width: 1200px;
    padding-top: 12rem;
  }
  .EN-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EN-function.jpg);
    width: 1200px;
    padding-top: 12rem;
  }
  .EF-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EF-function.jpg);
    background-size: cover;
    width: 1200px;
    padding-top: 12rem;
  }
  .IN-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/IN-function.jpg);
    width: 1200px;
    padding-top: 12rem;
  }
  .kids-section-hero {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/kids-believe-hero-crop.jpeg);
    width: 1200px;
    padding-top: 12rem;
  }
  .tests-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/test-background-ipad.jpeg);
    width: 1200px;
    padding-top: 12rem;
  }
  .heading-secondary {
    font-size: 3.6rem;
  }
  .testimonials-container {
    padding-left: 0px;
  }
  .collage-container {
    padding-left: 0px;
  }
  .section-testimonials {
    padding: 5.4rem 5.4rem;
    grid-template-columns: 1fr;
  }
  .testimonial-collage {
    width: 800px;
    height: 400px;
    padding-left: 4.2rem;
    padding-right: 2.4rem;
  }
  .testimonial-text {
    font-size: 2rem;
    line-height: 1.6;
    margin-bottom: 1.6rem;
    margin-left: 0.5rem;
    margin-right: 1.2rem;
  }
  .type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 4.2rem;
    column-gap: 4.2rem;
    justify-content: center;
    align-items: center;
  }
  .type-img {
    width: 30rem;
    height: 30rem;
  }
  .jung-type-img {
    margin-left: 0px;
  }
  .grid {
  row-gap: 6.4rem;
  column-gap: 4.2rem;
  }
  .upper-grid {
    grid-template-columns: 24rem 1fr 1.5fr 3fr;;
  }
  .grid-test {
   gap: 7px;
   margin-left: 4.6rem;
   }
  .container-payment {
   width: 90%;
   margin-left: 0px;
   margin-right: 0px;
  }
  .grid-payment input {
   margin-top: 3px;
   padding: 0px;
   width: 30rem;;
   height: 24px;
   font-size: 2.4rem;
   border: none;
  }
  .payment-text {
    margin-top: 15px;
    font-size: 2.8rem;
    line-height: 1.4;
  }
  .step-img-jung {
    width: 220px;
    height: 220px;
  }
  .step-img {
    width: 360px;
  }
  .step-img-box::before {
    padding-bottom: 95%;
    width: 95%;
  }
  .step-img-box::after {
    padding-bottom: 85%;
    width: 85%;
  }
}
@media (max-width: 65em) {
  .step-img-jung {
    width: 180px;
    height: 180px;
  }
  .section-main-ad,
  .section-main,
  .section-sub-main-1,
  .section-sub-main-2,
  .section-sub-main-3 {
    padding: 3.6rem;
    padding-top: 16rem;
  }
  .EF-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EF-function-crop.jpg);
    width: 800px;
    padding-top: 12rem;
  }
  .kids-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/kids-believe-hero-crop.jpeg);
    width: 800px;
    padding-top: 12rem;
  }
}
@media (max-width: 59em) {
  html {
    font-size: 50%;
  }
  .section-main-ad,
  .section-main,
  .section-sub-main-1,
  .section-sub-main-2,
  .section-sub-main-3 {
    padding: 1.2rem;
    padding-top: 16rem;
  }
  .rel-upper-grid {
    grid-template-columns: 1fr 1fr;
    max-height: 16rem;
    gap: 10px;
  }
  .upper-grid {
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    max-height: 16rem;
  }
  .nav-container,
  .rel-nav-container {
   grid-area: 1 / 2 / span 2 / span 2; 
  }
  a.ppage-text,
  .upper-grid:nth-child(2),
  .rel-upper-grid:nth-child(2) {
    display: none;
  }
  .type-to-type-text {
    grid-area: 2 / 1 / span 1 / span 2;
  }
  .header {
    align-items: center;
    background-color: #fdf2e9;
    width: 100%;
    height: 16rem;
    padding: 2.4rem 2.4rem;
    padding-top:5px;
  }
  .header a,
  .header:link {
  font-size: 2.2rem;
  }
  .heading-tertiary {
    font-size: 2.6rem; 
    heading-top: 0;
  }
  .section-hero {
    padding: 5.4rem 0 5.4rem 0;
    width: 944px;
    padding-top: 10rem;
  }
  .chatbots-section-hero {
    width: 944px;
    padding-top: 12rem;
  }
  .compatibility-section-hero {
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
      ),
      url(/art/compatibility-mobile.jpg);
    background-size: cover;
    width: 944px;
    padding-top: 12rem;
  }
  .career-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
      ),
      url(/art/compass-1880.jpeg);
    width: 944px;
    padding-top: 12rem;
  }
  .growth-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/personal-growth-1880.jpeg);
    width: 944px;
    padding-top: 12rem;
  }
  .portrait-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/concert-people-1880.jpeg);
    width: 944px;
    padding-top: 12rem;
  }
  .relationships-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/family-dinner-crop.jpeg);
    height: 900px;
    padding-top: 12rem;
  }
  .kids-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/kids-believe-hero-1880.jpeg);
    width: 944px;
    padding-top: 12rem;
  }
  .EF-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EF-function-crop.jpg);
    background-size: cover;
    width: 944px;
    padding-top: 12rem;
  }
  .jung-section-how,
  .section-how {
    padding: 5.4rem 0 5.4rem 0;
  }
  .jung-section-how {
    padding-top: 16rem;
  }
  .section-testimonials {
    padding: 5.4rem 5.4rem;
    grid-template-columns: 1fr;
  }
  .step-img {
    width: 200px;
    height: 175px;
  }
  .step-img-jung {
    width: 160px;
    height: 160px;
  }
  .step-img-box::before {
    padding-bottom: 95%;
    width: 95%;
  }
  .step-img-box::after {
    padding-bottom: 85%;
    width: 85%;
  }
  .step-number {
    font-size: 7.4rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 1.2rem;
  }
  .step-description {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .testimonials-container {
    padding-left: 2.4rem;
    width: 70rem;
  }
  .type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
    column-gap: 2.4rem;
    justify-content: center;
    align-items: center;
  }
  .jung-type-img,
  .type-img {
    width: 30rem;
    height: 30rem;
  }
  .compat-type-img {
    width: 14rem;
    height: 14rem;
  }
  .profile-text {
    font-size: 2.4rem;
  }
  .type-label {
    font-size: 4.6rem;
  }
  .section-cta {
    padding: 5.4rem 0 5.4rem 0;
  }
  .testimonial-text {
    font-size: 1.8rem;
    line-height: 1.4;
    margin-bottom: 1.6rem;
    margin-right: 2rem;
    align-items: center;
    justify-content: center;
  }
  .section-testimonials {
    justify-items: center;
    align-items: center;
    justify-content: center;
  }
  .testimonial-collage {
    width: 800px;
    height: 400px;
    padding-left: 0%;
    margin-left: 1%;
  }
  .item {
    flex: 1 1 150px;
    width: 60px;
    height: 200px;
  }
  .cta {
    grid-template-columns: 3fr 2fr;
  }
  .grid-resource {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    align-items: center;
    justify-content: center;
  }
  .grid-jungian {
    grid-template-columns: 1fr 1fr;
    width: 80%;
  }
  .container-learn {
    width: 70rem;
  }
  .container-results {
    padding: 4.6rem;
  }
  .results-box {
    width: 100%;
    padding: 4.2rem;
    padding-bottom: 4.6rem;
  }
  .grid-test {
    margin-left: 4.6rem;
   }
 .compat-type-grid {
    grid-template-columns: 1fr 1fr;
  }
 .compatibility-grid {
    grid-template-columns: 1fr 1fr;
  }
 .compatibility-box {
    height: 350px;
    padding: 1.2rem;
    padding-bottom: 5px;
  }
  .chatbox {
    height: 30rem;
    width: 30rem;;
  }
  .chat-input {
    margin-top: 15px;
    margin-bottom: 10%:
    padding: 10px;
    width: 30rem;
    margin-left: 5%;
    height: 50px;
    font-size: 1.8rem;
  }
  .rel-subheading {
    display: block;
    text-align: center;
    padding: 0;
  }
  .section-payment-plans {
    padding: 1.2rem;
  }
  .container-payment-plans {
    width: 100%;
  }
  .container-payment {
    width: 90%;
    margin-left: 0px;
    margin-right: 0px;
  }
  .grid-payment {
    gap: 0px;
    grid-template-columns: 0.5fr 0px 1.5fr 1fr;
    width: 100%;
  }
  .grid-payment input {
    margin-top: 3px;
    padding: 0px;
    width: 24rem;
    height: 28px;
    font-size: 1.2rem;
    border: none;
  }
  .payment-text {
    margin-top: 15px;
    font-size: 1.4rem;
    line-height: 1.2;
  }
  .container-learn {
    width: 38rem;
  }
  .bio-heading {
    font-size: 2.8rem;
    color: #a20202;
    text-transform: uppercase;
  }
  .bio-img {
    width: 7.4rem;
    height: 7.4rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 10px;
  }
  .rel-nav-container:hover .menu,
  .nav-container:hover .menu,
  .menu:hover {
    padding: 0%;
    align-items: left;
    width: 260px;
    max-height: 65vh;
  }
}
@media (max-width: 52em) {
  .rel-subheading {
    font-size: 1.8rem;
  }
  .step-img-jung {
    width: 120px;
    height: 120px;
  }
}
@media (max-width: 44em) {
  .container-cart {
    align-items: center;
    justify-content: center;
    width: 90%;
    background-color: #fae5d3;
    padding: 2.2rem 2.2rem 2.2rem 2.2rem;
  }
  .home-text {
   font-size: 1.4rem;
  }
  .grid-payment-options,
  .grid-payment-plan {
   grid-template-columns: 1fr;
   width: 80%;
  }
  .grid-payment-options {
   width: 100%;
  }
  .subheading {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
  }
  .section-hero {
    width: 800px;
  }
  .type-to-type-text,
  .upper-grid-text {
    font-size: 2.0rem;
  } 
  .chatbots-section-hero {
    width: 700px;
  }
  .career-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
      ),
      url(/art/compass-crop.jpeg);
    width: 700px;
  }
  .compatibility-section-hero {
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
      ),
      url(/art/compatibility-mobile.jpg);
    background-size: cover;
    width: 700px;
  }
  .growth-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/personal-growth-crop.jpeg);
    width: 700px;
  }
  .portrait-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/concert-people-crop.jpeg);
    width: 700px;
  }
  .relationships-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/family-dinner-crop.jpeg);
    width: 700px;
  }
  .kids-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/kids-believe-hero-crop.jpeg);
    height: 1000px;
    width: 700px;
  }
  .jung-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/jung-freud-etal-crop.jpeg);
    width: 700px;
  }
  .EN-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EN-function-crop.jpg);
  width: 700px;
  padding-top: 12rem;
  }
  .EF-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EF-function-crop.jpg);
    background-size: cover;
  width: 700px;
  padding-top: 12rem;
  }
  .IT-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/IT-function-crop.jpg);
  width: 700px;
  padding-top: 12rem;
  }
  .IN-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/IN-function-crop.jpg);
  width: 700px;
  padding-top: 12rem;
  }
  .tests-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/test-background2-crop.jpg);
    width: 700px;
  }
  .rel-nav-container:hover .menu,
  .nav-container:hover .menu,
  .menu:hover {
    padding: 0%;
    align-items: left;
    width: 260px;
    max-height: 70vh;
  }
  .main-nav-link.nav-cta:link,
  .main-nav-link.nav-cta:visited {
    padding: 1.2rem 1.2rem;
    border-radius: 9px;
    color: #fff;
  }
  .upper-grid {
    grid-template-columns: 1fr 2fr;
  }
  .heading-secondary {
    font-size:2.4rem;
    margin-bottom: 2.6rem;
  }
  .hero h1 {
    font-size: 4.2rem;
    padding-bottom: 0;
  }
  .hero-description {
    padding-top: 2.4rem;
    padding-bottom: 9.6rem;
    font-size: 2.2rem;
    font-weight: 600;
  }
  .grid--2cols {
    grid-template-columns: 1fr;
  }
  .section-hero {
    padding: 4.2rem 0 4.2rem 0;
    padding-bottom: 0;
  }
  .jung-section-how,
  .section-how {
    padding: 2.4rem 0 2.4rem 0;
    width: 350px;
  }
  .section-how h2 {
    padding-bottom: 2.4rem;
  }
  .step-img {
    width: 300px;
  }
  .step-img-jung {
    width: 300px;
    height: 300px;
   }
  .step-img-box::before {
    padding-bottom: 80%;
    width: 80%;
  }
  .step-img-box::after {
    padding-bottom: 70%;
    width: 70%;
  }
  .step-img-box:nth-child(2) {
    grid-row: 1;
  }
  .step-img-box:nth-child(6) {
    grid-row: 5;
  }
  .step-img-box:nth-child(10) {
    grid-row: 9;
  } 
  .step-img-box:nth-child(14) {
    grid-row: 13;
  } 
  .step-img-box {
    padding-bottom: 2.4rem; 
    margin-top: 2.4rem;
    width:300px;
  }
  .step-number {
    font-size: 8.6rem;
    font-weight: 600;
    color: #ddd;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 1.2rem;
  }
  .step-text-box {
    width:300px;
  }
  .section-testimonials {
    padding: 4.2rem 1rem 4.2rem 1rem;
  }
  .testimonials-container {
    width: 30rem;
   }
  .testimonials {
    grid-template-columns: 1fr;
    padding-left: 0px;
    padding-right: 0px;
  }
  .testimonial {
    padding-left: 0px;
    margin-left: 0px;
   }
  .collage-container {
    padding: 0;
    margin-left: 0;
  }
  .full-testimonial-collage,
  .testimonial-collage {
    width: 340px;
    height: 640px;
    padding-left: 5%;
    margin-left: 0;
  }
  .full-testimonial-collage {
   height: 2860px;
  }
  .item {
    flex: 1 1 130px;
    width: 40px;
    height: 160px;
  }
  .hero {
    padding: 0 2.4rem;
    max-width: 700px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-description {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 2.4rem;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
  .heading-main,
  .heading-primary {
    padding-top: 5%;
    font-size:  3.2rem;
  }
  .heading-main {
    font-size: 2.8rem;
  }
  section {
    padding: 3.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
    column-gap: 2.4rem;
  }
  .btn,
  .btn:link,
  .btn:visited {
    font-size: 2.6rem;
    padding: 1.6rem 1.6rem;
    margin-bottom: 2.4rem;
  }
  .cta-form {
    grid-template-columns: 1fr;
  }
  .type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
    column-gap: 2.4rem;
    justify-content: center;
    align-items: center;
  }
  .jung-type-img,
  .type-img {
    width: 30rem;
    height: 30rem;
  }
  .grid-resource {
    padding: 3%;
    margin-left: 3%;
  }
  .grid-jungian {
    grid-template-columns: 1fr 1fr;
    width: 80%;
  }
  .non-white-bg {
    background-color: white;
  }
  .resource-card {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
    font-size: 2rem;;
    padding-right: 2.4rem;
  }
  .container-jungian-functions {
    padding: 2.4rem;
    background-color: #fdf2e9;
    box-shadow: 0 2.4rem 4.8rem 0 rgba(0, 0, 0, 0.15);
    border-radius: 11px;
    margin-bottom: 2.4rem;
    color: #cf7117;
    line-height: 1.8;
    width: 40rem;
  }
  .container-learn {
   width: 28rem;
   margin-left: 0%;
   padding-right: 5px;
  }
  .grid-learn {
    padding: 0;
    display: grid;
    grid-template-columns: 15px 1fr;
    gap: 2.4rem;
    align-items: center;
  }
  .container-results {
   padding: 4.6rem;
  }
  .results-box {
   padding: 2.4rem;
   padding-bottom: 4.6rem;
   width: 100%;
  }
  .ppage-text {
   font-size: smaller;
  }
  .logo {
  height: 11rem;
  width: 14rem;
  }
  .form-test {
  padding: 1.2rem;
  }
  .grid-test {
   gap: 3px;
   margin-left: 1.2rem;
  }
  .question-text {
   font-size: 2.4rem;
  }
  .text-agree {
   font-size: 1.8rem;
   }
  .grid-test span label {
    display: inline-block;
    width: 10px; 
    height: 10px;
    border: 2px solid #666;
    border-radius: 50%;
    cursor: pointer;
    background-color: #fff;
  }
  .compat-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
    column-gap: 2.4rem;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
  }
  .grid-test span:nth-child(2) label,
  .grid-test span:nth-child(4) label {
    width: 15px;
    height: 15px;
  }
  .grid-test span:nth-child(1) label,
  .grid-test span:nth-child(5) label {
    width: 25px;
    height: 25px;
  }
  .jungian-type-grid,
  .type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 2.4rem;
    column-gap: 2.4rem;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
  }
 .compatibility-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-resource {
    grid-template-columns: 1fr 1fr;
    width: 80%;
    align-items: center;
    justify-content: center;
  }
  .chatbox {
    height: 30rem;
    width: 30rem;;
  }
  .chat-input {
    margin-top: 15px;
    margin-bottom: 10%:
    padding: 10px;
    width: 30rem;
    margin-left: 5%;
    height: 40px;
    font-size: 1.8rem;
  }
  .grid-payment {
    margin: 0 auto;
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: center;
  }
  .grid-payment input {
     margin-top: 3px;
     padding: 0px;
     width: 26rem;
     height: 30;
     font-size: 1.6rem;
     border: none;
  }
  .payment-text {
    margin-top: 15px;
    font-size: 2.2rem;
    line-height: 1.2;
 }
  .ccard-img {
    width: 100%;
  }
  .container-payment {
    width: 95%;
    padding: 10%;
  }
  .grid-payment input {
   width: 30rem;
   font-size: 2.2rem;
   border: none;
  }
  .submit-btn {
    padding: 10px 20px;
    margin-left: 0;
    font-size: 2.4rem;
  }
  .payment-text {
    margin-top: 20;
    font-size: 2.6rem;
    line-height: 1.6;
  }
}
@media (max-width: 40em) {
  .btn,
  .btn:link,
  .btn:visited {
    font-size: 1.8rem;
    padding: 1.0rem 1.0rem;
    margin-bottom: 1.8rem;
  }
  .subheading {
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
  }
  .rel-subheading {
    font-size: 1.8rem;
  }
  .container-cart {
    width: 95%;
    padding: 1.8rem 1.8rem 1.8rem 1.8rem;
  }
  .container-payment {
    width: 100%;
    padding: 10px;
  }
}
@media (max-width: 34em) {
  .author-text {
    font-size: 1.4rem;
  }
  .container {
    width: 280px;
    padding-left: 0px;
  }
  .container .grid .grid--2cols .grid--center-v {
    padding 0;
  }
  .container {
   padding-left: 5px;
  }
  .grid--3cols,
  .grid--4cols,
  .grid--2cols,
  .cta-grid {
    grid-template-columns: 1fr;
  }
  .subheading {
   margin-top: 0;
   margin-bottom: 0;
  }
  .container-learn {
   width: 22rem;
  }
  .type-to-type-text,
  .upper-grid-text {
    font-size: 1.6rem;
  } 
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid {
    row-gap: 1.2rem;
  }
  .new-section-hero,
  .section-hero {
    width: 410px;
  }
  .compatibility-section-hero {
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
      ),
      url(/art/compatibility-mobile.jpg);
    background-size: cover;
    width: 410px;
    padding-top: 14rem;
  }
  .chatbots-section-hero {
    width: 410px;
    padding-top: 16rem;
  }
  .career-section-hero {
  background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/compass-crop.jpeg);
    width: 410px;
    padding-top: 16rem;
  }
  .growth-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/personal-growth-crop.jpeg);
    width: 410px;
    padding-top: 16rem;
  }
  .portrait-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/concert-people-crop.jpeg);
    width: 410px;
    padding-top: 16rem;
  }
  .relationships-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/family-dinner-crop2.jpeg);
    width: 410px;
    padding-top: 16rem;
  }
  .kids-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/kids-believe-hero-crop2.jpg);
    width: 410px;
    height: 800px;
    padding-top: 16rem;
  }
  .jung-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/jung-freud-etal-crop.jpeg);
    width: 410px;
    padding-top: 16rem;
  }
  .EN-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EN-function-crop.jpg);
    width: 410px;
    padding-top: 16rem;
  }
  .EF-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/EF-function-crop.jpg);
    background-size: cover;
    width: 410px;
    padding-top: 16rem;
  }
  .IT-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/IT-function-crop.jpg);
    width: 410px;
    padding-top: 16rem;
  }
  .IN-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/IN-function-crop.jpg);
    width: 410px;
    padding-top: 16rem;
  }
  .tests-section-hero {
    background-image: linear-gradient(
      to right,
      rgba(255, 255, 255, 1),
      rgba(255, 255, 255, 0)
    ),
    url(/art/test-background2-crop.jpg);
    width: 410px;
    padding-top: 16rem;
  }
  .EN-section-hero,
  .tests-section-hero,
  .jung-section-hero,
  .kids-section-hero,
  .relationships-section-hero,
  .career-section-hero,
  .compatibility-section-hero,
  .growth-section-hero,
  .portrait-section-hero,
  .chatbots-section-hero,
  .section-hero {
    padding: 2.4rem 0 2.4rem 0;
    padding-top: 16rem;
    padding-bottom: 0;
  }
  .hero-text-box {
    padding-top: 2%;
    padding-bottom: 2%;
    width: 70%;
  }
  .hero {
    width: 305px;
    padding: 0 1.4rem;
    margin-left: 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    align-items: center;
  }
  .hero h1 {
    font-size: 3.2rem;
    padding-bottom: 0;
  }
  .hero-description {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 2.4rem;
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }
  .heading-main,
  .heading-primary {
    padding-top: 5%;
    font-size:  2.8rem;
  }
  .heading-main {
    font-size: 2.0rem;
  }
  .hero {
    padding: 0 2.4rem;
    max-width: 100%;
  }
  .jung-section-how,
  .section-how {
    padding: 1.8rem 0 1.8rem 0;
    width: 300;
  }
  .container {
   width: 28rem;
   padding-left:5px;
  }
  .step-img {
    width: 260px;
  }
  .step-img-jung {
    width: 250px;
    height: 250px;
  }
  .step-img-box {
    padding-top: 0;
    padding-bottom: 1.2rem;
    margin-top: 1.2rem;
    width: 250px;
    margin-left: 0px;
    gap: 0px;
  }
  .step-text-box {
    width:250px;
  }
  .step-img-box::before {
    padding-bottom: 95%;
    width: 95%;
  }
  .step-img-box::after {
    padding-bottom: 85%;
    width: 85%;
  }
  .section-testimonials {
    padding: 2.4rem 0 2.4rem 0;
    grid-template-columns: 1fr;
  }
  .testimonial-subheading {
   width: 350px;
   font-size: 1.6rem;
  }
  .testimonials-container {
    width: 90%;
    padding-left: 2.6rem;
  }
  .figure.testimonial {
  width: 300px;
  }
  .figure {
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 5px;
    -webkit-margin-end: 5px;
  }
  .heading-secondary {
   font-size: 1.8rem;
  }
  .testimonial {
   margin-left: 0px;
   width: 80%;
  }
  .users {
  padding-top: 2.4rem;
  font-size: 1.8rem;
  line-height: 1.6;
  margin-right: 4.2rem;
  margin-left: 4.2rem;
}
  .testimonials {
    grid-template-columns: 1fr;
    padding-left: 0px;
  }
  .collage-container {
    padding: 0;
    margin-left: 5%;
    margin-right: 5%;
  }
  .testimonial-collage {
    width: 200px;
    height: 800px;
    padding-left: 0%;
  }
  .full-testimonial-collage {
    padding-left: 0%;
    width: 330px;
    height: 800px;
  }
  .item {
    flex: 1 1 100px;
    width: 40px;
    height: 100px;
  }
  .btn,
  .btn:link,
  .btn:visited {
    padding: 1.6rem 1.6rem;
    margin-bottom: 2.4rem;
  }
  .cta,
  .cta-form {
    grid-template-columns: 1fr;
  }
  .cta-img-box {
    height: 32rem;
    grid-row: 1;
  }
  .cta-text-box {
    padding: 3.2rem;
  }
  .cta-form input {
    font-size: 1.4rem;
  }
  .copyright-col,
  .contact-col,
  .terms-col,
  .aboutus-col {
    padding-top: 1.6rem;
  }
  .compat-type-grid,
  .jungian-type-grid,
  .type-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 1.2rem;
    column-gap: 1.2rem;
    justify-content: center;
    align-items: center;
  }
  .compat-type-grid {
   grid-template-columns: 1fr 1fr;
  }
  .jung-type-img,
  .type-img {
    width: 30rem;
    height: 30rem;
    margin-left: 0px;
  }
  .grid-resource {
    grid-template-columns: 8rem 12rem;
    width: 90%;
  }
  .grid-jungian {
    grid-template-columns: 1fr 1fr;
    margin-left: 0px;
    width: 90%;
    font-size: 2.4rem;
    padding-left: 4px;
  }
  .non-white-bg {
  background-color: white;
  }
  .resource-card {
   margin-left: 0px;
   width: 100%;
   padding-right: 5%;
  }
  .container-jungian-functions {
    padding: 2.4rem;
    background-color: #fdf2e9;
    box-shadow: 0 2.4rem 4.8rem 0 rgba(0, 0, 0, 0.15);
    border-radius: 7px;
    margin-bottom: 2.4rem;
    color: #cf7117;
    line-height: 1.8;
    width: 30rem;
  }
  .container-grid {
   width: 28;
}
  .grid-learn {
    width: 30rem;
    padding: 0;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 2.4rem;
    align-items: center;
  }
  .container-results {
   padding: 2.3rem;
  }
  .results-box {
   padding: 3.2rem;
   width: 100%;
  }
  .menu-list li {
   font-size: 1.8rem;
  }
  .main-nav li a {
   font-size 1.8rem;
  }
  .main-nav-link-cta-text {
   font-size: 2rem;
  }
  .grid-test {
   gap: 3px;
  margin-left: 0px;
   }
 .compatibility-grid {
  grid-template-columns: 1fr;
  }
 .compatibility-box {
  height: 350px;
  width: 300px;
  padding: 0px;
  }
  .grid-payment {
    margin: 0 auto; 
    padding: 10px;
    grid-template-columns: 1fr;
    gap: 5px;
    align-items: center;
  }
  .ccard-img {
   width: 100%;
  }
  .container-payment {
    width: 100%;
    padding: 10px;
  }
  .grid-payment input {
   margin-top: 3px;
   padding: 0px;
   width: 26rem;
   height: 30;
   font-size: 1.6rem;
   border: none;
  }
  .submit-btn {
    padding: 8px 8px;
    margin-left: 10px;
    font-size: 2.4rem;
  }
  .payment-text {
    margin-top: 15px;
    font-size: 2.4rem;
    line-height: 1.4;
  }
  .logo {
  height: 10rem;
  width: 13rem;
  }
  .section-main-ad,
  .section-main,
  .section-sub-main-1,
  .section-sub-main-2,
  .section-sub-main-3 {
    padding: 1.2rem;
    padding-top: 16rem;
  }
  .header {
    align-items: center;
    background-color: #fdf2e9;
    width: 100%;
    height: 16rem;
    padding: 0px;
    padding-top:5px;
    padding-bottom: 10px;
  }
  .menu-icon {
   right: 4%;
  }
  .header a,
  .header:link {
  font-size: 2rem;
  }
  .container-passwd {
    padding: 1.8rem;
    width: 34rem;
    font-size: 2.4rem;
    font-weight: 400;
    margin-bottom: 1rem;
    margin-left: 1.8rem;
  }
  .passwd-text {
    font-size: 2.4rem;
    line-height: 1.4;
  }
  .grid-passwd {
    width: 32rem;
    gap: 2.4rem;
  }
  .container-results {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    width: 300px;
    padding: 1.2rem;
  }
  .results-box {
    text-align: left;
    font-size: 1.4rem;
    width: 280px;
    margin-left: 10px;
    padding-left: 10px;
    padding: 20px;
    padding-bottom: 20px;
  }
  .grid-percentages {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 
    gap: 10px;
    row-gap: 10px;
    align-items: left;
    justify-items: left;
  }
  .wide-text-box {
   padding: 0;
  }
  .jung-section-how {
    padding-top: 16rem;
    width: 250;
  }
  .grid-payment-options,
  .grid-payment-plan {
   grid-template-columns: 1fr;
   width: 80%;
  }
  .grid-payment-options {
   width: 100%;
  }
  .step-number {
    font-size: 4.6rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 0px;
  }
  .step-description {
    font-size: 2.4rem;
    line-height: 1.4;
  }
  .step-text-box {
   width: 80%;
   }
  .heading-tertiary {
    font-size: 2.8rem;
    line-height: 1.2;
    padding-top: 0;
    padding-bottom: 0px;
    margin-top: 0;
  }
  .bio-heading {
    font-size: 2.2rem;
    color: #a20202;
    text-transform: uppercase;
  }
  .bio-img {
    width: 6.4rem;
    height: 6.4rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-right: 10px;
  }
}
@media (max-width: 20em) {
  .grid-payment-options,
  .grid-payment-plan {
   grid-template-columns: 1fr;
   width: 80%;
  }
  .rel-subheading {
    font-size: 1.4rem;
  }
  .container-cart {
    width: 100%;
    padding 5px; 
  }
  .section-main,
  .section-sub-main-1,
  .section-sub-main-2 {
   padding: 1.2rem;
   padding-top: 16rem;
  }
  .collage-container {
    padding: 0;
    margin-left: 8%;
    margin-right: 8%;
  }
  .testmonials-container {
   width: 300px;
  }
  .testimonial-collage {
    width: 200px;
    height: 800px;
    padding-left: 40px;
  }
  .header {
    align-items: center;
    background-color: #fdf2e9;
    width: 320px;
    height: 14rem;
    padding: 0px;
    padding-top:5px;
    padding-bottom: 10px;
  }
  .container-passwd {
    padding: 10px;
    width: 30rem;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
  }
  .passwd-text {
    font-size: 1.8rem;
    line-height: 1.4;
  }
  .grid-passwd {
    width: 28rem;
    gap: 2.4rem;
  }
  .container-results {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
    width: 280px;
    padding: 1.2rem;
  }
  .results-box {
    text-align: left;
    font-size: 1.2rem;
    width: 250px;
    margin-left: 10px;
    padding-left: 10px;
    padding: 10px;
    padding-bottom: 20px;
  }
  .grid-percentages {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 
    gap: 10px;
    row-gap: 10px;
    align-items: left;
    justify-items: left;
  }
  .wide-text-box {
   padding: 0;
  }
  .jung-section-how {
    padding-top: 14rem;
  }
  .section-main {
   padding-top: 16rem;
  }
 .compatibility-box {
  height: 300px;
  width: 250px;
  padding: 0px;
  }
  .type-to-type-text,
  .upper-grid-text {
    font-size: 1.2rem;
  } 
  .menu-list {
    margin: 0.5rem;
  }
  .menu-list li {
    padding: 1px 1px;
    font-size: 1.8rem;
    line-height: 1.2;
    width: 18rem;
  }
  .kids-section-hero {
    background-image: linear-gradient(
        to right,
        rgba(255, 255, 255, 1),
        rgba(255, 255, 255, 0)
      ),
      url(/art/kids-believe-hero-crop2.jpg);
      width: 280px;
      padding-top: 10rem;
  }
}
