* {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
}
/* .results {
    position: fixed;
    right: 100px;
    bottom: 100px;
} */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}
header {

    width: 100%;
}
.header-wrp {
    display: flex;
    /* justify-content: space-between; */
    padding: 20px 0;
    height: 100px;
}
.header-wrp a {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}
.header-wrp a img {
    height: 100%;
}
@media (max-width:767px) {
    .header-wrp {
        height: 60px;
        width: 100%;
    }
    .header-wrp a {
        width: 128px;
    }
}
/* intro */

.intro-body {
    min-height: 100vh;
    background-image: url(static/intro-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.intro-head {
    margin-top: 35px;
    letter-spacing: 0.025em;
    color: #282E33;
    font-weight: 700;
    font-size: 50px;
    line-height: 117.9%;
    margin-bottom: 20px;
}
.intro-txt {
    font-weight: 600;
    font-size: 28px;
    line-height: 150%;
    color: #282E33;
    margin-bottom: 60px;
}
.intro-btn {
    font-style: normal;
    font-weight: 600;
    font-size: 26px;
    line-height: 150%;
    border-radius: 40px;
    width: 250px;
    height: 60px;
    border: none;
    background: linear-gradient(270deg, #00F1FF 0%, #038FFF 100%);
    color: white;
    cursor: pointer;
    text-decoration: none;
}
.intro-modal {
    background: #FFFFFF;
    opacity: 0.86;
    box-shadow: 0px -12px 34px -8px rgba(105, 147, 181, 0.26);
    position: absolute;
    left: 0;
    bottom: 0;
    animation: modal 1s 4s;
    overflow: hidden;
    width: 100%;
    max-height: 0;
    transition: all 1s;
}
.intro-wrp {
    max-width: 73%
}
.modal-txt {
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
    color: #383838;
    margin: 40px 0;
}
.intro-modal .container {
    position: relative;
}
.modal-txt {
    margin-right: 3%;
}
.close-modal {
    position: absolute;
    right: 20px;
    top: -20px;
    cursor: pointer;
}
.intro-share-links {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 14px;
    line-height: 150%;
    text-align: right;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #282E33;
}
.intro-section .container {
    position: relative;
}
.share-links-wrp {
    display: flex;
    gap: 30px;
}
@media (max-width:767px) {
    .intro-share-links {
        right: 20px;
        font-size: 8px;
    }
    .share-links-wrp {
        margin-bottom: 5px;
    }
    .share-links-wrp svg {
        height: 24px;
        width: 24px;
    }
    .intro-wrp {
        max-width: 100%;
    }
    .intro-head {
        font-size: 22px;
        margin-top: 0;
        padding-top: 60px;
    }
    .intro-txt {
        font-size: 15px;
        margin-bottom: 30px;

    }
    .modal-txt {
        font-size: 11px;
        line-height: 140%;
    }
    .intro-btn {
        font-size: 20px;
        width: 100%;
    }
    .close-modal svg {
        height: 16px;
        width: 16px;
    }
}





/* tests */

.body-test {
    min-height: 100vh;
    background-image: url(static/test-bg-kulia.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.test {
    
    /* display: flex; */
    justify-content: center;
    align-items: center;
}
.test-wrp {
    position: relative;

}
.swiper {
    overflow: hidden;

}

.question {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.prev {
    background: transparent;
    border: none;
    cursor: pointer;
}

.test h1 {
    font-weight: 600;
    font-size: 22px;
    line-height: 150%;
    text-align: center;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #038FFF;
    margin-bottom: 25px;
    padding: 0 50px;
}
.test-form {
    padding: 30px;
    background: linear-gradient(111.68deg, rgba(255, 255, 255, 0.53) -12.26%, rgba(255, 255, 255, 0.16) 107.67%);
    box-shadow: 4px 12px 37px rgba(159, 178, 190, 0.32);
    backdrop-filter: blur(18.5px);
    border-radius: 40px;
    width: 700px;
    box-sizing: border-box;
    position: relative;
}
.test-form::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: 40px; 
    padding: 1px; /* тут padding замість border-width */
    background: linear-gradient(111.4deg, #9FB2BE 1.23%, #CBD5DC 50.1%, #9FB2BE 98.97%);
    -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, /* [1] */
    linear-gradient(#fff 0 0); /* [2] */
  -webkit-mask-composite: xor; /* [3] для підтримки браузерів */
  mask-composite: exclude; /* [3] */
}

.test-form::before {
    content: '';
    height: 4px;
    width: 100%;
    background-repeat: no-repeat;
    background-position-x: center;
    position: absolute;
    top: -1px;
    left: 0;
    z-index: 99;
}
.swiper-slide:nth-child(1) .test-form::before {
    background-image: url(static/progress1.svg);
}
.swiper-slide:nth-child(2) .test-form::before {
    background-image: url(static/progress2.svg);
}
.swiper-slide:nth-child(3) .test-form::before {
    background-image: url(static/progress3.svg);
}
.swiper-slide:nth-child(4) .test-form::before {
    background-image: url(static/progress4.svg);
}
.swiper-slide:nth-child(5) .test-form::before {
    background-image: url(static/progress4.svg);
}
.swiper-slide:nth-child(6) .test-form::before {
    background-image: url(static/progress5.svg);
}
.swiper-slide:nth-child(7) .test-form::before {
    background-image: url(static/progress6.svg);
}
.swiper-slide:nth-child(8) .test-form::before {
    background-image: url(static/progress7.svg);
}
.test-form li {
    list-style: none;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.03em;
    display: flex;
    align-items: center;
}
.test-form li:not(:last-child){
    margin-bottom: 20px;
}
.test-form li input {
    margin-right: 20px;
    min-width: 20px;
    height: 20px;
}
.test-form li label, li input {
    cursor: pointer;
}
.button {
    border-radius: 40px;
    width: 250px;
    height: 60px;
    border: none;
    color: #E6E6E6;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 150%;
    margin-top: 40px;
    margin-bottom: 40px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
     linear-gradient(270deg, #00F1FF 0%, #038FFF 100%);
}
.button.btn-act {
    background: linear-gradient(270deg, #00F1FF 0%, #038FFF 100%);
    color: white;
    cursor: pointer;
}
.q-head {
    text-align: center;
    letter-spacing: 0.03em;
    color: #282E33;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 150%;
    margin-bottom: 30px;
    max-width: 70%;
}

#weight, #height {
    border: none;
    border-bottom: 1px solid #8A97A0;
    width: 100%;
    height: 50px;
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    letter-spacing: 0.03em;
    outline:none;
    background: transparent;
    border-radius: 0;
}
#weight::placeholder  , #height::placeholder   {
    letter-spacing: 0.03em;
    color: #8A97A0;
    text-align: center;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
}

.bmi-data {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}


.bmi-res {
    margin: 70px 0 0;
    position: relative;
}
input#range {
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    height:10px;
    width:100%;
    cursor: pointer;
    background: linear-gradient(270deg, #C867E0 0.9%, #6FD899 49.78%, #FCE87E 86.73%);
    margin: 20px 0 30px;
    background-repeat: no-repeat;
    transition: all .5s;
    cursor: none;
    border-radius: 10px;
    border: 1px solid #FFFFFF
}
input#range::-webkit-slider-thumb {
    -webkit-appearance: none;
    background: linear-gradient(220.31deg, #038FFF 0%, #00D1FF 109.66%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all .5s;
    cursor: none;
}
output#res-num {
    position: absolute;
    top: -15px;
    transform: translateX(-50%);
    color: #282E33;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
 }
#res-expl {
    position: absolute;
    bottom: 0;
    /* transform: translateX(-50%); */
    white-space: nowrap;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    letter-spacing: 0.03em;
    color: #8A97A0;
}
.swiper-slide:nth-child(7) .test-form ul {
    max-height: 260px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: auto
    
}
.swiper-slide:nth-child(7) .test-form ul::-webkit-scrollbar-track {
    background: rgba(159, 178, 190, 0.47);
    border-radius: 10px;
}
.swiper-slide:nth-child(7) .test-form ul::-webkit-scrollbar {
    width: 16px;
}
.swiper-slide:nth-child(7) .test-form ul::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00F1FF 0%, #038FFF 100%);
    border: 2px solid #D1D9DE;
    border-radius: 10px;
}
.swiper-slide:nth-child(8) .test-form ul {
    max-height: 260px;
    overflow-y: scroll;
}
.swiper-slide:nth-child(8) .test-form ul::-webkit-scrollbar-track {
    background: rgba(159, 178, 190, 0.47);
    border-radius: 10px;
}
.swiper-slide:nth-child(8) .test-form ul::-webkit-scrollbar {
    width: 16px;
}
.swiper-slide:nth-child(8) .test-form ul::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00F1FF 0%, #038FFF 100%);
    border: 2px solid #D1D9DE;
    border-radius: 10px;
}



@media (max-width:767px) {
    .swiper-slide:nth-child(7) .test-form ul,.swiper-slide:nth-child(8) .test-form ul {
        max-height: 100%;
        overflow-y: auto;
    }
    .swiper-slide:nth-child(7) .test-form ul::-webkit-scrollbar, .swiper-slide:nth-child(8) .test-form ul::-webkit-scrollbar {
        width: 10px;
        /* -webkit-appearance: none;
        -webkit-overflow-scrolling: auto */
    }
    .swiper-slide:nth-child(7) .test-form ul::-webkit-scrollbar-track, .swiper-slide:nth-child(8) .test-form ul::-webkit-scrollbar-track {
        /* display: block!important; */
    }
    .body-test {
        overflow-x: hidden;
        background-image: url(static/test-bg-mob.png);
    }
    .prev {
        width: 27px;
        top: 32px;
        overflow: hidden;
        z-index: 3;
    }
    .test h1 {
        font-size: 10px;
        padding: 0;
        margin-bottom: 15px;
    }
    .swiper {
    }
    .test-form {
        border-radius: 20px;
        width: 100%;
        box-shadow: none;
        padding: 15px;
        backdrop-filter: blur(6.5px);
        -webkit-backdrop-filter: blur(6.5px);
    }
    .test-form::before {
        width: 80%;
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        top: 0px;
        height: 4px;
        background-size: 100% 4px;
    }
    .test-form::after {
        border-radius: 20px;
    }
    .test-form li {
        font-size: 15px;
    }
    .q-head {
        padding-left: 35px;
        font-size: 18px;
        margin-bottom: 10px;
        max-width: 100%;
        box-sizing: border-box;
        width: 100%;
        text-align: left;
    }
    .button {
        width: 100%;
        height: 54px;
        font-size: 20px;
    }
    .bmi-data {
        flex-direction: column;
    }
    #weight, #height {
        height: 28px;
        font-size: 15px;
    }
    #weight::placeholder  , #height::placeholder {
        font-size: 15px;
    }
    .bmi-res {
        margin: 50px 0 0;
    }
    output#res-num {
        font-size: 16px;
    }
    #res-expl {
        font-size: 14px;
        /* white-space: normal; */
    }
}










/* results */

.body-res {
    min-height: 100vh;
    background-image: url(static/res-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    /* overflow: hidden; */
}
.body-res .container {
    position: relative;
}
.test-again {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #038FFF;
    font-weight: 600;
    font-size: 22px;
    line-height: 150%;
}
.res-share {
    position: absolute;
    right: 20px;
    top: 0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: end;
    text-align: right;
    gap: 16px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #282E33;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
}
.res-wrp {
    display: grid;
    grid-template-columns: 65% 35%;
    padding: 40px 0;
    gap: 20px;
}
.res-head {
    letter-spacing: 0.025em;
    color: #282E33;
    font-weight: 700;
    font-size: 48px;
    line-height: 117.9%;
    margin-bottom: 20px;
}
.expl-txt, .expl-txt-full {
    color: #282E33;
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
}
.expl-txt-full {
    display: none;
}
.med-link {
    text-decoration: none;
    font-weight: 700;
    color: rgba(3, 143, 255, 1);
}
.to-full {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    color: #038FFF;
    font-weight: 700;
    font-size: 22px;
    line-height: 150%;
    margin-top: 16px;
    cursor: pointer;
}
.to-full svg {
    transition: all .5s;
}
.to-min-txt {
    display: none;
}
.res-explain.full .expl-txt{
    display: none;
}
.res-explain.full .expl-txt-full {
    display: block;

}
.res-explain.full .expl-txt-full ul{
    list-style-position: inside;
}
.res-explain.full .to-full-txt {
    display: none;
}
.res-explain.full .to-min-txt {
    display: block;
}
.res-explain.full .to-full svg {
    transform: rotate(180deg);
}
.divider {
    height: 2px;
    width: 83px;
    background-color:  #038FFF;
    margin: 40px 0;
}
.contact-form {
    max-width: 700px;
}
.cf-txt {
    letter-spacing: -0.005em;
    font-weight: 400;
    font-size: 24px;
    line-height: 124%;
    color: #282E33;
    margin-bottom: 30px;
}
.contact-form-inp {
    display: flex;
    gap: 40px;
    justify-content: space-between;
}
.contact-form-inp input {
    border: none;
    border-bottom: 2px solid  #8A97A0;
    background: transparent;
    font-weight: 600;
    font-size: 24px;
    line-height: 124%;
    padding-bottom: 10px;
    outline: none;
    color: #282E33;
    border-radius: 0;
}
.contact-form-inp input::placeholder {
    color: #8A97A0;
    font-size: 22px;

}
.contact-form button {
    background: transparent;
    border: none;
    color: #7B878F;
    font-weight: 600;
    font-size: 30px;
    line-height: 150%;
    margin-left: auto;
    display: block;
    margin-top: 20px;
    
}
.contact-form button.active {
    color: #038FFF;
    cursor: pointer;
}
.persdata-wrp {
    margin-top: 20px;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.persdata-wrp  #persdata {
    width: 50px;
    height: 22px;
    cursor: pointer;
}
.persdata-wrp  label {
    letter-spacing: 0.005em;
    color: #282E33;
    font-size: 20px;
    line-height: 114%;
    cursor: pointer;
}






.res-score-wrp {
    display: flex;
    /* align-items: center; */
    padding: 15% 10%;
}
.ellipses-wrapper {
    transition: all 1s;
    height: 100%;
    position: fixed;
    top: 35%;
}
.ellipses {
    position: relative;
}
.ellipses img {
    position: absolute;
    
}
.ellipses img:nth-child(1) {
    animation: ellrot 4s ease-in-out infinite;
    transform-origin: 53% 54%;
}
.ellipses img:nth-child(2) {
    animation: ellrot 4s 1s ease-in-out infinite ;
    transform-origin: 52% 55%;
}
.ellipses img:nth-child(3) {
    animation: ellrot 4s 1s ease-in-out infinite;
    transform-origin: 48% 53%;
}
.ellipses img:nth-child(4) {
    animation: ellrot 4s 1s ease-in-out infinite;
    transform-origin: 52% 53%;
}
.ellipses img:nth-child(5) {
    animation: ellrot 4s 1s ease-in-out infinite;
    transform-origin: 54% 55%;
}
@keyframes ellrot {
    100% { transform:rotate(-360deg); }
}

.res-score {
    width: 325px;
    height: 325px;
    background: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    margin: 10%;

}
.result-score {
    color: #038FFF;
    font-weight: 600;
    font-size: 86px;
    line-height: 110%;
    text-align: center;
}
.points {
    color: #038FFF;
    font-weight: 600;
    font-size: 52px;
    line-height: 110%;
    text-align: center;
}

@media (max-width:767px) {
    .body-res {
        background-image: url(static/res-bg-mob.png);
        background-size: cover;
        background-position: top;
    }
    .test-again {
        font-size: 12px;
    }
    .test-again svg {
        height: 10px;
        width: 10px;
    }
    .res-share {
        font-size: 10px;
        gap: 10px;
    }
    .res-share img {
        height: 24px;
        width: 24px;
    }
    .res-wrp {
        display: flex;
        flex-direction: column-reverse;
        gap: 0;
    }
    .res-score-wrp {
        justify-content: center;
        padding: 0;
        margin: 40px 0;
    }
    .ellipses-wrapper {
        position: static;
    }
    .ellipses img {
        width: 136%;
        top: -24px;
        left: -24px;
    }
    .res-score {
        width: 130px;
        height: 130px;
        margin: 0;
    }
    .result-score {
        font-size: 42px;
    }
    .points {
        font-size: 30px;
    }
    .contact-form-inp {
        flex-direction: column;
    }
    .res-head {
        font-size: 22px;
    }
    .expl-txt, .expl-txt-full {
        font-size: 15px;
        line-height: 134%;
    }
    .to-full {
        font-size: 12px;
        margin-top: 10px;
        margin-bottom: 20px;
        gap: 5px;
    } 
    .to-full svg {
        width: 16px;
    }
    .divider {
        display: none;
    }
    .cf-txt {
        font-size: 15px;
        line-height: 134%;
    }
    .contact-form-inp input,.contact-form-inp input::placeholder {
        font-size: 15px;
    }
    .contact-form button {
        font-size: 18px;
    }
    .persdata-wrp label {
        font-size: 12px;
        line-height: 116%;
    }
}