/* font setter */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wdth,wght@75..125,300..700&display=swap');
* {
    font-family: "Fredoka", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-variation-settings: "wdth" 100;
    line-height: 1.5;
}
/* fixer ghost margin padding browser */
* {
    margin: 0;
    padding: 0;
}
/* box sizing fixer agar ukuran box content tidak melebar otomatis */
* {
    box-sizing: border-box;
}
/* fixer image agar dapat secara otomatis menyesuaikan ukuran parent */
img {
    width: 100%;
    height: auto;
    display: block;
}
/* span highlighter teks */
span.hl {
    background-color: rgb(174, 102, 255);
    border-radius: 5px;
    color: #ffebde;
}
/* accent page */
body {
    background-color: #ffd988;
}
/* margin top fixer pada element teratas agar background tidak turun */
#marginTopFixer {
    /* background color hanya untuk debugging, disable jika tidak perlu */
    /* background-color: rgba(82, 82, 82, 0.363); */
}
/* margin down fixer, opsional agar ada jarak di bagian bawah halaman */
#marginDownFixer {
    /* background color hanya untuk debugging, disable jika tidak perlu */
    /* background-color: rgba(82, 82, 82, 0.363); */
}
/* background SVG */
/* bagian background SVG */
#conBackgroundSvg {
    position: fixed;
    z-index: -1;
}
#langitDinamis {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
}
#backgroundSvg>svg {
    height: 100%;
    width: 100%;
}
/* blurer background */
#backgroundSvg {
    position: absolute;
    width: 100%;
    height: 100%;
    filter: blur(7px);
    z-index: 1;
}
/* overlayer filter warna */
#backgroundSvg::before {
    content: "";
    position: absolute;
    inset: -70px;
    background: rgba(143, 93, 0, 0.493);
    z-index: 1;
    pointer-events: none;
}
/* tombol */
button {
    cursor: pointer;
    border: none;
    font-weight: 550;
    background-color: #F7BFD8;
    color: rgb(97, 55, 0);
    border-radius: 100px;
    padding: 10px;
    text-overflow: ellipsis;
    outline: 3px solid #c498ac;
}
button:hover {
    color: white;
    animation: buttonFly 0.3s forwards;
    box-shadow: 0px 10px rgba(0, 0, 0, 0.144);
    background-color: #f86f39;
    outline: 3px solid #c0562c;
}
@keyframes buttonFly {
    from {
        transform: translateY();
    }
    to {
        transform: translateY(-3px);
    }
}
button:active {
    color: white;
    animation: buttonPress 0.05s forwards;
    background-color: #c0562c;
    outline: 3px solid #f86f39;
}
@keyframes buttonPress {
    from {
        box-shadow: 0px 10px rgba(0, 0, 0, 0.144);
        transform: translateY();
    }
    to {
        box-shadow: 0px 0px rgba(0, 0, 0, 1);
        transform: translateY(3px);
    }
}



/* animation keyframe universal. Digunakan dengan class */
.zoomInEnter {
    pointer-events: none;
    animation-name: zoomInEnter, interactionFixer;
    animation-duration: 0.5s, 0s;
    animation-delay: 0s, 0.5s;
    animation-fill-mode: forwards, forwards;
}
@keyframes zoomInEnter {
    from {
        opacity: 0;
        transform: scale(-0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.swipeUpEnter {
    pointer-events: none;
    animation-name: swipeUpEnter, interactionFixer;
    animation-duration: 0.5s, 0s;
    animation-delay: 0s, 0.5s;
    animation-fill-mode: forwards, forwards;
}
@keyframes swipeUpEnter {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0px);
        pointer-events: auto;
    }
}

.swipeDownEnter {
    pointer-events: none;
    animation-name: swipeDownEnter, interactionFixer;
    animation-duration: 0.5s, 0s;
    animation-delay: 0s, 0.5s;
    animation-fill-mode: forwards, forwards;
}
@keyframes swipeDownEnter {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
        
    to {
        opacity: 1;
        transform: translateY(0px);
        pointer-events: auto;
    }
}


@keyframes interactionFixer {
    from {
        pointer-events: none;
    }
    to {
        pointer-events: auto;
    }
}


/* main version */
/* container */
div.container {
    /* border hanya untuk debugging, disable jika tidak perlu */
    /* border: 1px solid blue; */
    max-width: 100%;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}
/* container untuk konten text only */
div.conText {
    width: 900px;
}
/* container untuk konten default */
div.conDeft {
    width: 1300px;
}
/* container untuk konten kompleks */
div.conComp {
    width: 1440px;
}
/* container untuk background website */
div.conBack {
    width: 100vw;
    height: 100vh;
}

/* child */
div.child {
    /* border hanya untuk debugging, disable jika tidak perlu */
    /* border: 1px solid gold; */
}
