.lottie-container {
    position: relative;
    height: 70vh; 
}

.lottie-container .animation {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    background: #efefef;
    height: 100vh;
    z-index: -1;
    animation: shake-rotate 4s ease-in-out 2;
    -webkit-animation: shake-rotate 4s ease-in-out 2;
}

@keyframes shake-rotate {

    0%,
    100% {
        transform: rotate(0deg) translateX(0) translateY(0);
    }

    25% {
        transform: rotate(0.2deg) translateX(0.2px) translateY(-0.1px);
    }

    50% {
        transform: rotate(-0.2deg) translateX(-0.2px) translateY(0.1px);
    }

    75% {
        transform: rotate(-0.3deg) translateX(-0.3px) translateY(0);
    }
} 

@keyframes pause-shake {

    0%,
    62.5% {
        animation-play-state: running;
    }

    62.6%,
    100% {
        animation-play-state: paused;
    }
}


#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

.gradient {
    width: 100%;
    height: 70vh;
    position: relative;
    /* background: linear-gradient(to top, #efefef , transparent); */
    bottom: 0;
    left: 0;
    z-index: 0;
}

.gradient::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #efefef, transparent);
    z-index: 0;
}

/*  */
/* .arrow {
    position: absolute;
    top: 90%;
    right: 5%;
    cursor: pointer;
    z-index: 2;
    width: auto;
    transition: 1s;
    padding: 20px;
} */

/* .arrow span {
    display: block;
    width: 2.5vw;
    height: 2.5vw;
    border-bottom: 5px solid var(--putih);
    border-right: 5px solid var(--putih);
    transform: rotate(45deg);
    animation: animate 2s infinite;
    border-radius: 4px;
}

.arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.arrow span:nth-child(3) {
    animation-delay: -0.4s;
} */

/* WELCOME */
.welcome-body {
    background: var(--bg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 100px 0;
}

.welcome-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px;
    gap: 30px;
}

.welcome-content .judul-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap: 10px;
}

.welcome-content .judul-body .h3 {
    font-size: 20px;
    font-weight: bolder;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--hijau);
}

.welcome-content .judul-body .h2 {
    /* -webkit-text-stroke: 1px #03774A;
    text-stroke: 1px #03774A; */
    -webkit-text-stroke: 2px transparent;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--ijojo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-content .judul-body .h2 .h2-1,
.welcome-content .judul-body .h2 .h2-2 {
    text-transform: uppercase;
    font-weight: bolder;
    font-size: 1.5em;
}

.welcome-content .desc-body {
    font-size: 18px;
    text-align: justify;
    max-width: 50vw;
}

/* Button */

.box-barang-next {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column;
    font-size: 1.2em;
    padding: 10px;
    font-weight: bolder;
}
.box-barang-next p {
    font-size: 1.5em;
}
.box-barang-next a {
    position: relative;
    padding: 10px;
    padding-left: 30px;
    padding-right: 30px;
    background: linear-gradient(white, white) padding-box,
        var(--ijojo) border-box;
    border-radius: 15px;
    border: 1px solid transparent;
    text-decoration: none;
    color: var(--hijau);
    font-size: 15px;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
    overflow: hidden;
}

.box-barang-next a:hover {
    transform: rotate(-3deg) scale(1.1);
    -webkit-transform: rotate(-3deg) scale(1.1);
    -moz-transform: rotate(-3deg) scale(1.1);
    -ms-transform: rotate(-3deg) scale(1.1);
    -o-transform: rotate(-3deg) scale(1.1);
    background: linear-gradient(white, white) padding-box,
        var(--kunjo) border-box;
}

.box-barang-next a:before {
    content: "";
    position: absolute;
    top: -30px;
    left: -100px;
    width: 100px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--putih));
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transition: 0.5s;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -ms-transition: 0.5s;
    -o-transition: 0.5s;
}

.box-barang-next a:hover::before {
    left: 200px;
}

/* floating pop up */
.popup-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    text-decoration: none;
}

/* Style dasar popup */
.popup-container {
    position: relative; 
    height: 100px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px,        rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    border-radius: 20px 20px 50px 50px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1000;
    -webkit-transition: opacity 0.5s ease, transform 0.5s ease;
    -moz-transition: opacity 0.5s ease, transform 0.5s ease;
    -ms-transition: opacity 0.5s ease, transform 0.5s ease;
    -o-transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Tampilkan popup saat memiliki kelas active */
.popup-container.active {
    opacity: 1;
    transform: translateY(0);
}

.popup-container img {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

/* Gaya teks dalam popup */
.popup-text {
    flex: 1;
    font-size: 12px;
    color: #333;
    text-align: center;
}

/* Tombol close */
.popup-close {
    position: fixed;
    background: #efefef;
    border: none;
    bottom: 40px;
    right: 95px;
    font-size: 18px;
    cursor: pointer;
    color: #666;
    width: 50px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
    -webkit-transition: opacity 0.6s ease, transform 0.6s ease;
    -moz-transition: opacity 0.6s ease, transform 0.6s ease;
    -ms-transition: opacity 0.6s ease, transform 0.6s ease;
    -o-transition: opacity 0.6s ease, transform 0.6s ease;
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    -o-transform: translateY(20px);
    z-index: 1100;
}

.popup-close.active{
    opacity: 1;
    transform: translateY(15px);
    -webkit-transform: translateY(15px);
    -moz-transform: translateY(15px);
    -ms-transform: translateY(15px);
    -o-transform: translateY(15px);
}

.popup-close:hover {
    color: var(--hijau);
}
