:root {
    --border-radius: 20px;
    --font-family: 'Rubik', sans-serif;
    --primary-color: #bd9f00;
}

/* FONT RUBIK */
@font-face {
    font-family: 'Rubik';
    src: url('../../../font/rubik/Rubik-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../../../font/rubik/Rubik-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../../../font/rubik/Rubik-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

body {
    margin: 0;
    max-width: 100%;
    font-family: 'Rubik', sans-serif;
    background: linear-gradient(
        227deg,
        var(--button-color),
        var(--text-color),
        var(--background-button-color-tranparent)
    );
    background-size: 360% 360%;
    animation: gradient-animation 6s ease infinite;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header,
.footer,
.footer-bersedekah,
.back-top,
div.box-space {
    display: none !important;
}

div.box-qris-live {
    height: 100vh;
    padding: 10px;
    display: flex;
    align-items: center;
}
div.box-qris-live > div {
    height: 100%;
    display: flex;
    flex-flow: column;
}
div.box-qris-live > div > div {
    width: 100%;
    padding: 5px;
    position: relative;
}

/* BEGIN:: LEFT */
div.box-qris-live > div.box-left {
    width: 75%;
}
div.box-banner {
    height: 70%;
}
div.box-banner > img {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}
div.box-top-transaction {
    height: 25%;
}
div.box-top-transaction > div {
    height: 100%;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: var(--border-radius);
    display: flex;
    flex-flow: column;
    align-items: stretch;
}
div.box-top-transaction > div > h2 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1rem;
    padding: 10px;
    width: 100%;
    background-color: var(--primary-color);
    color: #FFF;
    text-align: center;
    border-radius: 10px;
}
div.box-top-transaction > div > div.list-transaction {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
div.box-top-transaction > div > div.list-transaction > div {
    width: 20%;
    display: flex;
}
div.box-top-transaction > div > div.list-transaction > div > div.box-no {
    font-size: 2.5rem;
    width: 30%;
    color: var(--primary-color);
    font-weight: 400;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.box-top-transaction > div > div.list-transaction > div > div.box-detail {
    width: 70%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
div.box-top-transaction > div > div.list-transaction > div > div.box-detail > div {

}
div.box-top-transaction > div > div.list-transaction > div > div.box-detail > div > label {
    margin: 0;
}
div.box-top-transaction > div > div.list-transaction > div > div.box-detail > div > label.nama {
    width: 100%;
    font-size: 1.1rem;
    font-weight: bold;
    height: 30px;
    word-wrap: break-word;
    display: -webkit-box;
    text-align: left;
    word-break: break-word;
    white-space: pre-wrap;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
div.box-top-transaction > div > div.list-transaction > div > div.box-detail > label.amount {
    font-size: 1.1rem;
    font-weight: 500;
    width: 100%;
}
div.box-top-transaction > div > label {
    width: 100%;
    text-align: right;
    margin: 0;
    font-size: 0.8rem;
}
div.box-top-transaction > div > label > span {
    font-weight: bold;
}
div.box-transaction {

}
div.box-transaction > div {
    display: flex;
    align-items: center;
}
div.box-transaction > div > marquee > label {
    color: #FFF;
    margin: 0 10px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 3px 20px;
    border-radius: 5px;
}
/* END:: LEFT */

/* BEGIN:: RIGHT */
div.box-qris-live > div.box-right {
    width: 25%;
}
div.box-qris {
}
div.box-qris > img {
    width: 100%;
    border-radius: var(--border-radius);
}
div.box-summary {
    height: 100%;
}
div.box-summary > div {
    background-color: #FFF;
    position: relative;
    height: 100%;
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
div.box-summary > div > img.bg-left,
div.box-summary > div > img.bg-right {
    position: absolute;
    bottom: 0;
    width: 90px;
    height: auto;
    z-index: 0;
}
div.box-summary > div > img.bg-left {
    left: 0;
    top: 0;
    border-radius: var(--border-radius) 0 0 0;
}
div.box-summary > div > img.bg-right {
    right: 0;
    top: 0;
    border-radius: 0 var(--border-radius) 0 0;
}
div.box-summary > div > div > .lottie-donation {
    height: 80px;
    margin: 0 auto;
    text-align: center;
}
div.box-summary > div > div > label {
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 0 10px;
    font-family: var(--font-family);
}
div.box-summary > div > div > label.caption-terkumpul {
    font-size: 1.2rem;
    font-weight: 500;
}
div.box-summary > div > div > label.value-nominal {
    font-size: 1.7rem;
    font-weight: bold;
    color: var(--primary-color);
}
div.box-summary > div > div > label.caption-terkumpul-channel {
    font-size: 0.7rem;
}
div.box-summary > div > div > label.value-nominal-channel {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.6;
}
div.box-summary > div > div > label.caption-greeting {
    font-size: 0.9rem;
    font-weight: bold;
}
div.box-summary > div > div > label.value-transaksi-terakhir {
    font-size: 0.8rem;
}
div.box-summary > div > div > div.powered-by {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 100%;
    text-align: right;
    padding-right: 5px;
}
div.box-summary > div > div > div.powered-by > label {
    font-size: 0.6rem;
    margin: 0 0.2rem 0 0;
}
div.box-summary > div > div > div.powered-by > img {
    height: 1rem;
}
/* END:: LEFT */

/* BEGIN:: Box Generate QRIS */
#divQris {
    text-align: center;
    padding-top: 140px;
    padding-left: 28px;
    padding-right: 28px;
    padding-bottom: 0;
    height: 827px;
    width: 600px;
}
#divQris > label.qris-name {
    display: block;
    margin-bottom: 0;
    font-size: 30px;
    font-weight: bold;
}
#divQris > label.qris-nmid {
    display: block;
    margin-bottom: 0;
    font-size: 24px;
}
#divQris > label.qris-issuer {
    width: 100%;
    text-align: left;
    font-size: 19px;
    margin-left: 17px;
}
#divQris > img.qris-barcode {
    width: 100%;
    margin-top: 7px;
    margin-bottom: -5px;
    margin-left: 0px;
}
/* END:: Box Generate QRIS */

/* BEGIN:: Maximize Button */
#buttonFullScreen {
    cursor: pointer;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 20px;
    color: #FFF;
    opacity: 0.4;
    transition: all .5s;
    z-index: 1;
    top: 15px;
    left: 15px;
}
#buttonFullScreen:hover {
    opacity: 1;
}
#buttonFullScreen.fullscreen:hover > span {
    display: inline-block !important;
}
#buttonFullScreen > i {
    margin: 2px 10px;
}
#buttonFullScreen > span {
    font-size: 14px;
    margin-right: 10px;
}
#buttonFullScreen > span > i {
    font-style: normal;
}
/* END:: Maximize Button */

@media (max-width: 1180px) {
    div.box-top-transaction > div > label {
        font-size: 0.7rem;
    }
}
@media (min-width: 1500px) {
    div.box-top-transaction > div > div.list-transaction > div > div.box-no {
        font-size: 3.5rem;
    }
    div.box-top-transaction > div > label {
        font-size: 1rem;
    }
    div.box-summary > div > div > label.caption-terkumpul-channel {
        font-size: 0.9rem;
    }
    div.box-summary > div > div > label.caption-greeting {
        font-size: 1rem;
    }
}
@media (aspect-ratio: 1366 / 1024) {
    div.box-summary > div > div > .lottie-donation {
        height: 250px;
    }
}
@media (aspect-ratio: 1024 / 768) {
    div.box-summary > div > div > .lottie-donation {
        height: 140px;
    }
    div.box-top-transaction > div > h2 {
        font-size: 1rem;
        padding: 5px;
    }
    div.box-top-transaction > div > label {
        font-size: 0.67rem;
    }
    div.box-summary > div > div > label.caption-terkumpul-channel {
        font-size: 0.6rem;
    }
    div.box-summary > div > div > label.value-nominal-channel {
        font-size: 1.3rem;
    }
    div.box-summary > div > div > label.caption-greeting {
        font-size: 0.8rem;
    }
}
@media (aspect-ratio: 1180 / 820) {
    div.box-summary > div > div > .lottie-donation {
        height: 140px;
    }
}
@media (aspect-ratio: 1920 / 1080) {
    div.box-summary > div > div > .lottie-donation {
        height: 150px;
    }
    div.box-summary > div > div > label.value-nominal {
        font-size: 2.5rem;
    }
}
@media (aspect-ratio: 1536 / 864) {
    div.box-summary > div > div > .lottie-donation {
        height: 40%;
        width: 25% !important;
    }
    div.box-summary > div > div > label.value-nominal {
        font-size: 1.7rem;
    }
}
@media (aspect-ratio: 3 / 2) {
    div.box-summary > div > div > .lottie-donation {
        height: 140px;
    }
}

/* BEGIN:: Mobile */
@media (max-width: 500px) {
    label#buttonFullScreen,
    div.navbar-bottom {
        display: none !important;
    }
    div.box-qris-live {
        height: inherit;
        flex-flow: column;
        padding-bottom: 60px;
    }
    div.box-qris-live > div {
        margin-bottom: 10px;
    }
    div.box-summary > div > div > .lottie-donation {
        height: 200px;
    }
    div.box-qris-live > div > div > div {
        margin-bottom: 30px;
    }
    div.box-top-transaction {
        padding-bottom: 10px;
    }
    div.box-top-transaction > div {
        padding: 0;
    }
    div.box-top-transaction > div > h2 {
        font-size: 1.2rem;
        letter-spacing: 0;
        border-radius: 20px 20px 0 0;
    }
    div.box-top-transaction > div > div.list-transaction {
        flex-wrap: wrap;
        margin: 20px 0;
    }
    div.box-top-transaction > div > div.list-transaction > div {
        width: 100%;
        margin-bottom: 10px;
    }
    div.box-top-transaction > div > label {
        text-align: center;
        font-size: 1rem;
        line-height: 20px;
        margin-bottom: 10px;
    }
    label.caption-top-transaction span {
        display: block;
        background-color: var(--button-color);
        border-radius: 5px;
        margin: 15px 15px 5px;
        color: #FFF;
        font-weight: bold;
        padding: 15px;
    }
}
/* END:: Mobile */