<template>
    <div class="offerCard">
        <!-- <div class="yellowCard">
          <h1>Our Offer</h1>
        </div> -->
        <div class="greenCard">
            <div class="cardList">
                <div class="cardTitle">
                    <h1>0.9%</h1>
                </div>
                <div class="cardText">
                    <div>
                        <p>VISA/MASTERCARD & EFTPOS</p>
                    </div>
                    <div>
                        <p>Transaction Fee</p>
                    </div>
                    <div><span>(inc. GST)</span></div>

                </div>
                <div class="cardImg">
                    <div><img src="../assets/payments/visa.png" alt=""></div>
                    <div class="master-card"><img src="../assets/payments/mastercard.png" alt=""></div>
                    <div><img src="../assets/payments/eftops.png" alt=""></div>
                </div>
            </div>

            <div class="cardList1">
                <div class="cardTitle1">
                    <h1>2.2%</h1>
                </div>
                <div class="cardText1">
                    <div>
                        <p>UPI and alternate Payments</p>
                    </div>
                    <div><span>(inc. GST)</span></div>

                </div>
                <div class="cardImg1">
                    <div class="unionPay"><img src="../assets/payments/unionPay.png" alt=""></div>
                    <div class="Alipay"><img src="../assets/payments/Alipay.png" alt=""></div>
                    <div class="Alipay"><img src="../assets/payments/weChat.png" alt=""></div>
                </div>
            </div>
            <div class="cardList2">
                <div class="cardTitle2">
                    <h1>$29.95</h1>
                </div>
                <div class="cardText2">
                    <div>
                        <p>Terminal rental (Per month/terminal)</p>
                    </div>
                    <div><span>(inc. GST)</span></div>
                </div>
            </div>
        </div>

    </div>
</template>

<script>

</script>

<style lang="less" scoped>
.offerCard {
    width: 530px;
    height: auto;
    position: relative;

    .yellowCard {
        position: absolute;
        width: 160px;
        height: 66px;
        background: #fcf558;
        border-radius: 100%;
        right: -20px;
        top: -24px;
        z-index: 1;

        h1 {
            font-size: 24px;
            text-align: center;
            color: #005198;
            margin: 0;
            line-height: 66px;
        }
    }

    .greenCard {
        position: absolute;
        top: 30px;

        .cardList {
            width: 530px;
            height: 95px;
            background: #a7de50;
            box-shadow: 0 6px 10px rgba(0, 0, 0, .2), 0 0 6px rgba(0, 0, 0, .04);
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 10px;

            .cardTitle {
                margin-left: 14px;

                h1 {
                    margin: 0;
                    color: #fff;
                }
            }

            .cardText {
                margin-left: 38px;

                p {
                    color: #fff;
                    margin: 0;
                }

                span {
                    color: #fff;
                    font-size: 12px;
                }
            }

            .cardImg {
                display: flex;
                align-items: center;
                margin-top: 40px;
                gap: 8px;

                .master-card {
                    img {
                        width: 30px;
                        height: auto;
                    }
                }

                img {
                    width: 38px;
                    height: auto;
                }
            }
        }

        .cardList1 {
            width: 530px;
            height: 95px;
            background: #a7de50;
            box-shadow: 0 6px 10px rgba(0, 0, 0, .2), 0 0 6px rgba(0, 0, 0, .04);
            border-radius: 12px;
            display: flex;
            align-items: center;
            margin-top: 15px;
            gap: 10px;

            .cardTitle1 {
                margin-left: 15px;

                h1 {
                    margin: 0;
                    color: #fff;
                }
            }

            .cardText1 {
                margin-left: 40px;

                p {
                    color: #fff;
                    margin: 0;
                }

                span {
                    color: #fff;
                    font-size: 12px;
                }
            }

            .cardImg1 {
                display: flex;
                align-items: center;
                justify-content: center;
                margin-top: 40px;
                gap: 8px;

                .unionPay {
                    img {
                        width: 26px;
                        height: auto;
                    }
                }

                .Alipay {
                    img {
                        width: 48px;
                        height: auto;
                    }
                }
            }
        }

        .cardList2 {
            width: 530px;
            height: 95px;
            background: #a7de50;
            box-shadow: 0 6px 10px rgba(0, 0, 0, .2), 0 0 6px rgba(0, 0, 0, .04);
            border-radius: 12px;
            display: flex;
            align-items: center;
            margin-top: 15px;
            gap: 10px;

            .cardTitle2 {
                margin-left: 12px;

                h1 {
                    margin: 0;
                    color: #fff;
                }
            }

            .cardText2 {
                margin-left: 10px;

                p {
                    color: #fff;
                    margin: 0;
                }

                span {
                    color: #fff;
                    font-size: 12px;
                }
            }

        }
    }
}

@media (max-width: 767px) {
 .cardList{
    width: 344px !important;
    height: 211px !important;
    display: block !important;  
    h1{
       font-size: 48px;
       line-height: 72px;
    } 
 }
 .cardList1{
    width: 344px !important;
    height: 211px !important;
    display: block !important; 
    h1{
       font-size: 48px;
       line-height: 72px;
    } 
 }
 .cardList2{
    width: 344px !important;
    height: 211px !important;
    display: block !important; 
    h1{
       font-size: 48px;
       line-height: 72px;
    }    
 }
}
</style>