body {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}

.top-logo {
    position: absolute;
    padding: 10px;
}

.step {
    display: none;
}

.step.active {
    display: block;
}

h2 {
    font-size: 30px;
    font-weight: 400;
    line-height: 35px;
}

h4 {
    font-weight: 400;
    margin: 6px 0 15px;
    color: #4d002e;
}

#step-1 {
    background: url(../img/blog-img-20.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100vh;
}

.overlay-color {
    background: rgba(0, 0, 0, .5);
    padding: 0 10%;
    height: 100vh;
}

.content-step-1 {
    display: flex;
    justify-content: flex-end;
    padding-top: 15em;
}

.heading-step-1 {
    display: flex;
    align-items: center;
    width: 50%;
    padding: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px 0px 0px 15px;
}

.main-step-1 {
    width: 30%;
    padding: 20px;
    background-color: #4d002e;
    border-radius: 0px 15px 15px 0px;
    color: #fff;
}

.main-step-1 h4 {
    color: #fff;
}

form {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.button-next {
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.button-next img {
    width: 100px;
}

.button-next input {
    padding: 10px 20px;
    font-size: 15px;
}

.bottom-text {
    font-size: 12px;
    text-align: end;
    padding-top: 20px;
}

@media (max-width: 320px) {
    #step-1 {
        height: 100%;
    }

    .top-logo {
        display: none;
    }

    .overlay-color {
        height: 100%;
    }
}

@media (min-width: 320px) and (max-width: 380px) {
    #step-1 {
        background-position: left center;
        height: 100%;
    }

    .top-logo {
        display: none;
    }

    .content-step-1 {
        background: none;
        flex-direction: column;
        align-items: center;
        padding-top: 10vh;
    }

    .heading-step-1 {
        width: 100%;
        padding: 20px;
        border-radius: 15px 15px 0px 0px;
    }

    .heading-step-1 h2 {
        font-size: 24px;
        line-height: 25px;
    }

    .main-step-1 {
        width: 100%;
        padding: 20px;
        border-radius: 0px 0px 15px 15px;
    }
}

@media (min-width: 380px) and (max-width: 600px) {
    #step-1 {
        background-position: left center;
    }

    .top-logo {
        display: none;
    }

    .content-step-1 {
        background: none;
        flex-direction: column;
        align-items: center;
        padding-top: 20vh;
    }

    .heading-step-1 {
        width: 100%;
        padding: 20px;
        border-radius: 15px 15px 0px 0px;
    }

    .main-step-1 {
        width: 100%;
        padding: 20px;
        border-radius: 0px 0px 15px 15px;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    #step-1 {
        background-position: left center;
    }

    .content-step-1 {
        background: none;
    }

    .main-step-1,
    .heading-step-1 {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #step-1 {
        background-position: left center;
    }

    .content-step-1 {
        background: none;
    }

    .main-step-1,
    .heading-step-1 {
        width: 100%;
    }
}

h1 {
    margin: 6px 0 15px;
    font-weight: 400;
    color: #4d002e;
}

h1>span {
    color: #fff;
    background-color: #4d002e;
    padding: 0px 5px;
}

h2 {
    margin: 10px 0 0;
    font-weight: 400;
}

h4 {
    font-size: 21px;
    color: #fff;
}

h5 {
    font-size: 15px;
    font-weight: 400;
    margin: 0 0px 6px;
    color: #fff;
}

a {
    color: #B7FF6E;
    text-decoration: none;
}

p {
    margin: 5px 0;
}

ul {
    margin: 15px 0;
    list-style-image: url(../img/check-circle.png);
    list-style-position: outside;
    padding-left: 20px;
}

em {
    font-size: 12px;
}

#step-2 {
    background: #fcf5f5 url(../img/wello-bg.png);
    background-position: right bottom;
    background-repeat: no-repeat;
    padding: 0 10%;
    min-height: 100vh;
}

.container-flex {
    padding-top: 5%;
    padding-bottom: 5%;
}

.content-step-2 {
    display: flex;
    box-shadow: 0px 0px 15px 0px #ddd;
    border-radius: 15px;
}

.heading-step-2 {
    display: flex;
    flex-direction: column;
    width: 60%;
    padding: 40px;
    background: rgba(255, 255, 255);
    border-radius: 15px 0px 0px 15px;
}

.main-step-2 {
    width: 40%;
    padding: 40px 20px;
    background-color: #4d002e;
    border-radius: 0px 15px 15px 0px;
    color: #fff;
}

.from-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

input,
select {
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid #fff;
    box-shadow: 2px 2px 15px 0px #555;
    font-size: 16px;
    color: #4d002e;
}

input[type="checkbox"] {
    margin: 0;
}

input[type="submit"] {
    cursor: pointer;
}

.submit-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: #4d002e;
    font-size: 20px;
    cursor: wait;
}

.submit-overlay[hidden] {
    display: none;
}

body.is-submitting {
    overflow: hidden;
}

.submit-spinner {
    width: 52px;
    height: 52px;
    border: 4px solid rgba(77, 0, 46, 0.15);
    border-top-color: #4d002e;
    border-radius: 50%;
    animation: submit-spin 0.8s linear infinite;
}

input[type="submit"]:disabled {
    cursor: wait;
    opacity: 0.7;
}

@keyframes submit-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .submit-spinner {
        animation: none;
    }
}

.button-next img {
    width: 100px;
}

.button-next input {
    padding: 10px 20px;
    font-size: 15px;
}

.bottom-text {
    font-size: 12px;
    text-align: end;
    padding-top: 20px;
}

.blocks__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0;
    list-style: none;
    margin: 0;
}

.blocks__item {
    width: 25%;
}

.blocks__item img {
    width: 100%;
}

@media (max-width: 600px) {
    #step-2 {
        background: #fcf5f5;
    }

    .content-step-2 {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 2vh;
    }

    .heading-step-2 {
        width: 100%;
        padding: 20px;
        border-radius: 0px 0px 15px 15px;
    }

    .main-step-2 {
        width: 100%;
        padding: 20px;
        border-radius: 15px 15px 0px 0px;
    }

    .from-grid {
        grid-template-columns: 100%;
    }
}

@media (min-width: 600px) and (max-width: 768px) {
    #step-2 {
        background: #fcf5f5;
    }

    .content-step-2 {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 20vh;
    }

    .main-step-2,
    .heading-step-2 {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    #step-2 {
        background: #fcf5f5;
    }

    .content-step-2 {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: 5vh;
    }

    .main-step-2,
    .heading-step-2 {
        width: 100%;
    }
}