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

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

* {
    box-sizing: border-box;
}

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

body {
    background-color: #000;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.389;
    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: 49px;
    width: 100%;
    padding: 5px 10px;
    background: linear-gradient(to right, #FD326C, #FF5B3C);
    border: none;
    border-radius: 24px;
    font-size: 14px;
    line-height: normal;
    color: #fff;
    font-weight: 600;
}

.step-button:hover {
    background: linear-gradient(to right, #fd195a, #ff4622);
}

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

.step-button-s:hover {
    background: #f7f7f7;
}

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

.step-button.disabled {
    opacity: 0.5;
    pointer-events: none;
}

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

/* Video */

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

.video-block::after {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.video-bg,
.video-item {
    display: block;
    margin: 0 auto;
    -o-object-fit: cover;
    object-fit: cover;
    top: 0;
    left: 0;
    right: 0;
    position: absolute;
    height: 100vh;
    height: 100dvh;
    width: 100%;
}

.video-bg {
    -webkit-filter: blur(15px);
    filter: blur(15px);
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    z-index: -1;
}

.video-item {
    margin: 0 auto;
    max-width: 1920px;
    z-index: 0;
}

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

/* Header */

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 40px;
    height: 60px;
    position: relative;
    z-index: 1;
}

.header::before {
    display: block;
    content: '';
    background: linear-gradient(to bottom, #000, rgba(0, 0, 0, 0));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 81px;
    z-index: -1;
}

.header .logo {
    display: block;
}

/* Steps */

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

.steps-wrap {
    width: 100%;
    padding: 30px 15px 80px;
    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(17, 20, 24, 0.75);
    border-radius: 10px;
    display: none;
    text-align: center;
    padding: 23px 23px 28px;
    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;
    text-transform: uppercase;
    margin-bottom: 12px;
}

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

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

.loader img {
    -webkit-animation: rotating 1s linear infinite both;
    animation: rotating 1s linear infinite both;
    display: block;
}

.tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tile {
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    width: calc(50% - 5px);
    position: relative;
    z-index: 0;
}

.tile::after {
    box-shadow: inset 0 0 0 3px #f84856;
    display: none;
    content: '';
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
}

.tile.selected::after {
    display: block;
}

.tile img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 100%;
}

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

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

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

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

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