
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box
}
:focus{
    outline:0
}
img{
    border:none;
    display:block
}
ol,ul{
    list-style:none
}
iframe{
    border:none !important;
    width:0 !important;
    height:0 !important
}
a{
    text-decoration:none;
    cursor:pointer !important
}
html{
    font-size:62.5%;
    -webkit-text-size-adjust:100%;
    height:100%
}
body{
    font-family: 'Open Sans', sans-serif;
    color:#333;
    line-height:1.3;
    font-size:1.6rem;
    background-size:cover;
    height:100%
}
.wrap{
    position:relative;
    height:100%;
    min-height:400px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    -ms-flex-line-pack:center;
    align-content:center;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center
}
.step-block{
    display:none;
    max-width:600px;
    width:96%;
    margin:0;
    font-size:2.2rem;
    border-radius: 25px;
    background:#fff;
    box-shadow:-20px 20px 18px rgba(0, 0, 0, 0.4);
    border:5px solid #d7deff;
}
.step-item{
    display:none
}
.step-item.visible{
    display:block
}
.slider-block{
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    z-index:-1
}
.slider-item{
    position:absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    opacity:0;
    background-repeat:no-repeat;
    background-position:center top;
    background-size:cover
}
.slider-item.visible{
    opacity:1
}
.slider-item.item1{
    background-image:url(../images/bg_1.jpg)
}
.slider-item.item2{
    background-image:url(../images/bg_2.jpg);
    background-position:left top
}
.popup-block{
    background:#fff;
    box-shadow:-20px 20px 18px rgba(0, 0, 0, 0.4);
    border:5px solid #d7deff;
    max-width:450px;
    width:96%;
    color:#fff;
    overflow:hidden;
    border-radius: 25px;
    padding:2rem
}
.popup-title{
    font-size:2.2rem;
    margin-bottom:1rem;
    color: #000;
}
.accent {
    font-family: 'Permanent Marker', cursive;
    color: #2d3141;
}
.popup-content p{
    font-size:3.2rem;
    text-align:center;
    color: #000;
}
.popup-header{
    font-size:1.8rem;
    padding:1.5rem 1rem;
    border-bottom:1px solid #e5e5e5;
    text-align:center
}
.popup-buttons-block{
    margin-top:2rem;
    text-align:center
}
.popup-btn{
    font-family: 'Permanent Marker', cursive;
    color:#8b64da;
    background-color:#fff;
    text-align:center;
    display:inline-block;
    text-align:center;
    font-size:1.8rem;
    border-radius:10px;
    cursor:pointer;
    height:7rem;
    line-height:7rem;
    width:45%;
    transition:all 0.2s linear
}

.yes {
    color: #d7deff;
    background: #2d3141;
}

.no {
    color: #2d3141;
    background: #d7deff;
}

.yes:hover {
    background: linear-gradient(#757c9a, #2d3141); 
}

.no:hover {
    background: linear-gradient(#d7deff, #8288a3);
}
.loader-overlay{
    display:none;
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    text-align:center;
    font-size:0
}
.loader-overlay:before{
    content:'';
    display:inline-block;
    height:100%;
    vertical-align:middle
}
.loader-block{
    padding:2rem 0;
    background:rgba(255, 255, 255, 0.95);
    display:inline-block;
    vertical-align:middle;
    width:100%
}
.loader-title{
    font-size:2rem;
    margin-bottom:2rem;
    font-weight:bold;
    text-align:center
}
.loader-img{
    max-width:300px;
    margin:0 auto;
    display:block
}
.step-header{
    font-family: 'Permanent Marker', cursive;
    text-align:center;
    background:#d7deff;
    border-radius: 15px 15px 0 0;
    padding:1.5rem 1rem;
    font-size:2.3rem;
    color:#2d3141;
    font-weight:bold
}
.pagination-block{
    text-align:center
}
.pagination-item{
    display:inline-block;
    margin:0 0.5rem;
    font-size:2.2rem;
    height:3.5rem;
    line-height:3.5rem
}
.step-number{
    text-align:center;
    background: #c5cae6;
    border:1px solid transparent;
    border-radius:5px;
    color:#2d3141;
    width:3.5rem
}
.step-number.active{
    background:#2d3141;
    color:#d7deff
}
.step-content{
    padding:2rem
}
.step-content p{
    margin-bottom:1rem;
    text-align: center;
}
.step-content u{
    font-weight:bold
}
.question-notice{
    text-align:center;
    font-size:1.8rem
}
.checkbox-block{
    max-width:460px;
    margin:2rem auto 0
}
.checkbox-item{
    position:relative;
    padding: 0.5rem 0.5rem 0.5rem 4rem;
    margin:0.5rem 0;
    border-radius: 10px;
    text-align:left;
    line-height:2.5rem;
    cursor:pointer;
    transition:all 0.3s linear;
    background: rgba(201, 201, 201, 0.5);
}
.checkbox-item:before{
    content:"";
    position:absolute;
    width:2rem;
    height:2rem;
    background-color:#8288a3;
    border-radius:5px;
    line-height:2rem;
    top:7px;
    left:10px;
    z-index:1;
    color:#fff;
    font-family: 'Permanent Marker', cursive;
    font-weight:bold;
    font-size:1.6rem;
    text-align:center;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center
}
.checkbox-item::after {
    content: '';
    display: none;
    position: absolute;
    top: 13px;
    left: 16px;
    height: 8px;
    width: 8px;
    border-radius: 50%;
    background: #fff;
    z-index: 2;
}
.checkbox-item.checked::after {
    display: block;
}
.buttons-block{
    text-align:center;
    font-size:0;
    padding:0 2rem 2rem
}

.step-btn-end{
    background-color:#8b64da;
    display:inline-block;
    width:50%;
    min-width:50px;
    height:7rem;
    line-height:7rem;
    cursor:pointer;
    transition:all 0.3s linear;
    border-radius:3px;
    font-size:3rem;
    color:#fff
}
.step-btn-end:hover{
    opacity:0.8
}
.step-btn{
    font-family: 'Permanent Marker', cursive;
    background:#2d3141;
    display:inline-block;
    width:50%;
    min-width:50px;
    height:7rem;
    line-height:7rem;
    cursor:pointer;
    transition:all 0.3s linear;
    border-radius:10px;
    font-size:3rem;
    color:#d7deff
}
.step-btn:hover{
    background: linear-gradient(#757c9a, #2d3141);
}
.yes-btn,.no-btn{
    width:40%
}
.no-btn{
    margin-left:10%;
    color:#2d3141;
    background-color:#d7deff;
}
.no-btn:hover {
    background: linear-gradient(#d7deff, #8288a3);
}

.question-title {
    text-align: center;
}
@media (max-width:1366px) and (orientation: landscape){
    .slider-item.item1{
    }
}
@media (max-width:800px){
    html{
        font-size:55%
    }
    .slider-item{
        background-position:0 0
    }
    .step-btn{
        width:100%;
        margin:0.5rem 0;
        border-radius:4px
    }
    .checkbox-item::after {
        top: 11px;
        left: 15px;
        height: 5px;
        width: 5px;
    }
}
@media (max-width:600px),(max-height:600px){
    html{
        font-size:45%
    }
    .checkbox-item::after {
        top: 11px;
        left: 15px;
        height: 5px;
        width: 5px;
    }
}
