* {
    font-family: 'Poppins', sans-serif;
}

.hd-payment-section {
    height: 100vh;
    /* padding: 10rem; */
}

.hd-make-center {
    display: flex;
    height: 100%;
    width: 100%;
}

.hd-payment-form form {
    text-align: center;
}

.hd-card-box {
    display: inline-block;
    padding: 30px;
    background: lightblue;
    border-radius: 5px;
    box-shadow: 4px 4px 13px 0px rgb(0 0 0 / 20%);
    margin: auto;
}

.hd-btn {
    width: 100%;
}

.hd-payment-form .form-control {
    font-size: .85rem;
}

.payment-left-div {
    position: relative;
    background: linear-gradient(#247BA0 ,#1CC6FF);
    height: 100vh;
}

.payment-left-image {
    width: 400px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-right: auto !important;
    margin-left: auto !important;
}

.payment-details {
    text-align: center;
    padding-top: 5rem;
    color: white;
}

.payment-details p {
    font-size: 1.3rem;
    font-weight: 300;
}

.payment-credit {
    margin-bottom: 0px;
    text-align: right;
    font-size: .8rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    white-space: break-spaces;
    color: #50514F;
}

.payment-credit i {
    font-size: 2rem;
    color: #4379FF;
}

@media only screen and (min-width: 768px) and (max-width: 900px) {
    .payment-left-image {
        width: 320px;
    }

    .payment-details p {
        padding: 0px 1rem;
    }

    .hd-card-box {
        padding: 20px;
        min-width: 100%;
    }

    .jp-card {
        min-width: 100% !important;
    }
}

@media only screen and (min-width: 481px) and (max-width: 767.50px) {
    .payment-form-div {
        padding: 0px !important;
    }

    .hd-card-box {
        margin-top: 25px;
        margin-bottom: 25px;
    }

    .hd-card-box {
        padding: 25px;
        border-radius: 5px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 480.50px) {
    .payment-left-image {
        width: 270px !important;
        bottom: 15px;
    }

    .hd-card-box {
        padding: 15px;
        min-width: 100%;
        border-radius: 0px;
    }

    .payment-details p {
        font-size: 1.05rem;
        padding: 0 1rem;
    }

    .payment-form-div {
        padding: 0px !important;
    }

    .jp-card {
        min-width: 100% !important;
    }

    .hd-btn {
        font-size: .85rem;
    }

    .hd-payment-form {
        width: 350px;
    }

    .hd-payment-form {
        width: 350px;
        margin: auto;
    }
}

@media only screen and (max-width: 319.50px) {
    .payment-left-image {
        width: 250px !important;
        bottom: 15px;
    }

    .hd-card-box {
        padding: 15px;
        min-width: 100%;
        border-radius: 0px;
    }

    .payment-details p {
        font-size: 1.05rem;
        padding: 0 1rem;
    }

    .payment-form-div {
        padding: 0px !important;
    }

    .jp-card {
        min-width: 100% !important;
    }

    .hd-btn {
        font-size: .85rem;
    }
}



/*Payment Success Page*/
body {
    position: relative;
    background: #333;
    height: 100vh;
}

#payment-success {
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    font-family: "Alfa Slab One", cursive;
    font-family: "Poppins", sans-serif;
    width: 100%;
    text-align: center;
}

.hd-pay-success-img {
    width: 400px;
    margin-bottom: 50px;
}

#hd-payment-success-title {
    font-weight: bolder;
    color: white;
    font-size: 3.5rem;
}

#hd-payment-text {
    color: white;
    font-size: 1.1rem;
}

#hd-payment-thanks {
    color: white;
    margin-bottom: 1rem;
}

#hd-return-site {
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
}

@media only screen and (min-width: 481px) and (max-width: 767px) {
    .hd-pay-success-img {
        width: 350px;
    }

    #hd-payment-success-title {
        font-size: 2.5rem;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    #hd-payment-text {
        font-size: 1rem;
        padding: 0 15px;
    }
}

@media only screen and (min-width: 320px) and (max-width: 480.5px) {
    .hd-pay-success-img {
        width: 250px;
    }

    #hd-payment-success-title {
        font-size: 2rem;
        line-height: 3rem;
        padding: 0 15px;
        margin-bottom: 15px;
    }

    #hd-payment-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

@media only screen and (max-width: 319.5px) {
    .hd-pay-success-img {
        width: 200px;
    }

    #hd-payment-success-title {
        font-size: 2rem;
        line-height: 3rem;
    }

    #hd-payment-text {
        font-size: 0.95rem;
        padding: 0 15px;
    }
}

