body {
    font-family: 'Roboto', sans-serif;
    width: 100%;
    height: 100%;
    position: relative;
}

.d-mb {
    display: none;
}
.d-pc {
    display: block;
}

.close-button {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 99999;
    height: 20px;
    width: 20px;
}

.close-button img {
    width: 100%;
    height: 100%;
}

.main-header {
    width: 100%;
    height: 65px;
    background: linear-gradient(180deg, rgba(0, 133, 27, 0.20) 0%, rgba(255, 255, 255, 0.00) 149.88%);
}

.main-nav {
    background: #31A749;
    height: 50px;
    width: 100%;
}

.menu-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100% !important;
    width: 100%;
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.menu-nav .nav-item {
    color: #FF0;
    text-align: center;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}

.menu-nav .nav-item:hover {
    text-shadow: 2px 2px 3px rgba(192, 182, 106, 0.8);
}

.top-nav {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-nav .logo {
    height: 100%;
    padding:13px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* .top-nav .logo .img-logo {
    position: inherit;
} */

.top-nav .logo .logo-main,
.top-nav .logo .logo-ambassador {
    height: 100%;
    margin:0px;
    padding:0px;

}

.top-nav .logo .logo-ambassador { 
    padding:2px 0px;
}

.top-nav .logo .logo-ambassador .img-rela {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.top-nav .logo .logo-ambassador img {
    position: absolute;
    height: 100%;
    top:0px;
    left:0px;
    opacity: 0;
    transition: opacity 3s;
}

.top-nav .logo .logo-ambassador img:first-child {
    animation: fadeImage 6s infinite;
}

.top-nav .logo .logo-ambassador img:nth-child(2) {
    animation: fadeImage 6s infinite 3s;
}


@keyframes fadeImage {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.top-nav .logo .logo-main img{
    height: 100%;
}


.login-btn {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

.login-btn .registerbutton,
.login-btn .loginbutton {
    display: flex;
    width: 110px;
    padding: 7px 0px;
    justify-content: center;
    align-items: center;
    gap: 4.449px;
    flex-shrink: 0;
    border-radius: 37.813px;
    border: 1.112px solid #FFD915;
    background: linear-gradient(180deg, #31A749 0%, #17882E 100%);
    color: #FFF;
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.main-banner .container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.banner-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 10px;
}

.banner-content .banner-text {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 50%;
    padding: 0px 30px 0px 0px;
}

.banner-content .banner-text span {
    color: #31A749;
    font-family: Roboto;
    font-size: 40px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}

.banner-content .banner-text h1 {
    color: #505050;
    font-family: Roboto;
    font-size: 30px;
    font-style: normal;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
}

.banner-content .banner-text p {
    color: #000;
    text-align: justify;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 0px;
    line-height: 1.5;
}

.banner-content .banner-image {
    width: 50%;
    height: 100%;
}

.banner-content .banner-image .banner-image-main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-content .banner-image .banner-image-main img {
    width: 100%;
    max-width: 100%;
    height: 100%;
}


.product-section {
    width: 100%;
    height: max-content;
    /* background-position: center 100%; */
    /* background-size: contain; */
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0px 0px;
}


.product-text {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.product-text .content-title {
    color: #31A749;
    text-align: center;
    font-family: Roboto;
    font-size: 25px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 5px;
}

.product-text .left-title .element,
.product-text .right-title .element {
    width: 80px;
}

.product-detail {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.product-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product-section .product-detail .product-detail-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.product-detail-left img {
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-detail-right img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-section .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.partner-detail {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.partner-detail .partner-detail-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-bottom: 5px;
    gap: 20px;
}

.partner-detail .partner-detail-item .partner-detail-item-brand {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.partner-detail .partner-detail-item .partner-detail-item-brand img {
    width: 80%;
    max-width: 100px;
}

.logo-partner {
    width: 120px;
    height: 120px;
    padding: 5px;
    border: 5px solid #31A749;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-partner1 {
    width: 100%;
    height: 100%;
    fill: #FFF;
    box-shadow: 0px 0px 20px 0px rgba(0, 133, 27, 0.52) inset;
    border-radius: 50%;
    padding: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-partner1 img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
}

.partner-detail-item-bg {
    height: 100%;
    border-radius: 17.807px;
    border: 1.187px solid #147A28;
    background: #FFF;
    filter: blur(5px);
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}


.partner-detail-item-main {
    width: 100%;
    position: relative;
    height: auto;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 40px;
    height: 100%;
}

.partner-detail-item-main .title {
    text-align: center;
    width: 100%;
    padding-bottom: 10px !important;
    display: flex;
    justify-content: center;
}

.partner-detail-item-main::after {

    border-radius: 17.807px;
    border: 1.187px solid #147A28;
    background: #FFF;
    filter: blur(5px);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    content: '';
    z-index: -1;
}

.partner-detail-item-main p {
    text-align: justify;
    padding: 0px;
    margin: 0px;
    color: #000;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    flex-grow: 1;
}

.partner-detail-item-main p span {
    color: #31A749;
    text-align: justify;
    font-family: Roboto;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}


.payment-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.payment-section .container {}

.payment-section .payment-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 0px 10px;
}

.payment-section .payment-content-item {
    width: 50%;

}

.payment-section .payment-subtitle {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.payment-section .payment-subtitle p {
    max-width: 600px;
    text-align: center;
    color: #000;

    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.payment-item-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.payment-item-image img {
    width: 100%;
    max-width: 390px;
}

.payment-item-text {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-self: center;
    padding: 10px 20px;
    border-radius: 11px;
    border-top: 3px solid #31A749;
    /* border-width: 3px;
    border-style: solid;
    border-image: linear-gradient(to bottom, #FFF 0%, #77CC88 100%); */
    background: linear-gradient(180deg, #FFF 0%, #EEFFE3 100%);

}

.payment-item-text .payment-item-title {
    color: #31A749;
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;

}

.payment-item-text .payment-item-content {
    color: #000;
    text-align: justify;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 10px;
}

.promotion-section .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding:0px;
}

.promotion-section .promotion-image {
    width: 100%;
    cursor: pointer;
}

.promotion-section .promotion-image img {
    padding: 0px;
    width: 100%;
}

.promotion-section .sub-promotion-image {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    gap: 100px;
    cursor: pointer;
}

.promotion-section .sub-promotion-image .sub-promotion-image-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.promotion-section .sub-promotion-image .sub-promotion-image-item img {
    width: 95%;
}

.link-promotion {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #147A28;
    padding: 10px 0px;
}

.link-promotion p {
    margin: 0px;
    padding: 0px;
    color: #FFF;

    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    align-self: stretch;
}

.link-promotion a {
    color: #FFF;
    text-decoration: none;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.promotion-section .payment-subtitle {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* .background-app {
    position: absolute;
    height: 100%;
    width: 100%;
}
*/
.bg1 {
    position: absolute;
    top: 100px;
    left: 0px;
    z-index: -99;
}

.bg2 {
    position: absolute;
    top: 1150px;
    right: 0px;
    z-index: -99;
}


.bg4 {
    position: absolute;
    top: 2050px;
    left: 0px;
    z-index: -99;
}

.bg5 {
    position: absolute;
    top: 2550px;
    right: 0px;
    z-index: -99;
}

.bg1 img,
.bg2 img,
.bg4 img,
.bg5 img {
    width: 200px;
}

.pc {
    display: flex;
}

.mb {
    display: none;
}

.slick-next:before,
.slick-prev:before {
    content: unset;
}

.modal-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.if-promotion {
    /* height: calc(100% + 130px); */
    height: 100vh;
    width: 100%;
    position: absolute;
    /* top: -130px; */
    border-radius: 20px;
    overflow: hidden;
}

#if-promotion-data {
    margin-top: -95px;
}

@media only screen and (max-width: 1200px) {
    .main-banner .container {
        padding: 0px;
    }

    .banner-content {
        width: 100%;
    }

    .banner-content .banner-text {
        width: 60%;
    }

    .banner-content .banner-text h1 {
        font-size: 19px;
        text-align: center;
    }

    .banner-content .banner-text h1 span {
        font-size: 19px;
    }

    .banner-content .banner-text p {
        font-size: 14px;
        line-height: 1.2;
    }

    .banner-content .banner-image {
        width: 40%;
        padding: 0px;
    }

    .banner-content .banner-image .banner-image-main img {
        width: 100%;
        height: auto;
        max-width: unset;
        max-height: unset;
    }

    .partner-detail-item-main {
        padding: 30px;
    }
}

@media only screen and (max-width: 992px) {
    .banner-content {
        padding-top: 20px;
        width: 100%;
    }

    .partner-detail-item-main {
        padding: 20px;
    }

    .partner-detail-item-main p {
        text-align: justify;
        padding: 0px;
        margin: 0px;
        color: #000;
        font-family: Roboto;
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        flex-grow: 1;
    }

    .partner-detail-item-main p span {
        color: #31A749;
        text-align: justify;
        font-family: Roboto;
        font-size: 13px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
    }
}

@media only screen and (max-width: 768px) {
    .pc {
        display: none !important;
    }

    .mb {
        display: flex !important;
    }

    .main-header {
        padding: 0px;
        height: 60px;
    }

    .top-nav .logo {
        gap: 7px;
    }

    .main-header .top-nav {
        padding: 0px 6px;
    }

    .main-banner .container {
        width: 100%;
    }

    .main-banner .banner-content {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column-reverse;
        padding-top: 10px;
    }

    .main-banner .banner-content .banner-text {
        width: 95%;
        padding: 0px;
    }

    .main-banner .banner-content .banner-text h1 {
        width: 100%;
        max-width: 450px;
        padding: 0px;
        color: #505050;
        font-family: Roboto;
        font-size: 21.166px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        text-transform: uppercase;
        text-align: center;
    }

    .main-banner .banner-content .banner-text span {
        color: #31A749;
        text-align: center;
        font-family: Roboto;
        font-size: 21.166px;
        font-style: normal;
        font-weight: 900;
        line-height: normal;
        text-transform: uppercase;
    }

    .main-banner .banner-content .banner-image {
        width: 80%;
    }

    .logo-ambassador {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-ambassador img {
        height: 100%;
        width: auto;
    }

    .product-text .left-title .element,
    .product-text .right-title .element {
        width: 60px;
        height: auto;
    }


    .main-header .mb .logo {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    

    .main-header .mb .logo .logo-main {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-header .mb .logo .logo-main img {
        /* width: 100%;
        max-width: 100%;
        height: max-content; */
        width: 100%;
        height: unset !important;
        max-height: 30px;
        width: auto;
    }

    .main-header .mb .login-btn {
        width: 50%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .main-header .mb .login-btn button {
        width: 75px;
        padding: 8px 5px;
        font-size: 11px;
    }

    .promotion-section .content-title,
    .payment-section .content-title,
    .product-section .content-title,
    .partner-section .content-title {
        color: #31A749;
        text-align: center;
        font-family: Roboto;
        font-size: 16px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        text-transform: uppercase;
    }

    .partner-section .container {
        padding: 0px;
    }

    .payment-section .product-content {
        padding-top: 0px;
        margin-top: 10px;
        margin-bottom: 5px;
    }

    .promotion-section .product-content {
        padding-top: 0px;
    }

    .payment-section .payment-subtitle {
        margin-top: 0px;
    }

    .payment-section .product-text {
        margin-bottom: 3px;
    }

    .product-section .product-detail {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: unset;
    }

    .partner-detail {
        width: 95%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .partner-detail .partner-detail-item {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        text-align: center;
        margin-bottom: 5px;
        gap: 15px;
    }

    .logo-partner1 {
        width: 100%;
        height: 100%;
        fill: #FFF;
        box-shadow: 0px 0px 20px 0px rgba(0, 133, 27, 0.52) inset;
        border-radius: 50%;
        padding: 5px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .partner-detail .partner-detail-item .partner-detail-item-main {
        height: auto !important;
    }

    .payment-section .container {
        width: 100%;
    }

    .payment-section .payment-subtitle p {
        color: #000;
        text-align: center;
        font-family: Roboto;
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
    }

    .payment-section .payment-content {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        width: 100%;
        padding: 0px;
    }

    .payment-content .payment-content-item {
        width: 100%;
        margin: -15px;
    }

    .payment-content .payment-content-item .payment-item-text {
        margin-top: -40px;
    }


    .payment-section .payment-subtitle p {
        margin: 0px auto;
    }

    .promotion-section .container {
        width: 95%;
    }

    .promotion-content {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .promotion-image {
        width: 100%;
    }

    .promotion-image img {
        width: 100%;
    }

    .partner-detail-item-brand .partner-detail .partner-detail-item .partner-detail-item-brand img {
        width: 95%;
    }

    .partner-detail .partner-detail-item .partner-detail-item-brand {
        width: 20%;
    }

    #if-promotion-data {
        margin-top: -42px;
    }

    .promotion-section .sub-promotion-image {
        width: 100%;
        margin-top: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        cursor: pointer;
        gap: unset;
    }

    .promotion-section .sub-promotion-image .sub-promotion-image-item {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        height: 100%;
    }

    .promotion-section .sub-promotion-image .sub-promotion-image-item img {
        width: 95%;
    }

    .menu-footer {
        width: 100%;
        height: 79px;
        position: fixed;
        left: 0px;
        bottom: 0px;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0px -2px 4px 0px rgba(0, 0, 0, 0.25);
        z-index: 9999;
        background: #FFF;
    }

    .menu-footer .menu-footer-item {
        width: 20%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .menu-footer .menu-footer-item .menu-footer-item-icon {
        width: 29.33px;
        height: 29.33px;
        flex-shrink: 0;
        aspect-ratio: 29.33/29.33;
        position: relative;
    }

    .menu-footer .menu-footer-item .menu-footer-item-icon img {
        position: absolute;
        width: 29.33px;
        height: 29.33px;
        top: 0px;
        left: 0px;
    }

    .menu-footer .menu-footer-item p {
        color: #000;
        align-self: stretch;
        text-align: center;
        font-family: Roboto;
        font-size: 10.624px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        height: 100%;
        padding-top: 5px;
        margin-bottom: 0px;

    }

    .backbutton {
        width: 30px;
        height: 30px;
        position: fixed;
        top: 8vh;
        left: 10px;
        z-index: 9999;
        display: flex;
        justify-content: center;
        cursor: pointer;
    }

    .backbutton img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media only screen and (max-width: 374px) {
    .main-header .mb .logo .logo-main {
        width: 75px;
    }

    .top-nav .logo .logo-ambassador .img-rela {
        height: 90%;
    }
}

@media only screen and (max-width: 350px) {
    .main-header .mb .logo .logo-main {
        height: 100%;
        width: 65px;
    }

    .top-nav .logo .logo-ambassador .img-rela {
        height: 80%;
    }
}

@media only screen and (max-width: 350px) {
    .top-nav .logo {
        gap: 5px;
    }

    .main-header .mb .logo {
        margin-top: 12px;
    }

    .main-header .mb .logo .logo-main {
        height: 93%;
        width: 55px;
    }

    .top-nav .logo .logo-ambassador .img-rela {
        height: 70%;
    }
}