@font-face {
	font-family: "Montserrat";
	src:url("montserrat_reg.ttf") format("woff");
}

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

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

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    background-color: #24152A;
    height: 100%;
}

.btn {
    font-family: "Montserrat", sans-serif;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 50px;
    width: calc(50% - 5px);
    padding: 5px 10px;
    background-color: #EEE299;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    outline: 0;
    position: relative;
    z-index: 0;
    transition: background-color 0.25s;
}

.btn:hover {
    background-color: #e7d66d;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main {
    background: url(../images/bg.jpg) no-repeat center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;
}

.top-bar {
    position: absolute;
    left: 0;
    right: 0;
    max-width: 450px;
    margin: 0 auto;
    padding: 25px 50px;
}

.progress {
    height: 4px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.progress-status {
    background-color: #EEE299;
    border-radius: 4px;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0%;
    transition: width 1s 0.25s ease-out;
}

.forward {
    cursor: default;
    position: absolute;
    top: 19px;
    right: 3px;
    height: 17px;
    width: 24px;
    text-indent: -1000px;
    overflow: hidden;
}

.forward::before {
    display: block;
    content: '';
    border-top: 2px solid rgba(255, 255, 255, 0.75);
    height: 2px;
    top: 7px;
    left: 0;
    right: 2px;
    position: absolute;
}

.forward::after {
    display: block;
    content: '';
    border: solid rgba(255, 255, 255, 0.75);
    border-width: 2px 2px 0 0;
    height: 10px;
    width: 10px;
    transform: rotateZ(45deg);
    top: 2px;
    left: 10px;
    position: absolute;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 36px;
    position: relative;
    font-size: 18px;
    line-height: 1;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    text-align: center;
}

.pagination .item {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.25s;
}

.pagination .item.active {
    color: #EEE299;
}

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

.step {
    position: relative;
    z-index: 9;
    display: none;
    width: 100%;
    -webkit-animation: fade-in 0.4s linear both;
    animation: fade-in 0.4s linear both;
    text-align: center;
    padding: 60px 20px 30px;
    max-width: 480px;
    margin: 0 auto;
}

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

.title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 5px;
}

.step p {
    letter-spacing: 0.025em;
    margin: 15px 0 15px;
}

.picture {
    border: 3px solid #645B68;
    margin: 0 auto 20px;
    max-height: 300px;
    max-width: 300px;
    border-radius: 47%;
    overflow: hidden;
}

.picture img {
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.step-fin .title {
    margin-bottom: 10px;
}

.step ul {
    list-style-type: disc;
    text-align: left;
    padding-left: 20px;
    max-width: 400px;
    margin: 0 auto;
}

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

@media (max-width: 1599px) {
    body {
        font-size: 18px;
    }

    .btn {
        font-size: 18px;
        max-width: 276px;
        min-height: 50px;
    }

    .buttons {
        margin-top: 20px;
    }

    .title {
        font-size: 40px;
    }

    .top-bar {
        max-width: 380px;
    }

    .pagination {
        font-size: 16px;
    }

    .step {
        max-width: 380px;
    }
}

@media (max-width: 575px) {
    .main {
        background-image: url(../images/bg-mob.jpg);
        background-size: cover;
    }

    .progress {
        max-width: 160px;
    }

    .forward {
        right: 30px;
    }
}

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 1;
    }
}