

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600,700|Open+Sans:700&display=swap&subset=cyrillic');

html,
body {
    height: 100%;
}

body {
    font-size: 16px;
    font-family: 'Montserrat', 'Open Sans', 'sans-serif';
}

html {
    box-sizing: border-box;
}

.wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.container {
    width: 1280px;
    margin: 0 auto;
}

*, *:before, *:after {
    box-sizing: inherit;
}

a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
}

button:hover,
button:active,
button:focus,
.btn:hover,
.btn:active,
.btn:focus,
.btn:active:focus {
    outline: none;
}

.header {
    flex: 0 0 auto;
}

.about-page {
    flex: 1 0 auto;
    background: url('bg.jpg') center bottom no-repeat;
    background-size: cover;
}

.quiz {
    flex: 1 0 auto;
    position: relative;
    padding: 120px 0 0;
    background: url('bg.jpg') center bottom no-repeat;
    background-size: cover;
}
.quiz .wrap {
    width: 500px;
    margin: 0 auto;
    position: relative;
}
.footer {
    flex: 0 0 auto;
    width: 100%;
    padding: 0 15px;
    margin-top: -40px;
    position: relative;
    height: 40px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
    background: rgba(38,39,43,0.7);
}
.footer a {
    color: white;
    display: block;
    font-size: 14px;
    line-height: 1;
    margin: 0 22px;
}
.footer a:hover {
    text-decoration: underline;
}

.footer__copyright {
    color: #fff;
}

.header {
    height: 88px;
}

.logo {
    width: 250px;
    margin: 9px 0 0 0;
}

.logo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-page {
    padding-top: 200px;
}

.about-page__item {
    width: 60%;
    float: right;
    color: #fff;
    margin-bottom: 20px;
}

.about-page__item-title {
    font-size: 28px;
}

.privacy-page {
    padding: 50px 0 80px;
    background: #e8eff5;
}

.privacy-page .container {
    padding: 0 10%;
}

.quiz .quizlogo {
    width: 100%;
    height: 110px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px 8px 0 0;
    background: #fff url('tinder-date.png') center no-repeat;
    background-size: 180px;
}
.quiz .start__description {
    padding-bottom: 10px;
}
.quiz .questions {
    display: flex;
    flex-flow: row nowrap;
    overflow: hidden;
    align-items: flex-start;
}
.quiz .body {
    width: 500px;
    min-height: 385px;
    flex: 1 0 100%;
    padding: 30px 40px 0;
    border-radius: 0 0 8px 8px;
    border: 1px solid #dcdcdc;
    background-color: #ffffff;
    color: #333333;
    transition: all .5s;
}
.quiz .body-nopadding {
    padding: 0 40px 0;
}
.quiz h1 {
    margin: 0 0 40px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}
.quiz .answers {
    display: flex;
    padding: 0 0 10px 40px;
    width: 340px;
    margin: 0 auto;
    flex-flow: column nowrap;
}
.quiz label {
    display: flex;
    flex-flow: row nowrap;
    text-align: left;
    font-weight: 400;
    margin-bottom: 25px;
}

.quiz .answers__img {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-bottom: 20px;
}
.quiz .answers__img .img__item{
    display: flex;
    width: 48%;
    margin-bottom: 20px;
    flex-flow: column nowrap;
    border-radius: 8px;
    cursor: pointer;
}
.quiz .answers__img .img__item .button{
    width: 100%;
    border-radius: 0 0 8px 8px;
    font-size: 16px;
    line-height: 35px;
    text-transform: none;
    padding: 0;
    height: 35px;
}
.quiz .answers__img .img__item img{
    width: 100%;
}
.quiz .description {
    margin: 20px auto;
    color: #333333;
    text-align: center;
}
.quiz .description-bold {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
.quiz .description__analyze {
    margin-top: 60px;
    margin-bottom: 60px;
    font-size: 24px;
    font-weight: 600;
}
.quiz .button {
    display: block;
    width: 200px;
    height: 50px;
    margin: 0 auto;
    border-radius: 25px;
    background-color: #aa1f57;
    text-align: center;
    color: #ffffff;
    font-size: 20px;
    line-height: 50px;
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    transition: all 0.3s ease;
}
.quiz .button:hover {
    background: #cc4279;
}
.quiz .loading {
    position: relative;
    width: 418px;
    height: 18px;
    margin: 20px auto;
    border-radius: 9px;
    background-color: #d4d4d4;
    overflow: hidden;
}
.quiz .loading__bar {
    position: absolute;
    width: 0;
    height: 18px;
    background: rgb(114,14,83);
    background: linear-gradient(90deg, rgba(114,14,83,1) 0%, rgba(217,105,81,1) 100%);
    transition: width .2s;
}
.quiz .loading__analyzing {
    margin: 20px 0;
    color: #c71958;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
}
.quiz .review {
    display: none;
    flex-flow: column;
    align-items: center;
}
.quiz .review__logo {
    width: 200px;
    margin: 20px 0;
}
.quiz .rating__votes {
    color: #a28bac;
    font-size: 14px;
    font-weight: 600;
}
.quiz .review__button {
    margin: 20px 0;
    width: 260px;
}
.quiz .rating__score {
    margin-right: 10px;
    font-weight: bold;
    font-size: 20px;
}
.quiz .review__link {
    margin-bottom: 20px;
    color: #0088d9;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.quiz .review__rating {
    display: flex;
    margin: 10px 0;
    flex-flow: row nowrap;
    font-size: 20px;
    color: #ef0752;
}
.quiz .review__description {
    font-size: 12px;
    text-align: center;
}
.quiz .rating__stars {
    width: 100px;
    position: relative;
    display: flex;
    flex-flow: row nowrap;
}
.quiz .stars__filled {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
}
.quiz .quiz__progress {
    position: relative;
    width: 100%;
    height: 5px;
    background: #d4d4d4;
}
.quiz .quiz__progress .progress__filled {
    height: 5px;
    position: absolute;
    background: rgb(114,14,83);
    background: linear-gradient(90deg, rgba(114,14,83,1) 0%, rgba(217,105,81,1) 100%);
}


/*radio button styles*/
.quiz .radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.quiz .radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.quiz .radio .checkmark {
    position: absolute;
    top: -10px;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: #eee;
    border-radius: 50%;
}
.quiz .radio:hover input ~ .checkmark {
    background-color: #ccc;
}

.quiz .radio input:checked ~ .checkmark {
    background-color: #ef0752;
}
.quiz .radio .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.quiz .radio input:checked ~ .checkmark:after {
    display: block;
}
.quiz .radio .checkmark:after {
    top: 8px;
    left: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}
/*end radio button styles*/

@media (max-width: 540px) {
    .quiz {
        padding: 0;
        background: none;
    }
    .quiz::before {
        display: none;
    }
    .quiz .quizlogo {
        border-radius: 0;
    }
    .quiz .questions {
        background: url("mobile-bg.jpg") center top;
    }
    .quiz .answers__img {
        padding: 0;
    }
    .quiz .wrap {
        width: 100%;
    }
    .quiz .body {
        width: 100%;
        padding: 15px 15px 4px;
        border-radius: 0;
        border: none;
        background: transparent;
    }
    .quiz .mobile-title {
        font-size: 16px;
        font-weight: 600;
        background: #fff;
        padding: 10px;
        box-shadow: 0 1px 3px rgba(130,129,125,0.25);
        position: relative;
        margin: 40px 0 25px 10px;
        border-radius: 0 5px 5px 5px;
    }
    .quiz .mobile-title:before {
        content: '';
        display: block;
        width: 44px;
        height: 44px;
        position: absolute;
        left: -20px;
        top: -48px;
        background: url("mobile-ava.png") no-repeat;
    }
    .quiz .mobile-title:after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 0 8px 8px 0;
        border-color: transparent #ffffff transparent transparent;
        position: absolute;
        left: -8px;
        top: 0;
    }
    .quiz .answers {
        width: auto;
        padding: 0;
    }
    .quiz .loading {
        width: 100%;
    }
    .quiz .radio .checkmark {
        background: #fff;
    }
    .quiz .description {
        margin: 10px auto;
    }
    .quiz .review__logo {
        margin: 0 auto 10px;
    }
    .quiz .review__button {
        margin: 10px auto;
    }
    .footer {
        padding: 10px;
        flex-wrap: wrap;
        min-height: 68px;
        height: auto;
        margin-top: 0;
    }
    .footer a {
        font-size: 16px;
        margin: 0 10px;
        line-height: 24px;
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eceeef;
    position: relative;
}

.modal-footer .btn {
    border-radius: 10px;
    background: rgba(252,249,248,0.8);
}

.modal-header .close {
    position: absolute;
    right: 25px;
    top: 25px;
    opacity: 1;
    margin: 0;
}

.modal-title {
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 0;
    line-height: 1.5;
}

.modal {
    font-size: 16px;
}

.modal h5 {
    font-size: 18px;
    font-weight: bold;
}

.modal h6 {
    font-size: 17px;
    font-weight: bold;
}

.modal-content {
    border-radius: 20px;
    background: rgba(255,255,255,0.8);
    border: 5px solid #5eadf5;
    padding: 0 30px;
}

.modal-backdrop.in {
    opacity: 0.7;

    /*-webkit-filter: blur(10px);
    filter:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' ><filter id='blur5'><feGaussianBlur in='SourceGraphic' stdDeviation='5' /></filter></svg>#blur5");
    filter:blur(10px);*/
}




@media all and (max-width: 1280px) {
    .container {
        width: 100%;
    }
}

@media all and (max-width: 992px) {

}

@media all and (min-width: 769px) {
    .desktop-hide {
        display: none;
    }
}

@media all and (max-width: 768px) {
    .logo {
        width: 200px;
        margin:  10px auto 0;
    }

    .about-page {
        padding: 20px 15px;
        background-position: right bottom;
    }

    .about-page__item {
        float: none;
        width: 100%;
    }

    .mobile-hide {
        display: none;
    }
}