@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap);

/*
    font-family: 'Montserrat', sans-serif;
*/

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    height: 100%;
}

body {
    background-color: #fff;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    line-height: 1.467;
    height: 100%;
}

strong {
    font-weight: 700;
}

.step-button {
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 36px;
    width: 100%;
    padding: 10px 20px;
    background-color: #000;
    border: none;
    border-radius: 18px;
    font-size: 20px;
    line-height: normal;
    color: #fff;
}

.step-button-s {
    background-color: #fff;
    color: #000;
}

.step-button img {
    margin-right: 10px;
}

.step-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-top: 10px;
    margin: 0 auto;
    max-width: 292px;
}

.step-buttons-wrap .step-button {
    word-break: break-word;
    margin: 0 auto;
    width: calc(50% - 6px);
}

.step-buttons-wrap .step-button-wide {
    width: 100%;
}

.layout {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
}

/* Bg */

.bg {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

.bg-stage {
    -webkit-animation: bg 60s linear infinite;
    animation: bg 60s linear infinite;
    width: 100%;
}

.bg-stage img {
    display: block;
    width: 100%;
}

@-webkit-keyframes bg {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes bg {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 575px) {
    .bg-stage.lg {
        display: none;
    }
}

@media (min-width: 576px) {
    .bg-stage.sm {
        display: none;
    }
}

/* Steps */

.main-block {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    flex: 1 0 auto !important;
    max-height: 900px !important;
    max-width: 480px !important;
    width: 100% !important;
    margin: 0 auto !important;
}
  
.steps-wrap {
    width: 100% !important;
    position: relative !important;
    z-index: 0 !important;
}
  
.steps {
    display: flex !important;
    flex-direction: row !important; 
}
  
.steps-slide {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
}

.final-step {
    height: 300px !important;
}
  
.step {
    -webkit-animation: fade-in 0.4s linear .5s both !important;
    animation: fade-in 0.4s linear .5s both !important;
    background-color: #F7E0E3 !important;
    border-radius: 20px !important;
    text-align: center !important;
    padding: 30px 20px !important;
    width: 100% !important;
    justify-content: center!important;
    align-items: center!important;
}
  

@-webkit-keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.step-title {
    font-weight: 400;
    font-size: 26px;
    margin-bottom: 10px;
}

.step p {
    margin-bottom: 10px;
    font-size: 20px;
}

.step .field-wrap .field input {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #000000;
    border: 2px solid rgba(0, 0, 0, 0.4);
    border-radius: 0;
    padding: 12px 20px;
    margin-bottom: 8px;
    background-color: transparent;
    width: 100%;
    text-align: center;
}

.step .field-wrap .field label {
	font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.step .field-wrap .field  select {
	font-size: 18px;
    font-weight: 300;
    line-height: 1;
	margin-right: 10px;
}

.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader-overlay.active {
    display: flex;
}

.loader-content {
    text-align: center;
}

.loader-content img {
    width: 200px;
}

.loader-content p {
    color: white;
    margin-top: 10px;
}

.t-center {
    text-align: center;
}

.loader {
    margin: 0 auto 22px;
    width: 73px;
}

.loader img {
    -webkit-animation: rotating 1.2s steps(12) infinite both;
    animation: rotating 1.2s steps(12) infinite both;
    display: block;
}

@-webkit-keyframes rotating {
    0% {
        transform: rotate(-360deg);
    }

    100% {
        transform: rotate(0);
    }
}

@keyframes rotating {
    0% {
        transform: rotate(-360deg);
    }

    100% {
        transform: rotate(0);
    }
}

.step__quiz-list {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(150px, 1fr));
    grid-template-rows: repeat(2, minmax(50px, 70px));
    column-gap: 10px;
    row-gap: 15px;
}
  
.step__quiz-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6px 10px;
    color: #000;
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    border-radius: 16px;
    border: 2px solid #000;
    background: #F7E0E3;
    cursor: pointer;
    transition: all .2s ease-in-out;
}
  
.step__quiz-text {
    margin-bottom: 0!important;
}
  