@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary_font: "DM Sans", sans-serif;
    --primary_color: #39932F;
    --primary_color_light: #ECF6EB;
    --secondary_color: #779F02;
    --gray_color: #F5F5F5;
    --border_gray: #E8E8E8;
    --border_primary: #3FA134;
    --heading_color: #1F1F1F;
    --text_input_color: #515151;
    --body_bg: #F6F7F6;
    --text_info: #575757;
    --white_color: #FFFFFF;
    --border_color: #E9E9E9;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button,
input {
    font-family: var(--primary_font);
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-size: 16px;
}

img {
    display: block;
    max-width: 100%;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

html,
body {
    touch-action: manipulation;
}

body {
    font-family: var(--primary_font);
    font-size: 1.8rem;
    line-height: 2.3rem;
    font-weight: 500;
    letter-spacing: .2px;
    color: var(--text_info);
    background-color: var(--body_bg);
    position: relative;
    padding-bottom: 20rem;
    z-index: 0;
    min-height: 100vh;
}

.main_body {
    background-image: url(../images/star.svg);
    background-repeat: no-repeat;
    background-position: left;
    position: relative;
    z-index: 2;
    background-position-x: 105px;
    background-position-y: 37rem;
}

p {
    color: #717171;
}

.main_body::before {
    position: absolute;
    content: "";
    width: 65.7rem;
    height: 79rem;
    bottom: 0;
    left: 0;
    background-image: url('../images/layer-blur.svg');
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    z-index: -1;
}

.main_body::after {
    position: absolute;
    content: "";
    width: 6rem;
    height: 10.5rem;
    right: 0;
    top: 20rem;
    background-image: url('../images/shape.svg');
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    z-index: -1;
}

.header {
    background-color: var(--white_color);
    border-bottom: 1px solid #7EC077;
    padding: 2.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_logo img {
    max-width: 17.4rem;
}

.heading01 {
    font-size: 3.8rem;
    line-height: 4.9rem;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: uppercase;
    color: var(--heading_color);
}


.quiz_container {
    width: 80%;
    max-width: 58.6rem;
    margin: 7.4rem auto 0;
   
}

.page_img_container {
    border-radius: 2rem;
    overflow: hidden;
    /* height: 28.7rem; */
}

.page_img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.secondary_heading {
    color: var(--primary_color);
}
.image-duo {
    display: flex;
    column-gap: 4.4rem;
    justify-content: center;
}

.green-btn {
    font-size: 2.2rem;
    line-height: 3.7rem;
    color: var(--white_color);
    background-color: var(--primary_color);
    display: flex;
    font-weight: 700;
    justify-content: space-between;
    border-radius: 0 0 2.8rem 2.8rem;
    width: 100%;
    padding: .6rem 1rem;
    transform: translateY(-49px);
    cursor: pointer;
}

.quiz-no-quiz {
    margin: auto;
    display: flex;
    justify-content: center;
    padding: 6rem 0;
}

p.sub_heading {
    padding-top: 2rem;
    text-transform: capitalize;
}

.pair-img {
    display: flex;
    flex-direction: column;
    justify-content: center;
    row-gap: 4.4rem;
}


.page_info_header {
    padding: 1.5rem 0 2.4rem;
    text-align: center;
}

.gender_box{
    cursor: pointer;
}

/* quiz end */

@media only screen and (max-width:767px) {
    body {
        padding-bottom: 10rem;
    }

    .header_logo img {
        max-width: 12rem;
    }

    .header {
        padding: 2.1rem 1rem;
    }

    .btn_primary {
        font-size: 1.6rem;
        padding: 1.4rem;
    }

    .quiz_container {
        margin: 3.5rem auto 0;
        width: calc(100% - 3.2rem);
        padding: 1.2rem;
        border-radius: 2rem;
    }

    .page_img_container {
        border-radius: 1.2rem;
        height: auto;
    }

    .main_body::before {
        width: 100%;
        height: auto;
    }

    .heading01 {
        font-size: 2.1rem;
        line-height: 3rem;
    }

    .sub_heading {
        font-size: 1.4rem;
        line-height: 1.5;
    }

       .green-btn {
        font-size: 1.6rem;
        line-height: 3.7rem;
        font-weight: 600;
        transform: translateY(-40px);
        border-radius: 0 0 1.8rem 1.8rem;
    }
 
    p{
        font-size: 1.4rem;
        line-height: 2.1rem;
    }
    .green-btn img{
        width: 1.8rem;
        line-height: 2.8rem;
    }
}
@media only screen and (max-width: 522px){
    .green-btn {
        transform: translateY(-33px);
          }
}
@media (max-width: 480px){
      .green-btn {
        font-size: 1.1rem;
        line-height: 2.4rem;
         transform: translateY(-33px);
      }
}
@media (max-width: 345px){
         .green-btn {
          transform: translateY(-20px);
          }
}