/* SERVICE */

html,
body {
    height: 100%;
}

body {
    margin: 0 auto;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    max-width: 480px;
    color: #000;
}

.wrapper {
    margin: 0 auto;
    background: #000;
    color: #fff;
    max-width: 480px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.main {
    text-align: center;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

/* END SERVICE */

/* START BLOCK */

.start__block {
    position: relative;
    animation: 0.3s ease-in-out 0s alternate op;
}

.start__container {

}

.start__body {
    padding: 1.5rem 2rem;
}

.start__body .title {
    font-size: 26px;
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #fff;
    margin-bottom: 35px;
}

.start__body .text {
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    color: #777b95;
    margin-bottom: 1rem;
    text-align: left;
}

.start__body button {
    margin-top: 35px;
    white-space: normal;
    min-height: 55px;
    border-radius: 40px;
    font-size: 18px !important;
    padding: 12px 30px;
    height: auto;
    border: none;
    line-height: 1.3rem;
    -webkit-tap-highlight-color: transparent;
    background-color: #3d3bee;
    color: #fff;
    text-transform: uppercase;
}

/* END START BLOCK */

/* QUIZ BLOCK */

.quiz__block {
    display: none;
    position: relative;
}

.quiz__container {
    height: 100%;
}

.quiz__body {
    padding: 0 1rem;
    padding-top: 35px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quiz__body>* {
    animation: 0.3s ease-in-out 0s alternate op;
}

.quiz__body>*:not(:first-child) {
    display: none;
}

.quiz__body .title {
    text-align: left;
    font-size: 26px;
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #fff;
    margin-bottom: 1rem;
}

.quiz__body .custom-radio {
    width: 100%;
    display: block;
}

.quiz__body .custom-radio input[type=radio] {
    display: none;
}

.quiz__body .custom-radio label {
    text-align: left;
    width: 100%;
    display: inline-block;
    cursor: pointer;
    padding: 5px 20px;
    line-height: 34px;
    background: inherit;
    border: 1px solid #fff;
    font-weight: 400;
    border-radius: 15px;
    font-size: 18px;
    user-select: none;
}

.quiz__body .custom-radio input[type=radio]:checked+label {
    border: 1px solid #3e3cde;
}

.quiz__body .custom-radio label:hover {
    background: #2927bd;
    transition: 0.3s ease-out;
}

.quiz__body .answers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
    flex: 1 1 auto;
}

.quiz__body .nav-buttons {
    width: 100%;
    text-align: right;
    padding: 25px 1rem;
    transition: 0.3s ease-in-out;
}

.quiz__body .next {
    background: #3d3bee;
    border-radius: 40px;
    padding: 12px 30px;
    line-height: 1.3rem;
}

.quiz__body .prev {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    padding: 12px;
    margin-right: 25px;
    border-radius: 50%;
    border: 1px solid #fff;
    background: #000;
    height: 100%;
}

/* QUIZ BLOCK */

/* FINISH BLOCK */

.finish__block {
    display: none;
    position: relative;
    animation: 0.3s ease-in-out 0s alternate op;
}

.finish__container {

}

.finish__body {
    padding: 0 1rem;
    padding-top: 35px;
}

.finish__body .title {
    font-size: 26px;
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.2;
    letter-spacing: normal;
    color: #fff;
    margin-bottom: 1rem;
}

.finish__body .text {
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
    line-height: 1.33;
    letter-spacing: normal;
    color: #777b95;
    margin-bottom: 1rem;
}

.finish__body .form__body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.finish__body .group {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.finish__body .group-check {
    font-size: 14px;
}

.finish__body .form-checkbox {
    display: inline-block;
    margin-right: 5px;
}

.finish__body .form-control {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    padding-left: 3.4rem;
    height: 55px;
    border-radius: 5px;
    border: 1px solid #fff;
    width: 100%
}

.finish__body button {
    white-space: normal;
    min-height: 55px;
    border-radius: 40px;
    font-size: 18px !important;
    padding: 12px 30px;
    height: auto;
    border: none;
    line-height: 1.3rem;
    -webkit-tap-highlight-color: transparent;
    background-color: #3d3bee;
    color: #fff;
    text-transform: uppercase;
}

/* END FINISH BLOCK */

/* ANIM BUTTON */

.shine-btn {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}

.shine-btn:after {
    content: "";
    display: block;
    width: 30px;
    height: 300px;
    margin-left: 60px;
    background: #fff;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.7) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.7) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0.7) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3ffffff', endColorstr='#b3ffffff', GradientType=0);
    position: absolute;
    left: -40px;
    top: -150px;
    z-index: 1;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
    -webkit-animation-name: slideme;
    animation-name: slideme;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.bounce-btn {
    animation: myAnimBounce 3.5s ease-in-out 0s infinite normal forwards;
}

/* END ANIM BUTTON */

/* KEYFRAMES */

@keyframes op {
    0% { opacity:0; }
    100% { opacity:1; }
}

@-webkit-keyframes slideme {
    0% {
        left: -30px;
        margin-left: 0px;
    }

    30% {
        left: 110%;
        margin-left: 80px;
    }

    100% {
        left: 110%;
        margin-left: 80px;
    }
}

@keyframes myAnimBounce {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }

    100% {
        transform: scale(1);
    }
}

/*  END KEYFRAMES */

/* MOBILE */

@media (min-width:320px) and (max-width:479px) {
    body {
        max-width: 100vw;
    }

    .wrapper {
        max-width: 100vw;
    }

    .main {
        max-width: 100vw;
    }
}

/* END MOBILE */