@import url("https://fonts.googleapis.com/css2?family=Mulish:wght@400;700&display=swap");

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}
body {
    position: relative;
    min-width: 320px;
    overflow-x: hidden;
    font-family: "Mulish", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    background-color: #7842b4;
    background-image: url(../images/main-bg.jpg);
}
.bg {
    position: fixed;
    z-index: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #7842b4;
    background-image: url(../images/main-bg.jpg);
    transition: 0.4s;
}
.checkmark__circle {
    stroke-dasharray: 166px;
    stroke-dashoffset: 166px;
    stroke-width: 2px;
    stroke-miterlimit: 10;
    stroke: #e77a80;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: block;
    stroke-width: 2px;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0 0 0 #e77a80;
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}
.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48px;
    stroke-dashoffset: 48px;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}
.container {
    width: 100%;
    max-width: 436px;
    margin: 0 auto;
    padding: 0 15px;
}
img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: bottom;
}
.hidden {
    display: none;
}
.btn-wrap {
    text-align: center;
}
.btn {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: #fff;
    padding: 12px 18px;
    border-radius: 20px;
    background-color: #ff4949;
    cursor: pointer;
}
.header {
    position: relative;
    z-index: 1;
    padding: 10px 0;
    text-align: center;
}
.logo {
    max-width: 80px;
    border-radius: 20px;
}
.main {
    position: relative;
    z-index: 1;
}
.step {
    display: none;
}
.step-0 {
    display: block;
}
.main-title {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin: 0 -25px 20px;
}
.step-title {
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
}
.girl-wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.girl {
    width: calc(50% - 3px);
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    height: 280px;
}
.girl-0 {
    width: 65%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 20px;
    cursor: pointer;
}
.photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.girl.check {
    border: 3px solid #7641ae;
}
.name {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 0 10px 15px;
    background: linear-gradient(to bottom, transparent, 40%, rgba(0, 0, 0, 0.6));
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
}
.age {
    font-size: 18px;
}
.girl-0 .name {
    font-size: 26px;
}
.icon {
    position: absolute;
    top: 8px;
    right: 2px;
    width: 26px;
    height: 26px;
    background: url(../fonts/heart.svg) 50% 50% no-repeat/cover;
    transition: 0.4s;
}
.check .icon {
    background: url(../fonts/check.svg) 50% 50% no-repeat/cover;
}
.step-final {
    padding-top: 110px;
}
.spinner-wrap {
    text-align: center;
    margin-bottom: 20px;
}
.spinner {
    display: block;
    width: 44px;
    height: 44px;
    margin: 0 auto;
    background: url(../fonts/spinner.svg) 50% 50% no-repeat;
    animation: spinner infinite linear 2s;
}
.final-title {
    text-align: center;
    font-size: 24px;
}
.final-list {
    list-style: none;
    padding: 25px 0;
}
.final-list .item {
    display: none;
    position: relative;
    padding-left: 40px;
    margin: 0 0 15px;
    font-size: 20px;
}
.final-list .item:before {
    content: "";
    background: url(../fonts/check.svg) no-repeat;
    display: block;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 0;
    top: 3px;
}
@keyframes spinner {
    100% {
        transform: rotate(360deg);
    }
}
