body, .blue-bar, .ccontainer, .center, .backgroundshadow, .sentence, .btn, .table, th, td, label, input, .sentence1, .sentence2, .font-size, .up, .footer2 {
    font-family: Poppins, sans-serif;
}

body {
    overflow: hidden;
}

.btn-paymentrhb {
    background-color: #f16522 !important;
    border-color: #f16522 !important;
    border-radius: 5px !important;
    color: #006a39 !important;
    width: 100%;
    font-weight: 600 !important;
    margin-top: 20px !important;
}

.table td, .table th {
    padding: 0.75rem;
    vertical-align: middle !important;
    border-top: 0 !important;
}

.table th {
    white-space: nowrap;
}

.table tr {
    vertical-align: middle;
}

.form-control {
    display: inline-block !important;
    width: 90% !important;
}

.ccontainer {
    width: 100%;
    padding-right: 0px !important;
    padding-left: 0px !important;
    margin-right: auto;
    margin-left: auto;
    background-image: url('/img/bg-kkmart.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }

  .box1 {
    width: 100%;
    height: 250px;
    border-radius: 15px !important;
    background-color: #efefef;
    padding-top: 70px;
    padding-left: 30px;
    padding-right: 40px;
    margin-top: 0px;
}

.box2 {
    width: 100%;
    height: 250px;
    border-radius: 15px !important;
    background-color: #efefef;
    padding-top: 30px;
    padding-left: 30px;
    padding-right: 40px;
    margin-top: 0px;
}

.box3 {
    width: 100%;
    height: 250px;
    border-radius: 15px !important;
    background-color: #efefef;
    padding-top: 100px;
    padding-left: 30px;
    padding-right: 40px;
    margin-top: 0px;
}

.backgroundshadow {
    height: 500px;
    background-color: white;
    padding-right: 15px;
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 550px;
    border-radius: 15px !important;
    border-bottom: 10px solid #fe000c;
    text-align: center;
    box-shadow: 0px 1px 11px -1px rgba(180,180,180,1);
}

.font-size {
    font-size: 18px;
}

.up {
    vertical-align:top;
    margin:0;
    font-weight: 600;
}

.sentence {
    color: grey;
}

.sentence1 {
    color: #385c3d;
    font-weight: bold;
}

.sentence2 {
    color: #f16522;
}

.blue-bar {
    width: 100%;
    background-color: #003BA0;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.blue-bar img {
    height: 32px;
    margin-left: 77px;
}

.blue-bar h1 {
    color: white;
    font-weight: 600;
    font-size: 18px;
    margin: 0;
}

.footer2 {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 15px;
    color: #BDBDBD;
    margin-top: 20px;
    width: 550px;
}

.center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 5%;
    box-sizing: border-box;
}

.logo {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 40px;
}

/* Semantic class for KKmart logo */
.logo .logo-kkmart {
    width: 25%;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet devices (768px to 1024px) */
@media screen and (max-width: 1024px) {
    .backgroundshadow {
        width: 70%;
        height: auto;
        min-height: 500px;
    }

    .blue-bar img {
        margin-left: 40px;
    }

    .box1, .box2, .box3 {
        height: auto;
        min-height: 220px;
    }

    .font-size {
        font-size: 16px;
    }

    .footer2 {
        width: 70%;
        max-width: 70%;
        font-size: 14px;
        margin-top: 15px;
    }
}

/* Mobile devices (480px to 767px) */
@media screen and (max-width: 767px) {
    .center {
        padding-top: 3%;
    }

    .backgroundshadow {
        width: 90%;
        height: auto;
        min-height: 450px;
        padding: 15px;
    }

    .blue-bar {
        padding: 18px 15px;
    }

    .blue-bar img {
        height: 28px;
        margin-left: 20px;
    }

    /* Logo at top */
    .logo .logo-kkmart {
        width: 40%;
    }

    .box1, .box2, .box3 {
        height: auto;
        min-height: 200px;
        padding: 20px 15px;
    }

    .box1 {
        padding-top: 40px;
    }

    .box2 {
        padding-top: 20px;
    }

    .box3 {
        padding-top: 60px;
    }

    .table {
        font-size: 14px;
    }

    .table td, .table th {
        padding: 0.5rem !important;
        font-size: 14px;
    }

    .form-control {
        width: 100% !important;
        font-size: 14px;
    }

    .btn-paymentrhb {
        font-size: 14px;
        padding: 8px 16px;
    }

    .font-size {
        font-size: 15px;
    }

    .sentence1 {
        font-size: 16px;
    }

    .sentence2 {
        font-size: 15px;
    }

    .footer2 {
        width: 90%;
        max-width: 90%;
        font-size: 13px;
        margin-top: 15px;
    }

    .footer2 img {
        width: 60px !important;
    }
}

/* Small mobile devices (below 480px) */
@media screen and (max-width: 480px) {
    .center {
        padding-top: 2%;
    }

    .backgroundshadow {
        width: 95%;
        height: auto;
        min-height: 400px;
        padding: 12px;
    }

    .blue-bar {
        padding: 15px 10px;
    }

    .blue-bar img {
        height: 24px;
        margin-left: 10px;
    }

    /* Logo at top */
    .logo .logo-kkmart {
        width: 50%;
    }

    .box1, .box2, .box3 {
        height: auto;
        min-height: 180px;
        padding: 15px 10px;
        border-radius: 10px !important;
    }

    .box1 {
        padding-top: 30px;
    }

    .box2 {
        padding-top: 15px;
    }

    .box3 {
        padding-top: 50px;
    }

    .table {
        font-size: 13px;
    }

    .table td, .table th {
        padding: 0.4rem !important;
        font-size: 13px;
    }

    .form-control {
        width: 100% !important;
        font-size: 13px;
    }

    .btn-paymentrhb {
        font-size: 13px;
        padding: 6px 12px;
    }

    .font-size {
        font-size: 14px;
    }

    .sentence1 {
        font-size: 15px;
    }

    .sentence2 {
        font-size: 14px;
    }

    .footer2 {
        width: 95%;
        max-width: 95%;
        font-size: 12px;
        margin-top: 15px;
    }

    .footer2 img {
        width: 55px !important;
    }
}