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

* {
    box-sizing: border-box;
}

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

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

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

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

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

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

strong {
    font-weight: 700;
}

.step-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.step-subtitle {
    margin-bottom: 15px;
}

.step-button {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 60px;
    width: 100%;
    padding: 5px;
    background-color: #FFA800;
    border: 2px solid #FFA800;
    border-radius: 10px;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.25;
    color: #fff;
    text-transform: uppercase;
    transition: background-color .2s ease-out;
}

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

.step-button-s {
    background-color: rgba(255, 168, 0, 0);
    color: #FFA800;
}

.step-button-s:hover {
    background-color: rgba(255, 168, 0, 0.12);
}

.step-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 25px -10px 0;
}

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

.content-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 25px;
}

/* Video */

.video-block {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: -2;
}

.video-block .video {
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
    height: 100%;
    border-radius: 20px;
}

/* Pagination */

.pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 27px;
    left: 0;
    right: 0;
    position: absolute;
    z-index: 1;
}

.pagination-item {
    width: 12px;
    height: 12px;
    background-color: #fff;
    opacity: 0.5;
    border-radius: 50%;
    margin: 0 12px;
    transition: opacity .2s ease-out;
}

.pagination-item.active {
    opacity: 1;
}

/* Profile */

.profile-info {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px 0;
    font-size: 19px;
    padding: 5px 25px;
    min-height: 70px;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    position: absolute;
    z-index: 0;
}

.profile-icon {
    margin-right: 15px;
}

.profile-icon img {
    display: block;
}

/* Steps */
.main-block {
    max-height: 900px;
    max-width: 480px;
    width: 100%;
    height: 100%;
    margin: 0 auto 5vh;
}

.steps-list {
    background-color: #222;
    width: 100%;
    height: 100%;
    padding: 20px 40px 50px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 20px;
    z-index: 0;
}

.steps-list::after {
    content: '';
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38.89%, rgba(0, 0, 0, 0.8) 86.31%);
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    border-radius: 20px;
    z-index: -1;
}

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

.step-item {
    opacity: 0;
    display: none;
    width: 100%;
    -webkit-animation: fade-in 0.4s linear .5s forwards;
    animation: fade-in 0.4s linear .5s forwards;
}

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 1;
    }
}

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

@media screen and (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .main-block {
        max-height: 568px;
    }

    .profile-info {
        border-radius: 14px 0;
        padding: 4px 15px;
        min-height: 56px;
    }

    .profile-icon {
        margin-right: 10px;
        width: 40px;
    }

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

    .step-subtitle {
        margin-bottom: 10px;
    }

    .steps-list {
        padding: 15px 20px 32px;
        border-radius: 14px;
    }

    .steps-list::after {
        border-radius: 14px;
    }

    .video-block .video {
        border-radius: 14px;
    }

    .pagination-list {
        bottom: 18px;
    }

    .pagination-item {
        width: 7px;
        height: 7px;
        background-color: #fff;
        opacity: 0.5;
        border-radius: 50%;
        margin: 0 7px 0 8px;
        transition: opacity .2s ease-out;
    }

    .step-subtitle {
        margin-bottom: 18px;
    }

    .step-button {
        min-height: 40px;
        font-size: 14px;
        border-radius: 6px;
    }

    .step-buttons-wrap {
        margin-left: -5px;
        margin-right: -5px;
    }

    .step-buttons-wrap .step-button {
        margin: 0 5px 10px;
        width: calc(50% - 10px);
    }
}