@font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Thin.ttf');
    font-weight: 100;
}
@font-face {
    font-family:  Roboto;
    src: url('../fonts/Roboto-Light.ttf');
    font-weight: 300;
}
@font-face {
    font-family:  Roboto;
    src: url('../fonts/Roboto-Regular.ttf');
    font-weight: 400;
}
@font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Medium.ttf');
    font-weight: 500;
}
@font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Bold.ttf');
    font-weight: 700;
}
@font-face {
    font-family: Roboto;
    src: url('../fonts/Roboto-Black.ttf');
    font-weight: 900;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;

}
img{
    max-width: 100%;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-ms-track {
    width: 100%;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}
html{
    font-family: 'Roboto', sans-serif;
}
body{
    overflow-x: hidden;
}
.header{
    font-family: 'Roboto', sans-serif;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-position: top center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-bottom: 342px;
}
.header__content{
    text-align: right;
}
.strong{
    font-weight: 700;
}
.blue{
    color: #2F80ED;
}
.header__content{
    padding: 35px 15px;
}
.header__content_logo{
    width: 100%;
    margin-bottom: 234px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.header__content__logo-text{
    margin-left: 19px;
    font-size: 45.184px;
    line-height: 57px;
    color: #4F4F4F;
}
.header__title{
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 81.2px;
    line-height: 131.6px;
    text-transform: uppercase;
    color: #333333;
    text-align: right;
}
.margin-right{
    margin-left: auto;
}
.content{
    font-family: 'Roboto', sans-serif;
    padding: 80px 0 86px;
    background-image: url("../images/pain.png");
    background-repeat: no-repeat;
    background-position: right;

}
.content__title,
.content__blocks{
    padding-left: 100px;
}
.content__title{
    text-align: center;
    padding-bottom: 30px;
    font-weight: 500;
    font-size: 37px;
    line-height: 48px;
    color: #4F4F4F;
}
.content__blocks{
    display: flex;
    flex-wrap: wrap;
}
.block{
    font-family: 'Roboto', sans-serif;
    padding: 16px 20px;
    margin-bottom: 24px;
    width: calc(33% - 16px);
    background: #EAF2FD;
    border-radius: 7.56658px;
    margin-right: 24px;
    cursor: pointer;
}

.block:nth-child(3){
    margin-right: 0;
}
.block__title{
    text-transform: capitalize;
    padding-bottom: 15px;
    font-size: 24px;
    line-height: 31px;
    color: #2F80ED;
    font-weight: bold;
}
.circle{
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    border: 2.26997px solid #2F80ED;;
    border-radius: 50%;
    background: #F2F2F2;
}
.circle:hover{
    border: 6.05326px solid #FF2424;
}
.clicked .circle{
    border: 6.05326px solid #FF2424;
}
.block__items{
    margin: 0;
    padding: 0;
}
.block__items_li{
    list-style: url("../images/arrow.png") outside;
    font-size: 17px;
    line-height: 22px;
    color: #4F4F4F;
    margin: 10px 0 10px 24px;
}
.block__items_li span{
    padding-left: 11px;
    display: block;
}
.range{
    font-family: 'Roboto', sans-serif;
    text-align: center;
}
.range__img{
    margin-bottom: 40px;
    max-width: 100%;
}
.range__title{
    font-weight: 700;
    font-size: 28px;
    line-height: 36px;
    text-transform: capitalize;
    color: #4F4F4F;
    margin-bottom: 50px;
}
.range__input{
    -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
    background: transparent; /* Otherwise white in Chrome */
    background: linear-gradient(90deg, #32B5BD 0%, #FEA805 49.41%, #FF232F 101.36%);
    width: 599px;
    max-width: 100%;
    height: 11px;
    border-radius: 10px;
}
#slider {
    max-width: 600px;
    width:100%;
    margin:0 auto;
    background-image:  linear-gradient(90deg, rgb(50, 181, 189) 0%, rgb(254, 168, 5) 50%, rgb(255, 35, 47) 100%);
}
#slider>span{
    background-color: rgba(50, 181, 189,1);box-shadow: 0px 0px 0px 4px rgba(50, 181, 189,.5)
}

#result  {
    width:100px;
    height:100px;
    margin:100px auto;
    border-radius:50%;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active{
    border-radius: 50%;
    outline: none;
}
.range__text{
    font-size: 22px;
    line-height: 29px;
    text-transform: uppercase;
    color: #4F4F4F;
    margin-top: 34px;
}
.range__btn{
    margin-top: 39px;
    margin-bottom: 117px;
    padding: 18px 107px;
    outline: 0;
    border: none;
    background: #219653;
    border-radius: 15px;
    font-weight: 500;
    font-size: 28px;
    line-height: 36px;
    text-transform: capitalize;
    color: #FFFFFF;
}
.footer{
    font-family: 'Roboto', sans-serif;
    background: #0B2B55;
}
.footer__up{
    display: flex;
    justify-content: space-between;
    padding: 32px 0 30px;
}
.footer__down{
    font-size: 18px;
    line-height: 21px;
    text-align: center;
    color: #F2F2F2;
}
.footer__up_logo-img{
    width: 43px;
    margin-right: 8px;
}
.footer__up_desc img{
    margin-left: 30px;
}
.footer__up_logo-text{
    font-size: 31.4954px;
    line-height: 41px;
    text-transform: uppercase;
    color: #FFFFFF;
}
.footer__down_last{
    margin: 10px 0 16px;
}
input[type="radio"]{
    display: none;
}
@media (min-width: 768px) and (max-width: 1199px){
    .range .range__img{
        max-width: 100%;
        width: auto;
        position: static;
        transform: none;
    }
    .range .range__img-wrap{
        height: auto;
    }
}
@media (max-width: 1199px){
    .header{
        padding: 0;
        background-position: -48px 59px;
    }
    .header__content{
        background: #FFFFFF;
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translate(-50%);
        padding: 15px;
    }
    .header__content__logo-text{
        font-size: 28px;

        line-height: 36px;
    }
    .header__content_logo{
        justify-content: center;
        padding: 0;
        margin: 0;
    }
    .header__content__logo-img{
        width: 62px;
    }
    .media-pad{
        padding: 0 !important;
    }
    .margin-right{
        margin-left: initial;
    }
    .header__title{
        font-size: 28.7292px;
        line-height: 37px;
        text-align: center;
        margin: 364px 0 0 0;
        background: linear-gradient(180deg, transparent, white);
        width: 100vw;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        padding: 98px 14px 43px 14px;
    }
    .content{
        /*padding: 416px 0 0 0;*/
        padding: 0px 0 0 0;
        background-image: none;
        margin-top: 61px;
        background-position: top right;
        background-size: 320px 416px;
    }
    .content__title{
        font-weight: 900;
        font-size: 28px;
        line-height: 36px;
        color: #4F4F4F;
    }
    .block{
        padding: 27px 20px 20px 20px;
        width: 100%;
        margin-bottom: 20px;
    }
    .circle{
        width: 30px;
        height: 30px;
        background: #EAF2FD
    }
    .block__title{
        padding-left: 10px;
        margin-bottom: 30px;
        padding-bottom: 0;
        display: flex;
        align-content: center;
    }
    .block__items_li{
        font-size: 20px;
        line-height: 26px;
    }
    .block__items_li span{
        padding-left: 15px;
    }
    .content__title,
    .content__blocks{
        padding-left: 0;
    }
    .block__items{
        margin: 0;
        padding: 0;
    }
    .range{
        margin-top: 60px;
        overflow-x: hidden;
    }
    .range__img{

        width: 382px;
        position: absolute;
        left: 50%;
        transform: translate(-50%);
        max-width: initial;
    }
    .range__title{
        margin: 50px 0;
        font-size: 28px;
        line-height: 36px;
    }
    .range__img-wrap{
        position: relative;
        height: 191px;
        margin-bottom: 40px;
    }
    .range__btn{
        margin-top: 65px;
        max-width: 100%;
        width: 100%;
        text-align: center;
        padding: 15px;
        margin-bottom: 114px;
    }
    .footer__up{
        flex-wrap: wrap;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .footer__up_logo{
        width: 100%;
        text-align: center;
        padding-bottom: 66px;
    }
    .footer__up_desc{
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .footer__up_desc img{
        margin: 0;
    }
    .footer__up_desc img:first-child{
        margin: 0 calc(50% - 65px) 28px calc(50% - 65px);
    }
    .footer__down{
        font-size: 14px;
        line-height: 16px;
    }
    .footer__down_last{
        margin: 20px 0;
    }
    .block{
        margin-right: 0;
    }
}
