.result_parent_element .title_result{width:60%;display:flex;flex-direction:column;gap:50px;}
.result_parent_element .title_result .result_list{width:450px;}
.result_parent_element .Image_section{width:40%;height:auto;text-align:center;margin-top:100px;}
/* .result_parent_element .Image_section img{width:350px;height:auto;} */

.result_parent_element .all_body_type{width:100%;display:flex;flex-direction:row;gap:50px;margin-top:50px;justify-content:center;}
.result_parent_element .all_body_type .general_body_type{width:400px;height:600px;position:relative;}
.result_parent_element .all_body{width: 100%;display: flex;flex-direction: column;justify-content: center;align-items: center;}
.result_parent_element .all_body_type .general_body_type img{width:100%;aspect-ratio:3/4;}

.result_parent_element .all_body_type .vatta_type{background-image:url('../images/quiz_results/vatta/vatta_all.webp');background-size:cover;border-image:fill 0 linear-gradient(#0003,#000);border-radius:10px;}
.result_parent_element .all_body_type .pitta_type{background-image:url('../images/quiz_results/pitta/pitta_all.webp');background-size:cover;border-image:fill 0 linear-gradient(#0003,#000);border-radius:10px;}
.result_parent_element .all_body_type .kapha_type{background-image:url('../images/quiz_results/kapha/kapha_all.webp');background-size:cover;border-image:fill 0 linear-gradient(#0003,#000);border-radius:10px;}

.result_parent_element .all_body_type .body_type_title{position: absolute;bottom: 0;padding: 15px;font-size: 22px;width:100%;text-align:center;}
.result_parent_element .all_body_type .body_code{text-align: center;font-size: 36px;font-weight: bold;color:greenyellow;}
/* Stacked Cards */

.stack {
  position: relative;
}

.card {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  width: 250px;
  height:auto;
  aspect-ratio: 4/7;
  border-radius: 2rem;
  box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.25),
    0 15px 20px 0 rgba(0, 0, 0, 0.125);
  transition: transform 0.6s;
  user-select: none;
}

.card img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  pointer-events: none;
}

.card:nth-last-child(n + 5) {
  --x: calc(-50% + 90px);
  transform: translate(var(--x), 0%) scale(0.85);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.01);
}

.card:nth-last-child(4) {
  --x: calc(-50% + 60px);
  transform: translate(var(--x), 0%) scale(0.9);
}

.card:nth-last-child(3) {
  --x: calc(-50% + 30px);
  transform: translate(var(--x), 0%) scale(0.95);
}

.card:nth-last-child(2) {
  --x: calc(-50%);
  transform: translate(var(--x), 0%) scale(1);
}

.card:nth-last-child(1) {
  --x: calc(-50% - 30px);
  transform: translate(var(--x), 0%) scale(1.05);
}

.card:nth-last-child(1) img {
  box-shadow: 0 1px 5px 5px rgba(255, 193, 111, 0.5);
}

.swap {
  animation: swap 1.3s ease-out forwards;
}
/************** From Main Old *****************************/
.limiter {
    width: 100%;
    margin: 0 auto
}
.container-login100 {
    width: 100%;
    min-height: fit-content;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #f7f7f7;
    padding-bottom:50px;
}
.container-login100.home {
    padding-bottom:0;
}
.wrap-login100 {
    width: 100%;
    background: #fff;
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    flex-direction: row;
}
.login100-more.background::before{background-color:rgba(0,0,0,0.5);backdrop-filter:blur(15px);}
.login100-more::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.login100-more{
    width: calc(100% - 560px);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1
}
/************ Know Your body type Start *******************/
.login100-more.background{height:80dvh;width:100%;display:flex;justify-content:center;align-items:center;}
.question_parent_element,.result_parent_element{width:auto;height:auto;border-radius:10px;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#fff;}
.question_parent_element{gap:25px;padding:25px;}
.result_parent_element{width:90%;height:90%;align-items:start;justify-content:start;justify-content:top;display:flex;flex-direction:row;position:relative;}

.result_parent_element .title_result .result_label{display:flex;flex-direction:column;gap:10px;font-size:20px;}
.result_parent_element .title_result .result_label .symptoms,.result_parent_element .title_result .result_label .career,.result_parent_element .title_result .result_label .whattoeat,.result_parent_element .title_result .result_label .whatnottoeat{border:1px solid #fff;height:60px;line-height:60px;padding:0 15px;border-radius:10px;}

.result_parent_element .title_result .result_label .listing{opacity: 0;transition: opacity 2s ease;font-size:20px;}
.result_parent_element .title_result .result_label ul{display:none;padding-left:40px;}

.question_parent_element .answer_section{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:25px;color:#fff;}
.question_parent_element .answer_section .answer_option{width:300px;height:400px;background-size:cover;border-radius:10px;border-image:fill 0 linear-gradient(#0003,#000);position:relative;cursor:pointer;}
.question_parent_element .answer_section .answer_option .answer_txt{position: absolute;bottom: 0;padding: 15px;font-size: 22px;width:100%;}

.question_parent_element .answer_section .answer_option .answer_txt .answer_code{text-align: center;font-size: 36px;font-weight: bold;color:greenyellow;}
.groupAnswer .primary_dosha,.groupAnswer .secondary_dosha{padding: 15px;font-size: 22px;border-radius: 10px;border: 1px solid aliceblue;cursor:pointer;display: flex;flex-direction: row;justify-content: left;align-items: center;gap: 10px;}
.groupAnswer{display:flex;flex-direction:column;gap:15px;}
.bigfont{font-size:34px;font-weight:bold;}
.navigation_btn .back_btn{border: 1px solid #fff;padding: 10px 20px;width: 150px;text-align: center;border-radius: 5px;cursor: pointer;}

.rest_dosha{position: absolute;right: 20px;display: flex;gap: 25px;font-size: 24px;}

@keyframes swap {
  30% {
    transform: translate(calc(var(--x) - 250px), -0%) scale(0.85) rotate(-5deg)
      rotateY(65deg);
  }
  100% {
    transform: translate(calc(var(--x) - 30px), -0%) scale(0.5);
    z-index: -1;
  }
}

/* Media queries for keyframes */

@media (max-width: 1200px) {
  @keyframes swap {
    30% {
      transform: translate(calc(var(--x) - 200px), -50%) scale(0.85)
        rotate(-5deg) rotateY(65deg);
    }

    100% {
      transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
      z-index: -1;
    }
  }
}

@media (max-width: 1050px) {
  @keyframes swap {
    30% {
      transform: translate(calc(var(--x) - 150px), -50%) scale(0.85)
        rotate(-5deg) rotateY(65deg);
    }

    100% {
      transform: translate(calc(var(--x) - 30px), -50%) scale(0.5);
      z-index: -1;
    }
  }
}

/* Media queries for other classes */

@media (max-width: 1200px) {
  .content {
    padding-left: 80px;
  }

  .content p {
    padding-right: 40px;
  }
}
@media only screen and (min-width:1051px) and (max-width:1279px){
  .card {
    width: 180px;
    height: 320px;
    left:75%;
  }
}

@media only screen and (min-width:1280px) and (max-width:1400px){
  .card {
    width: 200px;
    height:auto;
    aspect-ratio: 4/7;
    left:50%;
  }
}
@media (min-width:1401px){
  .card {
    width: 250px;
    height:auto;
    aspect-ratio: 4/7;
    left:50%;
  }
}

@media (max-width: 1050px) {
  .content {
    padding-left: 60px;
  }

  .content p {
    line-height: 1.5;
  }

  .card {
    width: 220px;
    height:auto;
    aspect-ratio: 4/7;
  }
}

@media (max-width: 990px) {
  .content p {
    padding-right: 0;
  }

  .card {
    width: 200px;
    height:auto;
    aspect-ratio: 4/7;
  }
}

@media (max-width: 950px) {
  main {
    grid-template-columns: 1fr;
    grid-template-rows: 4fr 3fr;
    grid-template-areas:
      "stacked"
      "content";
  }

  .content {
    grid-area: content;
    text-align: center;
    padding: 0 90px;
  }

  .stack {
    grid-area: stacked;
  }
}

@media (max-width: 650px) {
  main {
    grid-template-rows: 1fr 1fr;
  }

  .content {
    padding: 0 50px;
  }

  .content h1 {
    padding-left: 0;
  }

  .card {
    width: 180px;
    height: 260px;
  }
}
@media only screen and (min-width:1401px) and (max-width:1599px){
  .result_parent_element .all_body_type .general_body_type{width:360px;height:480px;}
}
@media only screen and (min-width:1280px) and (max-width:1400px){
  .result_parent_element .all_body_type .general_body_type{width:320px;height:425px;}
  .question_parent_element h1{font-size:26px;}
  .question_parent_element .answer_section .answer_option{width:260px;height:345px;}
  .question_parent_element .answer_section .answer_option .answer_txt{font-size: 20px;}
}
@media only screen and (min-width:980px) and (max-width:1279px){
  .result_parent_element .all_body_type .general_body_type{width:260px;height:345px;}
  .result_parent_element .all_body_type .body_code{font-size:26px;}
  .result_parent_element .all_body_type .body_type_title{font-size:16px;}
  .result_parent_element .all_body_type{gap:25px;}
  .result_parent_element{padding:25px;}

  .question_parent_element h1{font-size:26px;}
  .question_parent_element .answer_section .answer_option{width:200px;height:250px;}
  .question_parent_element .answer_section .answer_option .answer_txt{font-size: 16px;}
  .question_parent_element .answer_section{gap:20px;}
}
@media only screen and (min-width:768px) and (max-width:979px){
  .all_body_type_title h1{font-size:26px;}
  .result_parent_element .all_body_type .general_body_type{width:204px;height:272px;}
  .result_parent_element .all_body_type .body_code{font-size:26px;}
  .result_parent_element .all_body_type .body_type_title{font-size:16px;}
  .result_parent_element .all_body_type{gap:15px;}
  .result_parent_element{padding:25px;}

  .question_parent_element h1{font-size:26px;}
  .question_parent_element .answer_section .answer_option{width:260px;height:345px;}
  .question_parent_element .answer_section .answer_option .answer_txt{font-size: 16px;}
  .question_parent_element .answer_section{gap:20px;flex-direction: column;}
  .login100-more.background{height:auto;min-height:80dvh;padding:20px 0;}
}
@media only screen and (min-width:320px) and (max-width:767px){
  .all_body_type_title h1{font-size:26px;}
  .result_parent_element .all_body_type .general_body_type{width:auto;height:435px;}
  .result_parent_element .all_body_type .body_code{font-size:26px;}
  .result_parent_element .all_body_type .body_type_title{font-size:16px;}
  .result_parent_element .all_body_type{gap:15px;}
  .result_parent_element{padding:25px;justify-content:center;flex-direction:column;overflow:auto;height:auto;}
  .logo_place{position:relative;top:0;}
  .result_parent_element .all_body_type{flex-direction:column;}
  .header_on_bodytype{display: flex;justify-content: space-between;align-items: center;width: 100%;}
  .rest_dosha{position:relative;gap:12px;font-size:20px;}

  .question_parent_element{padding:10px;gap:20px;}
  .question_parent_element h1{font-size:20px;}
  .question_parent_element .answer_section .answer_option{width:260px;height:345px;}
  .question_parent_element .answer_section .answer_option .answer_txt{font-size: 14px;}
  .question_parent_element .answer_section{gap:20px;flex-direction: column;}
  .login100-more.background{height:auto;min-height:80dvh;padding:20px 0;}
}
@media only screen and (min-width:980px) and (max-width:1279px){
  .logo_place #logo{width:75px;height:75px;background-size:75px;}
  .result_parent_element .title_result{margin-top:50px;gap:25px;}
  .result_parent_element .title_result .short_desc{font-size:16px;}
  .result_parent_element .title_result .result_list{width:350px;}
  .result_parent_element .title_result .result_label .symptoms, .result_parent_element .title_result .result_label .career, .result_parent_element .title_result .result_label .whattoeat, .result_parent_element .title_result .result_label .whatnottoeat{height:50px;line-height:50px;}
  .result_parent_element .title_result .result_label,.result_parent_element .title_result .result_label .listing{font-size:16px;}
  .bodytype_definition .title{margin-bottom:5px;}
}
@media only screen and (min-width:768px) and (max-width:979px){
  .result_parent_element{padding:0 25px 25px;}
  .logo_place #logo{width:75px;height:75px;background-size:75px;}
  .result_parent_element .title_result{margin-top:90px;gap:25px;}
  .result_parent_element .Image_section{width:33%;margin-top:175px;}
  .result_parent_element .title_result .short_desc{font-size:16px;}
  .result_parent_element .title_result .result_list{width:350px;}
  .result_parent_element .title_result .result_label .symptoms, .result_parent_element .title_result .result_label .career, .result_parent_element .title_result .result_label .whattoeat, .result_parent_element .title_result .result_label .whatnottoeat{height:50px;line-height:50px;}
  .result_parent_element .title_result .result_label,.result_parent_element .title_result .result_label .listing{font-size:16px;}
  .bodytype_definition .title{margin-bottom:5px;}
}
@media (max-width: 1050px){
  .Image_section{display:none;}
  .result_parent_element .title_result{width:100%;}
}
@media only screen and (min-width:320px) and (max-width:767px){
  .result_parent_element{padding:25px;}
  .result_parent_element .title_result .result_list{width:inherit;}
  .result_parent_element{overflow:auto;}
  .bodytype_definition .title{margin-bottom:5px;font-size:26px;}
  .bodytype_definition .short_desc{font-size:14px;}
  .result_parent_element .title_result{gap:25px;margin-top:25px;}
  .result_parent_element .title_result .result_label .symptoms, .result_parent_element .title_result .result_label .career, .result_parent_element .title_result .result_label .whattoeat, .result_parent_element .title_result .result_label .whatnottoeat{height:50px;line-height:50px;}
  .result_parent_element .title_result .result_label,.result_parent_element .title_result .result_label .listing{font-size:16px;}
  .login100-more.background{align-items: start;padding:20px 0;}
}
@media only screen and (min-width:320px) and (max-width:359px){
  .px-3.know-your-body,.px-3.body_type_parent{padding:0 !important;}
  .groupAnswer .primary_dosha, .groupAnswer .secondary_dosha{font-size:16px;}
  .groupAnswer .primary_dosha .bigfont, .groupAnswer .secondary_dosha .bigfont{font-size:26px;}
  .login100-more.background{align-items: start;padding:20px 0;}
}
