@import "https://fonts.googleapis.com/css?family=Montserrat";
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:focus {
    outline: 0
}

img {
    border: none;
    display: block;
    max-width: 100%
}

ol,
ul {
    list-style: none
}

iframe {
    position: absolute;
    z-index: -1;
    border: none !important;
    width: 0 !important;
    height: 0 !important
}

a {
    text-decoration: none;
    cursor: pointer !important
}

.hidden {
    opacity: 0 !important
}

html {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    position: relative
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #262728;
    color: #fff;
    line-height: 1.1;
    font-size: 2.8rem;
    min-width: 320px;
    font-weight: 300
}

.slider-block {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1
}

.slider-inner {
    width: 200%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1
}

.slider-item {
    background: rgba(1, 212, 183, .5);
    position: absolute;
    animation-name: moveCircle
}

.slider-item.active {
    opacity: 1
}

.slider-item.item-1 {
    width: 19.2rem;
    height: 19.2rem;
    border-radius: 19.2rem;
    left: 30%;
    top: 20%;
    animation-duration: 0.8s
}

.slider-item.item-2 {
    width: 9.6rem;
    height: 9.6rem;
    border-radius: 9.6rem;
    left: 90%;
    top: 95%;
    animation-duration: 0.5s
}

.slider-item.item-3 {
    width: 40rem;
    height: 40rem;
    border-radius: 40rem;
    left: 30%;
    top: 65%;
    animation-duration: 1s
}

.slider-item.item-4 {
    width: 17.6rem;
    height: 17.6rem;
    border-radius: 17.6rem;
    left: 85%;
    top: 30%;
    animation-duration: 0.9s
}

.slider-item.item-5 {
    width: 8rem;
    height: 8rem;
    border-radius: 8rem;
    left: 2%;
    top: 2%;
    animation-duration: 0.3s
}

.slider-item.item-6 {
    width: 16rem;
    height: 16rem;
    border-radius: 16rem;
    left: 2%;
    top: 55%;
    animation-duration: 0.8s
}

.slider-item.item-7 {
    width: 8rem;
    height: 8rem;
    border-radius: 8rem;
    left: 30%;
    top: 35%;
    animation-duration: 0.5s
}

.slider-item.item-8 {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 3.2rem;
    left: 55%;
    top: 5%;
    animation-duration: 0.2s
}

.slider-item.item-9 {
    width: 12.8rem;
    height: 12.8rem;
    border-radius: 12.8rem;
    left: 55%;
    top: 5%;
    animation-duration: 0.8s
}

.back {
    position: absolute;
    left: 20px;
    top: 20px;
	z-index: 15;
    background-color: #f7ff78;;
    color: #000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 26px;
    padding: 0 15px 5px 15px;
    text-decoration: none;
    transition: all 0.3s ease-in-out 0s;
}
.back:hover {
    background-color: #a6ae36;
}

.bg-block,
.bg-block::after {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 0
}

.bg-block::after {
    content: "";
    display: block;
    background: rgba(51, 51, 51, 0.65)
}

.bg-item {
    background: url(../img/bg1.jpg) 50% 0 no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0
}

.wrapper {
    position: relative;
    z-index: 1;
    height: 100vh;
    min-height: 420px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    overflow-x: hidden
}

.step-block {
    width: 100vw
}

.step-container {
    position: relative;
    display: flex;
    flex-flow: row nowrap;
    transition: all 0.3s linear
}

.step-item {
    text-align: left;
    position: relative;
    flex: 1;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: center
}

.step-inner {
    margin: 0 auto;
    max-width: 640px;
    padding: 4rem 3rem
}

.highlight {
    color: #fb757b
}

.step-header {
    font-weight: 800;
    font-size: 6.4rem;
    display: inline-block;
    position: relative
}

.step-content {
    margin: 3rem 0
}

.step-content p {
    margin-bottom: 1rem
}

.step-info {
    font-size: 2.2rem
}

.question-title {
    font-size: 2.6rem;
    font-weight: 700
}

.buttons-block {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0;
    margin-top: 5rem
}

.step-btn {
    width: 80%;
    max-width: 48rem;
    padding: 3.4rem 2rem;
    margin: 0 1rem;
    position: relative;
    font-size: 2.6rem;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: .1rem;
    border-radius: 5rem;
    cursor: pointer;
    color: #000;
    background: #f7ff78;
    background-image: linear-gradient(#dcd73e, #f7ff78);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3)
}

.step-btn:hover {
    opacity: 0.8
}

.no-btn {
    color: #fff;
    background: rgba(51, 51, 51, .6);
    box-shadow: none
}

@keyframes moveCircle {
    0% {
        opacity: 0;
        transform: translate3d(0, 17.2rem, 0);
    }
    to {
        opacity: 1;
        transform: translateZ(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 10rem, 0);
    }
    to {
        opacity: 1;
        transform: translateZ(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s forwards
}

.fadeInLeft {
    animation: fadeInLeft .4s forwards
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-10rem, 0, 0);
    }
    to {
        opacity: 1;
        transform: translateZ(0);
    }
}

@media (max-width:1200px) {
    html {
        font-size: 50%
    }
}

@media (min-width: 1024px) {
    .slider-item.item-2 {
        left: 60%;
        top: 45%
    }
    .slider-item.item-3 {
        left: 35%;
        top: 65%
    }
    .slider-item.item-5 {
        display: none
    }
}

@media (max-width:960px) {
    html {
        font-size: 45%
    }
}

@media (max-width:600px),
(max-height:800px) {
    html {
        font-size: 40%
    }
    body {
        font-size: 3.3rem
    }
    .bg-item {
        background-position: 50% 50%
    }
    .wrapper {
        align-items: flex-end
    }
    .step-btn {
        width: 90%;
        display: block;
        max-width: none
    }
    .step-header {
        font-size: 5rem
    }
}