.container {
    height: 100dvh;
    min-height: 100svh;
}

.fixed-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 65vw;
    height: 100dvh;
    min-height: 100svh;
    background: url(../img/fixed-area.jpeg) center/cover no-repeat;
    color: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

/* .fixed-area h2 {
    font-family: var(--font-biasa);
    font-size: 1rem;
}

.fixed-area h1 {
    font-family: var(--font-kaligrafi);
    font-size: 3rem;
} */

.scrollable-content {
    position: fixed;
    right: 0;
    top: 0;
    width: 35vw;
    height: 100dvh;
    min-height: 100svh;
    overflow: hidden;
    background: transparent;
    min-width: 0;
    z-index: 0;
}

.slideshow {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fade 20s infinite both ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: opacity;
    backface-visibility: hidden;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5));
    z-index: 1;
    pointer-events: none; /* penting supaya tidak menghalangi interaksi */
}

.s1 { 
    animation-delay: 0s;
}
.s2 { 
    animation-delay: 5s;
}
.s3 { 
    animation-delay: 10s;
}
.s4 { 
    animation-delay: 15s;
}


@keyframes fade {
    0%   { opacity: 0; }
    5%   { opacity: 1; }
    25%  { opacity: 1; }
    30%  { opacity: 0; }
    100% { opacity: 0; }
}

.content-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
}
