

.top {
    max-width: 450px;
    margin-inline: auto;
    margin-bottom: 100px;
}

.payment-types {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 150px;
}

.payment-type {
    width: 80%;
}

.type-header {
    display: flex;
    gap: 20px;
    align-items: center;
}

h3 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}

.payrange-demo {
    display: grid;
    grid-template-columns: 2fr 1fr;
    min-height: 800px;
}

.payrange-demo img {
    width: 100%;
}

.left-col {
    display: relative;
}

.left-col svg {
    position: absolute;
}

.left-col img {
    width: 60%;
}

.top-left {
    left: -50px;
    z-index: -2;
}

.rect {
    background-color: #96C0D1;
    position: absolute;
    width: auto;
    height: auto;
}

.bottom-right {
    bottom: -700px;
    left: 70px;
    z-index: -1;
}

.right-col {
    text-align: center;
}


@media only screen and (max-width: 768px) {

    body {
        text-align: center;
    }
    .payment-types {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 0.9fr 1fr;
        gap: 20px;
        justify-items: center;
    }

    .payrange-demo {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

}