@import url(https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap);

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    margin: 0 0 5px;
}

img {
    display: block;
    border: none;
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    line-height: 1.5;
    height: 100%;
}

.btn {
    font-family: 'Inter', sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 80px;
    min-width: 194px;
    max-width: 100%;
    padding: 5px 30px;
    background: url(../images/btn-bg.jpg) no-repeat center;
    background-size: 100% 100%;
    border: none;
    border-radius: 40px;
    color: #010101;
    font-weight: 700;
    font-size: 24px;
    line-height: normal;
    text-transform: uppercase;
}

.btn-sec {
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #BDC4FF;
}

.btn:hover {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
}

.step-title {
    color: #BDC4FF;
    font-size: 56px;
    font-weight: 800;
    line-height: 1.3;
    margin: 5px auto 5px;
    text-transform: uppercase;
}

.btns-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 0;
    max-width: 336px;
}

.layout {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.picture-block {
    border-radius: 8px;
    flex: 1 1 100%;
    height: 50vh;
    max-height: 45%;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 20px 20px 0;
    display: none;
}

.picture-block::before {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    z-index: -1;
    content: url(../images/slide-1.jpg) url(../images/slide-2.jpg) url(../images/slide-3.jpg);
}

.picture-block .picture {
    -webkit-animation: fade-in 0.4s ease-in-out both;
    animation: fade-in 0.4s ease-in-out both;
    background: no-repeat top center;
    background-size: cover;
    border-radius: 8px;
    display: none;
    height: 100%;
    width: 100%;
}

.picture-block .picture.active {
    display: block;
}

.picture-block .picture-1 {
    background-image: url(../images/slide-1.jpg);
}

.picture-block .picture-2 {
    background-image: url(../images/slide-2.jpg);
}

.picture-block .picture-3 {
    background-image: url(../images/slide-3.jpg);
}

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

.bg::after {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.85) 62%);
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

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

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

.main-block {
    max-width: 470px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.steps-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;
    width: 100%;
}

.steps-wrap {
    flex: 1 0 auto;
    padding: 5vh 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100vh;
    height: 100dvh;
}

.steps {
    text-align: center;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 700px;
}

.steps.bg-quiz {
    background: rgba(255, 255, 255, 0.18);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 8px 32px rgba(0, 0, 0, 0.15);
}

.steps.bg-quiz .steps-content {
    justify-content: flex-end;
}

.steps.bg-quiz .picture-block {
    display: block;
}

.step-item {
    position: relative;
    z-index: 9;
    display: none;
    width: 100%;
}

.step-item.active {
    display: block;
}

.step-item.quiz {
    flex: 1 0 auto;
    text-align: left;
    padding: 18px 20px 98px;
}

.step-item.quiz .step-title {
    font-size: 40px;
}

.quiz-btns-wrap {
    background-color: rgba(0, 0, 0, 0.13);
    border-radius: 0 0 16px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 98px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 20px;
    z-index: 1;
}

.quiz-button {
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
    border: none;
    border-radius: 30px;
    height: 60px;
    width: 132px;
    max-width: 100%;
    position: relative;
    font-size: 18px;
    color: #BDC4FF;
    text-align: center;
    text-transform: uppercase;
    padding: 5px 10px 5px 50px;
}

.quiz-button:hover {
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
}

.quiz-button img {
    position: absolute;
    left: 13px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

@media (max-width: 1023px),
(max-width: 1599px) and (max-height: 800px) {
    body {
        font-size: 17px;
    }

    .btn {
        font-size: 18px;
        height: 56px;
        min-width: 130px;
    }

    .step-title {
        font-size: 40px;
    }

    .step-item.quiz .step-title {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .quiz-btns-wrap {
        gap: 20px;
        height: 84px;
    }

    .quiz-button {
        height: 52px;
        min-width: 112px;
        padding-left: 40px;
    }

    .quiz-button img {
        left: 10px;
        width: 30px;
    }
}

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

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 1;
    }
}