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

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

* {
    box-sizing: border-box;
}

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

body {
    background-color: #fff;
    color: #141414;
    font-family: 'Mulish', sans-serif;
    font-size: 15px;
    line-height: 1.333;
    height: 100%;
}

strong {
    font-weight: 700;
}

.step-button {
    font-family: 'Mulish', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 43px;
    width: 100%;
    padding: 5px 10px;
    background-color: #FFC629;
    border: 2px solid #FFC629;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    line-height: normal;
    color: #141414;
    transition: background-color .2s ease-out, border-color .2s ease-out;
}

.step-button:hover {
    background-color: #f5b400;
    border-color: #f5b400;
}

.step-button-s {
    background-color: rgba(204, 204, 204, 0);
    border-color: #141414;
}

.step-button-s:hover {
    background-color: rgba(204, 204, 204, 0.5);
    border-color: #141414;
}

.step-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-top: 10px;
}

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

/* Video */

.video-block {
    background-color: #000;
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden
}

.video-bg,
.video-item {
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    z-index: -1;
}

.video-bg {
    -webkit-filter: blur(15px);
    filter: blur(15px);
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    height: calc(100vh + 30px);
    height: calc(100dvh + 30px);
    width: calc(100% + 30px);
}

.video-item {
    margin: 0 auto;
    max-width: 520px;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    z-index: 0;
}

.video-block::before {
    background-color: rgba(0, 0, 0, 0.1);
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

@media(max-width: 520px) {
    .video-bg {
        display: none;
    }
}

/* Steps */

.main-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;
    max-height: 900px;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
}

.steps-wrap {
    width: 100%;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 auto;
    position: relative;
    z-index: 0;
}

.steps {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex: 1 0 auto;
}

.step {
    -webkit-animation: fade-in 0.4s linear .5s both;
    animation: fade-in 0.4s linear .5s both;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    text-align: center;
    padding: 30px 15px;
    width: 100%;
}

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 1;
    }
}

.step.active {
    display: block;
}

.step-title {
    font-weight: 700;
    margin-bottom: 12px;
}

.step p {
    margin-bottom: 12px;
}

.loader {
    -webkit-animation: rotating 1.2s ease-in-out infinite both;
    animation: rotating 1.2s ease-in-out infinite both;
    background-color: #FFC629;
    border-radius: 4px;
    height: 8px;
    margin: 18px auto 40px;
    width: 70px;
    position: relative;
}

.loader::before,
.loader::after {
    background-color: #FFC629;
    border-radius: 4px;
    display: block;
    content: '';
    height: 8px;
    margin: 0 auto;
    width: 30px;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
}

.loader::before {
    top: -18px;
}

@-webkit-keyframes rotating {
    0% {
        transform: rotateY(0);
    }

    50% {
        transform: rotateY(135deg);
    }

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

@keyframes rotating {
    0% {
        transform: rotateY(0);
    }

    50% {
        transform: rotateY(135deg);
    }

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

/* Pagination */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 50px 15px 20px;
}

.pagination .item {
    width: 20px;
    height: 20px;
    border: 2px solid #141414;
    border-radius: 50%;
    transition: background-color .2s ease-out;
}

.pagination .item.active {
    background-color: #FFC629;
}

@media (min-width: 768px) {
    .steps {
        justify-content: center;
    }
}