.zoom {
    animation: zoom .5s ease-in forwards;
}

.carousel-fade .carousel-item {
    transition-delay: .75s;
}

.carousel-fade.active.carousel-item-start {
    animation: fadeOut .5s ease-in forwards;
    transform: none;
}

.carousel-fade.carousel-item-next.carousel-item-start {
    animation: fadeIn .5s ease-in forwards;
}

.carousel-fade.active.carousel-item-end {
    animation: fadeOut .5s ease-in forwards;
    transform: none;
}

.carousel-fade.carousel-item-next.carousel-item-end {
    animation: fadeIn .5s ease-in forwards;
}

.carousel-fade.carousel-item {
    transform: none;
    opacity: 0;
    transition-property: opacity;
}

.carousel-fade.carousel-item.active {
    z-index: 1;
    opacity: 1;
}

.carousel-control-next-icon {
    background-image: url("../images/smartpedia/puasa-pertamaku/next-icon.png");
    width: 4rem;
    height: 4rem;
}

.carousel-control-prev-icon {
    background-image: url("../images/smartpedia/puasa-pertamaku/prev-icon.png");
    width: 4rem;
    height: 4rem;
}

.carousel-control-next {
    opacity: 1;
    top: auto;
    bottom: 3rem;
    z-index: 999;
    right: 5rem;
    width: max-content;
}

.carousel-control-prev {
    opacity: 1;
    top: auto;
    bottom: 3rem;
    z-index: 999;
    right: calc(3rem + 7rem);
    left: auto;
    width: max-content;
}

.kebaikan_susu--container {
    /* max-width: 1440px; */
    width: 100%;
    height: auto;
    /* max-height: 100vh; */
    position: relative;
    margin: 0 auto;
    background: #f8f0ca;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.section-smartpedia {
    position: relative;
}

.section-smartpedia::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0.6;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
}

.scene_0--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-0-background.jpg");
}

.scene_0--logo {
    position: absolute;
    width: 50%;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 985 / 801;
    background-image: url("../images/smartpedia/kebaikansusu/section-0-logo.png");
    opacity: 0;
    animation: linear 1s forwards;
}

.scene_0--question_mark {
    position: absolute;
    width: 7%;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
    /* animation: jello linear 2s infinite; */
    cursor: pointer;
}

.scene_1--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-1-background.jpg");
}

.scene_1--question_mark1 {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1 / 1;
    /* animation: jello linear 2s infinite; */
    cursor: pointer;
}

.scene_1--question_mark2 {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_1--bubble1 {
    position: absolute;
    width: 21vw;
    left: 14%;
    transform: translate(-50%, 0);
    top: 12%;
    background-image: url("../images/smartpedia/kebaikansusu/section-1-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 435 / 113;
}

.scene_1--bubble2 {
    position: absolute;
    width: 21vw;
    left: 48%;
    transform: translate(-50%, 0);
    top: 18%;
    background-image: url("../images/smartpedia/kebaikansusu/section-1-bubble-2.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 447 / 154;
}

.scene_1--bubble3 {
    position: absolute;
    width: 21vw;
    left: 26%;
    transform: translate(-50%, 0);
    bottom: 5%;
    background-image: url("../images/smartpedia/kebaikansusu/section-1-bubble-3.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 499 / 81;
}

.scene_1--vido {
    position: absolute;
    width: 270px;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 100px;
    background-image: url("../images/smartpedia/kebaikansusu/scene1-talent.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 363 / 722;
}

.scene_2--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-2-background.jpg");
}

.scene_2--vido {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background-image: url("../images/smartpedia/kebaikansusu/scene2-talent-rev1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
}

.scene_2--bubble1 {
    position: absolute;
    width: 33vw;
    left: 30%;
    top: 5%;
    background-image: url("../images/smartpedia/kebaikansusu/section-2-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 759 / 74;
}

.scene_2--bubble2 {
    position: absolute;
    width: 36vw;
    left: 30%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/section-2-bubble-2.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 760 / 163;
}

.scene_3--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-3-background.jpg");
}

.scene_3--bubble1 {
    position: absolute;
    width: 41vw;
    left: 25%;
    bottom: 75%;
    background-image: url("../images/smartpedia/kebaikansusu/section-3-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 913 / 201;
}

.scene_3--bubble2 {
    position: absolute;
    width: 40vw;
    right: 0;
    bottom: 10px;
    background-image: url("../images/smartpedia/kebaikansusu/section-3-bubble-2.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 871 / 81;
}

.scene_3--talent {
    position: absolute;
    width: 23vw;
    left: 8%;
    bottom: 0;
    background-image: url("../images/smartpedia/kebaikansusu/vido-susu-talent.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 504 / 769;
    z-index: 99;
}

.scene_3--question_mark {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_4--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-4-background.jpg");
}

.scene_4--bubble1 {
    position: absolute;
    width: 41vw;
    left: 25%;
    bottom: 75%;
    background-image: url("../images/smartpedia/kebaikansusu/section-4-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 913 / 164;
}

.scene_4--question_mark {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_5--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-5-background.jpg");
}

.scene_5--bubble1 {
    position: absolute;
    width: 44vw;
    left: 30%;
    top: 3%;
    background-image: url("../images/smartpedia/kebaikansusu/section-5-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 815 / 141;
}

.scene_5--doodle1 {
    position: absolute;
    width: 11vw;
    right: 15%;
    bottom: 58%;
    background-image: url("../images/smartpedia/kebaikansusu/section-5-doodle-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 209 / 234;
}

.scene_5--doodle2 {
    position: absolute;
    width: 9vw;
    left: 17%;
    bottom: 59%;
    background-image: url("../images/smartpedia/kebaikansusu/section-5-doodle-2.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 206 / 241;
}

.scene_5--question_mark {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_truk--video {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: bottom left;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-5-background.jpg");
    aspect-ratio: 16 / 9;
}

.scene_6--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: bottom left;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-6-background.jpg");
}

.scene_6--bubble {
    position: absolute;
    width: 50vw;
    left: 5%;
    top: 5%;
    background-image: url("../images/smartpedia/kebaikansusu/section-6-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1204 / 301;
}

.scene_6--box-1 {
    position: absolute;
    left: 24%;
    bottom: 26%;
    width: 48vw;
    aspect-ratio: 1103 / 154;
    overflow: hidden;
}

.scene_6--box-2 {
    position: absolute;
    width: 39vw;
    left: 56%;
    bottom: 42.5%;
    aspect-ratio: 675 / 116;
    overflow: hidden;
}

.scene_6--produk1 {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    animation-name: leftRight;
    animation-duration: 2s;
}

.scene_6--produk2 {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    animation-name: leftRight;
    animation-duration: 2s;
}

.scene_6--talent {
    position: absolute;
    width: 24vw;
    right: 2%;
    bottom: 0;
    background-image: url("../images/smartpedia/kebaikansusu/section-6-talent-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 561  / 756;
}

.scene_6--question_mark {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    background-image: url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_7--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: bottom left;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-7-background.jpg");
}

.scene_7--bubble {
    position: absolute;
    width: 50vw;
    left: 5%;
    top: 5%;
    background-image: url("../images/smartpedia/kebaikansusu/section-7-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1063 / 280;
}

.scene_7--produk {
    position: absolute;
    width: 80%;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: 50px;
    background-image:
    url("../images/smartpedia/kebaikansusu/section-7-produk.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1626 / 438;
}

.scene_7--question_mark {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    transform: translateX(-50%);
    background-image:
    url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_7--question_mark2 {
    position: absolute;
    width: 6vw;
    height: auto;
    right: 5%;
    top: 10%;
    transform: translateX(-50%);
    background-image:
    url("../images/smartpedia/kebaikansusu/klik-disini-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    /* animation: jello linear 2s infinite; */
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.scene_8--background1 {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: bottom left;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-8-background.jpg");
    animation-name: zoomOut2
}

.scene_8--background2 {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: bottom left;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/section-2-background.jpg");
    animation-name: zoomOut1
}

.scene_8--bubble {
    position: absolute;
    width: 61%;
    left: 5%;
    top: 2%;
    background-image: url("../images/smartpedia/kebaikansusu/section-8-bubble-1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1156 / 261;
}

.scene_8--produk {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: 0;
    background-image:
    url("../images/smartpedia/kebaikansusu/section-8-produk.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 1920 / 976;
}

.scene_9--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/scene9-background.jpg");
}

.scene_9--bubble_bg {
    position: absolute;
    background-color: white;
    border-radius: 20px;
    width: 380px;
    height: auto;
    left: 69%;
    bottom: 480px;
    padding: 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #106ca1;
    text-align: left;
    -webkit-box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.63);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.63);
    /* aspect-ratio: 566 / 347; */
    z-index: 1;
}

.scene_9--bubble_fg {
    position: absolute;
    background-color: white;
    border-radius: 20px;
    width: 37%;
    height: auto;
    left: 2%;
    top: 51%;
    padding: 30px;
    font-size: 16px;
    line-height: 1.7;
    color: #106ca1;
    text-align: LEFT;
    -webkit-box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.63);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.63);
    /* aspect-ratio: 757 / 526; */
    z-index: 4;
}

.scene_9--vido {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background-image: url("../images/smartpedia/kebaikansusu/scene9-talent-rev1.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    z-index: 2;
}

.scene_9--vcall_kanan {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background-image: url("../images/smartpedia/kebaikansusu/scene9-vcal-kanan.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    z-index: 3;
}

.scene_9--vcall_kiri {
    position: absolute;
    width: 100%;
    right: 0;
    top: 0;
    background-image: url("../images/smartpedia/kebaikansusu/scene9-vcal-kiri.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    z-index: 3;
}

.scene_10--background {
    position: absolute;
    right: 0;
    top: 0;
    margin: auto;
    background-size: cover;
    background-position: top right;
    width: 100%;
    height: 100%;
    background-image: url("../images/smartpedia/kebaikansusu/scene10-background.jpg");
}

.scene_10--bubble {
    position: absolute;
    background-color: white;
    border-radius: 20px;
    width: 50%;
    height: auto;
    right: 50%;
    transform: translateX(50%);
    top: 66%;
    padding: 50px 50px;
    font-size: 16px;
    line-height: 1.7;
    color: #106ca1;
    text-align: center;
    -webkit-box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.63);
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.63);
    /* aspect-ratio: 983 / 275; */
    z-index: 1;
}

.scene_10--vido {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    background-image: url("../images/smartpedia/kebaikansusu/scene10-food.png");
    background-size: contain;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
    z-index: 2;
}

@media (max-width: 510px) {
    .kebaikan_susu--container {
        aspect-ratio: 497 / 407;
    }

    .scene_0--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-0-background-mobile.jpg");
    }

    .scene_0--logo {
        display: none;
    }

    .scene_1--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-1-background-mobile.jpg");
    }

    .scene_1--bubble1 {
        width: 26vw;
        left: 19%;
        top: 25%;
    }
    
    .scene_1--bubble2 {
        width: 26vw;
        left: 50%;
        top: 35%;
    }
    
    .scene_1--bubble3 {
        width: 26vw;
        left: 26%;
        bottom: 17%;
    }

    .scene_2--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-2-background-mobile.jpg");
    }

    .scene_2--bubble1 {
        width: 50vw;
        left: 20%;
    }
    
    .scene_2--bubble2 {
        width: 50vw;
        left: 20%;
    }

    .scene_3--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-3-background-mobile-rev1.jpg");
    }

    .scene_3--bubble1 {
        width: 55vw;
        left: 10%;
        bottom: auto;
        top: 5%;
    }

    .scene_4--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-4-background-mobile.jpg");
    }

    .scene_4--bubble1 {
        width: 55vw;
        left: 10%;
        bottom: auto;
        top: 5%;
    }

    .scene_5--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-5-background-mobile.jpg");
    }
    
    .scene_5--bubble1 {
        position: absolute;
        width: 50vw;
        left: 14%;
        top: 10%;
    }

    .scene_5--doodle1 {
        position: absolute;
        width: 13vw;
        right: 20%;
        bottom: 66%;
    }
    
    .scene_5--doodle2 {
        position: absolute;
        width: 13vw;
        left: 15%;
        bottom: 60%;
    }

    .scene_6--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-6-background-mobile.jpg");
    }

    .scene_6--talent {
        width: 38vw;
    }

    .scene_6--bubble {
        width: 78vw;
    }

    .scene_6--box-1 {
        left: 14%;
        bottom: 24%;
        width: 68vw;
    }
    
    .scene_6--box-2 {
        width: 50vw;
        left: 39%;
        bottom: 37%;
    }

    .scene_7--background {
        background-image: url("../images/smartpedia/kebaikansusu/section-7-background-mobile.jpg");
    }

    .scene_7--produk {
        width: 90%;
    }

    .scene_7--bubble {
        width: 77vw;
    }

    .scene_8--background1 {
        background-image: url("../images/smartpedia/kebaikansusu/section-8-background-mobile.jpg");
    }

    .scene_8--bubble {
        width: 77%;
        top: 5%;
    }

    .scene_8--produk {
        width: 22vw;
        left: 63%;
        bottom: 11%;
        background-image: url("../images/smartpedia/kebaikansusu/section-8-produk-mobile.png");
        aspect-ratio: 273 / 283;
    }

    .scene_0--question_mark {
        width: 11%;
    }

    .scene_3--talent {
        width: 38vw;
        left: 5%;
        bottom: 6%;
        background-image: url("../images/smartpedia/kebaikansusu/talent-vido-mobile.png");
        aspect-ratio: 188 / 285;
    }

    .scene_3--bubble2 {
        width: 61vw;
    }
}


/* Animation */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes leftRight {
    from {
        margin-left: -100%;
    }
    to {
        margin-left: 5%;
    }
}

@keyframes zoomOut1 {
    0% {
        transform: scale(2);
        -ms-transform: scale(2);
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1);
        -ms-transform: scale(1);
        opacity: 0;
    }
}

@keyframes zoomOut2 {
    0% {
        transform: scale(2);
        -ms-transform: scale(2);
    }
    100% {
        transform: scale(1);
        -ms-transform: scale(1);
    }
}

@keyframes zoom {
    0% {
        transform: scale(1);
        -ms-transform: scale(1);
    }
    50% {
        transform: scale(4.5) translate(-5%, -1%);
        -ms-transformm: scale(4.5) translate(-5%, -1%);
    }
    100% {
        transform: scale(9) translate(-10%, -2%);
        -ms-transformm: scale(9) translate(-10%, -2%);
    }
}