html, body, * {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}
header {
    padding-block: 16px;
    background: #D30000;
    text-align: center;
    box-shadow: 0 4px 6px 0 #00000026;
}
header h2 {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    position: relative;
}
header h2 img {
    width: 76px;
    height: 64px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 104px;
}
header h2 span {
    display: block;
    margin-top: 3px;
    font-weight: 400;
}

main {
    padding-block: 50px;
    background: #E3E3E3;
    display: flex;
    justify-content: center;
    align-content: center;
}

.main-block {
    max-width: 839px;
    width: 100%;
}

.main-block-body {
    padding: 24px 24px 40px;
    background: #fff;
    box-shadow: 0 4px 6px 0 #00000040;
    border-radius: 15px 15px 0 0;
}

.main-block-body h1 {
    color: #3A3A3A;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
}
.main-block-body .semi-heading {
    text-align: center;
    margin-top: 8px;
    color: #606060;
    font-size: 20px;
    font-weight: 500;
}
.main-block-body .input-block {
    margin-top: 40px;
    padding: 16px;
    border-radius: 15px;
    background: #D9EDE3;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main-block-body .input-group {
    flex: 1;
}
.main-block-body .input-group label {
    color: #3A3A3A;
    font-size: 16px;
    font-weight: 500;
}

.main-block-body .input-group span {
    color: #313131;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    margin-left: 5px;
}
.main-block-body .steps-block {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.main-block-body .steps-block .item {
    display: flex;
    align-items: center;
}
.main-block-body .steps-block .item svg {
    margin-right: 8px;
}
.main-block-body .steps-block .item span {
    color: #3A3A3A;
    font-size: 14px;
    font-weight: 500;
    width: 120px;
}

.main-block-footer {
    padding: 24px 24px 30px;
    border-radius: 0 0 15px 15px;
    background: #008541;
}

.main-block-footer h3 {
    color: #FFF;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    max-width: 530px;
    margin-inline: auto;
}
.main-block-footer .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
.main-block-footer .input-group input {
    padding-left: 12px;
    font-size: 17px;
    font-weight: 500;
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    background: #FFF;
    border-radius: 10px 0 0 10px;
    height: 41px;
    border: none;
    outline: none;
}
.main-block-footer .input-group button {
    padding: 10px 30px;
    display: flex;
    align-items: center;
    border-radius: 0 10px 10px 0;
    background: #D9EDE3;
    cursor: pointer;
    border: none;
    outline: none;
    color: #3A3A3A;
    font-size: 18px;
    font-weight: 500;
}
.main-block-footer .input-group button svg {
    margin-left: 8px;
}

footer {
    padding-block: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer img:nth-child(1) {
    width: 95px;
    margin-right: 88px;
}
footer img:nth-child(2) {
    width: 120px;
}

@media screen and (max-width: 1270px) {
    header h2 img {
        left: 0 !important;
    }
}
@media screen and (max-width: 1060px) {
    header h2 img {
        display: none;
    }
}
@media screen and (max-width: 800px) {
    .main-block-body .input-block {
        flex-wrap: wrap;
    }
    .main-block-body .input-block .input-group {
        width: 100%;
    }
    .main-block-body .input-block .input-group:not(:last-child) {
        margin-bottom: 8px;
    }
}
@media screen and (max-width: 787px) {
    .main-block-body .steps-block .item {
        margin-bottom: 40px;
    }
}
@media screen and (max-width: 450px) {
    .main-block-body {
        padding: 12px 12px 30px;
    }
    .main-block-body .steps-block .item:not(:last-child) {
        margin-bottom: 20px;
    }
    .main-block-body .steps-block .item:last-child {
        margin-bottom: 0;
    }
    .main-block-body .steps-block .item span {
        width: 230px;
    }
    .main-block-footer .input-group input {
        width: 100%;
        border-radius: 10px;
    }
    .main-block-footer .input-group button {
        margin-top: 12px;
        border-radius: 10px;
        font-size: 16px;
        padding-inline: 20px;
    }
}