:satu {
    font-size: 16px;
    /* 1rem = 16px base */
}

* {
    margin: 0;
    padding: 0;
    scrollbar-width: thin;
    color: #abd69e #CBECEE #FDF6E2 #FDC9E5 #FBD985 #4455B1 #3F7B5C #c9d9f8
}

html {
    width: 100%;
}

body {
    margin: 0;
    padding: 0px;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

main {
    width: 100%;
    display: flex;
    flex-direction: row;
    overflow-x: hidden;
}

h2 {
    color: #F0D3ED;
    text-shadow:
        -1px -1px 0 #4455B1,
        0 -1px 0 #4455B1,
        1px -1px 0 #4455B1,
        1px 0 0 #4455B1,
        1px 1px 0 #4455B1,
        0 1px 0 #4455B1,
        -1px 1px 0 #4455B1,
        -1px 0 0 #4455B1;
    font-family: "Mansalva";
    font-size: 2.5rem;
}

.tombol {
    width: 8%;
    height: calc(100vh - 100px);
    padding: 50px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: url('https://ik.imagekit.io/elaravoid/sunera-sae/dithered/1000178899-dithered_RdlgZ_Diw.png?updatedAt=1785664162141');
    background-size: 40%;
    background-attachment: fixed;
}

button {
    border: 4px double #4455B1;
    padding: 5px 10px;
    background: linear-gradient(0deg, #FDC9E5, #FDF6E2);
    font-size: 1rem;
    color: #4455B1;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    font-family: "Mansalva";
}

button:hover {
    scale: 1.1;
}

.map {
    width: 52%;
    height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    background: url('https://ik.imagekit.io/elaravoid/sunera-sae/dithered/1000178926-dithered.png?updatedAt=1785664081680');
    background-size: 50%;
    background-attachment: fixed;
    border-left: 4px double #3F7B5C;
    border-right: 4px double #3F7B5C;
    background-position: 25% top;
    padding: 50px 20px 50px 20px;
}

.map a {
    background: #3F7B5C;
    color: #FDF6E2;
    padding: 0 4px;
    text-decoration: none;
}

.map a:hover {
    background: #4455B1;
}

.tree,
.tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tree ul {
    margin-left: 33px;
}

.tree li {
    position: relative;
    padding: 5px 0 0px 48px;
    white-space: nowrap;
    color: #4455B1;
    font-family: "Mansalva";
}

.tree li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: 0;
    width: 45px;
    height: 0;
}

.satu li::before {
    border-top: 2px solid #3F7B5C;
}

.dua li::before {
    border-top: 2px dashed #3F7B5C;
}

.tiga li::before {
    border-top: 2px dotted #3F7B5C;
}

.tree li::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
}

.satu li::after {
    border-left: 2px solid #3F7B5C;
}

.dua li::after {
    border-left: 2px dashed #3F7B5C;
}

.tiga li::after {
    border-left: 2px dotted #3F7B5C;
}

.tree li:last-child::after {
    height: 19px;
}

.tree>li::before,
.tree>li::after {
    display: none;
}

.label {
    display: inline-block;
    padding: 0px 0px;
    color: #3F7B5C;
    font-family: "Mansalva";
}

.disable {
    opacity: 0.5;
    pointer-events: none;
}

.updates {
    background: url('https://ik.imagekit.io/elaravoid/sunera-sae/dithered/1000178899-dithered_RdlgZ_Diw.png?updatedAt=1785664162141');
    background-size: 50%;
    background-attachment: fixed;
    height: calc(100vh - 100px);
    width: 40%;
    overflow-y: auto;
    padding: 50px 50px 50px 20px;
}


@media screen and (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    main {
        display: flex;
        flex-direction: column;
    }

    .tombol {
        width: calc(100% + 30px);
        height: 15px;
        padding: 0;
        background-size: 70%;
    }

    .map {
        border: none;
        border-top: 4px double #3F7B5C;
        border-bottom: 4px double #3F7B5C;
        width: calc(100% + 30px);
        height: fit-content;
        padding: 15px 0px;
        background-size: 110%;
        background-attachment: scroll;
        background-position: center;
        margin-left: -10px;
    }

    .tree ul {
        margin-left: 25px;
    }

    .tree li {
        padding: 5px 0 0px 30px;
    }

    .tree li::before {
        content: "";
        position: absolute;
        top: 17px;
        left: 0;
        width: 27px;
    }

    .updates {
        width: calc(100% - 30px);
        height: fit-content;
        min-height: 10rem;
        padding: 15px;
        background-size: 70%;
    }

}