@import url(https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap); /* font-family: 'Roboto', sans-serif; */ * { box-sizing: border-box; } html { min-height: 100%; height: 100%; } body { background-color: #fff; color: #000; font-family: 'Roboto', sans-serif; font-size: 16px; font-weight: 300; line-height: 1.375; height: 100%; } strong { font-weight: 700; } .step-button { font-family: 'Roboto', sans-serif; display: flex; justify-content: center; align-items: center; text-align: center; min-height: 40px; width: 100%; padding: 5px 10px; background-color: #C01B50; border: none; border-radius: 20px; font-size: 16px; line-height: normal; color: #fff; transition: background-color 0.2s; } .step-button:hover { background-color: #93153d; } .step-button-s { background-color: #E8E8E8; } .step-button-s:hover { background-color: #dbdbdb; } .step-buttons-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 10px; margin: 0 auto; max-width: 252px; } .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; flex-direction: column; justify-content: center; flex: 1 0 auto; max-height: 900px; max-width: 500px; width: 100%; margin: 0 auto; } .steps-wrap { width: 100%; padding: 30px 20px; 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: center; flex: 1 0 auto; } .step { -webkit-animation: fade-in 0.4s linear .5s both; animation: fade-in 0.4s linear .5s both; background-color: #fff; border-radius: 30px; display: none; text-align: center; padding: 30px 20px; 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: 10px; } .step p { margin-bottom: 10px; } .loader { margin: 0 auto 22px; width: 73px; } .loader img { -webkit-animation: rotating linear infinite both; animation: rotating 1.2s linear 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); } } /* Pagination */ .pagination { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 50px 15px 20px; } .pagination .item { background-color: #fff; width: 12px; height: 12px; border-radius: 50%; position: relative; } .pagination .item.active::after { -webkit-animation: scale-in-center 0.4s ease-in-out both; animation: scale-in-center 0.4s ease-in-out both; background-color: #C01B50; border-radius: 50%; display: block; content: ''; top: -3px; left: -3px; right: -3px; bottom: -3px; position: absolute; } @-webkit-keyframes scale-in-center { 0% { transform: scale(0); opacity: 1; } 90% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } } @keyframes scale-in-center { 0% { transform: scale(0); opacity: 1; } 90% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }