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

.wrapper {
    margin: 0 auto;
    background: #303537;
    color: #fff;
    max-width: 480px;
}

.container {
    padding: 0px 10px;
    margin: 0 auto;
}

.main {
    text-align: center;
    min-height: 100vh;
    max-width: 480px;
}

.main__start-quiz,
.prev_btn,
.next_btn,
.final_btn {
    border-radius: 15px;
}

.btn:hover {
    background: #e04d94;
    border: 1px solid #e04d94;
    color: #fff;
}

.prev_btn:hover {
    border: 1px solid #50595C;
    color: #50595C;
}

.main__start-quiz {
    background: #A1386A;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: all .3s ease-out;
    border-radius: 15px;
    width: 100%;
    height: 76px;
    font-size: 18px;
    line-height: 76px;
    letter-spacing: 1px;
    /*animation: myAnim 5s ease-out 0s infinite normal forwards;*/
    box-sizing: border-box;

    box-shadow: 5px 5px 50px 6px #A1386A;
}

@keyframes myAnim {

    0%,
    50%,
    100% {
        background: #ff3a4e;
    }

    25%,
    75% {
        background: #E64555;
    }
}

.btn {
    width: 100%;
    height: 50px;
    background: #A1386A;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    transition: all .3s ease-out;
    border-radius: 15px;
}

.form-again {
    display: block;
}

.prev_btn {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: inherit;
    border: 1px solid #fff;
    color: #fff;
    line-height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all .3s ease-out;
}

.quiz__buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quiz__buttons>* {
    width: calc((100% - 35px) / 2);
    display: flex;
    justify-content: center;
    align-items: center;
}

.answers {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
}

.answers>* {
    /* width: calc((100% - 35px) / 2); */
    width: 100%;
    text-align: left;
}

.answer1 label>input,
.answer2 label>input,
.answer3 label>input {
    visibility: hidden;
    position: absolute
}

.answer1 label div,
.answer2 label div,
.answer3 label div {
    text-align: center;
    padding: 10px 0
}

.answer1 label>input,
.answer2 label>input,
.answer3 label>input {
    cursor: pointer;
    border: 5px solid transparent;
    filter: brightness(100%);
    transition: filter 3s easeIn 1s;
}

.answer1 label>input:hover,
.answer2 label>input:hover,
.answer3 label>input:hover {
    filter: brightness(60%);
}

.answers>input:checked,
.answer2>input:checked,
.answer3>input:checked {
    border: 5px solid #BD0909;
}

.quiz__body h2 {
    font-size: 22px;
    padding-bottom: 10px;
    text-align: center;
}

.quiz__body {
    display: none;
    padding: 30px 15px;

}

.question-1 {
    display: block;
}

.final input {
    width: 100%;
    height: 55px;
    border: 1px solid #50595C;
    margin-bottom: 25px;
    padding: 0px 15px;
    border-radius: 15px;
}

.question-2,
.question-3,
.question-4,
.final {
    display: none;
}

.answers>* {
    border-radius: 5px;
    border: 1px solid #50595C;
    padding: 0.8rem 1rem;
    font-size: 1em;
}

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

    .wrapper {
        max-width: 100vw;
    }

    .main {
        max-width: 100vw;
    }

    .main__start-quiz {
        width: calc(100% - 40px);
    }
}

h1 {
    font-size: 30px;
    padding-top: 30px;
}

span.color {
    color: #F4E4BA;
    font-weight: 600;
}

.bullet {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.bullet>* {
    width: calc((100% - 150px) / 2);
}

footer a {
    color: inherit;
}

.quiz__head .bar__prog {
    width: calc(100% / 3);
    transition: all .5s ease-out;
}

.success-message {
    display: none;
}


.gift {
    display: none;
    justify-content: center;
}

.gift-card {
    width: calc(100% /2);
    height: 70px;
    background: #D1D1D1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-around;
    cursor: not-allowed;
}

.gift>.gift-card {
    width: calc(100% /2);
    height: 70px;
    background: #D1D1D1;
    border-radius: 15px;
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-around;
    cursor: not-allowed;
    animation: myAnimBounce 2.5s ease-out 0s infinite normal forwards;
}

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

    50% {
        transform: scale(1.1);
    }

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

.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;
}

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

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

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

.answ:hover {
    cursor: pointer;
}

.border-light {
    border: 1px solid #A1386A;
    transition: linear 0.3s;
}