@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

html {
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: "Montserrat";
}

.button {
    align-items: center;
    justify-content: space-between;
    width: max-content;
    height: min-content;
    padding: 0.3em;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    flex-shrink: 1;
}

.button-text {
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    margin-block: 0.8em;
    margin-left: 1.8em;
    margin-right: 1em;
    letter-spacing: 0.1em;
    font-size: inherit;
}

.button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
    width: auto;
    height: 3.2em;
    border-radius: 50%;
    flex-shrink: 1;
}

.button-icon svg {
    margin: 0.3em;
    padding: 0.1em;
    width: 100%;
    height: 25px;
}

.scrollbar-hidden {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

/* responsive navbar -> sidebar */
@media (max-width: 767px) {
    #navbar-default{
        position: fixed;
        height: 100%;
        width: 190px;
        top: 0;
        right: 0;
        padding: 60px 25px 20px 25px;
        background-color: #FFFFFF;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    }

    #navbar-default .navbar-list{
        text-align: left;
        gap: 22px;
    }
}

/* hamburger -> close button */
.menuBtn,
.closeBtn {
    transition: opacity 0.15s ease;
}

/* Saat tombol dalam keadaan aktif */
#toggleBtn.active .menuBtn {
    opacity: 0;
    pointer-events: none;

}

#toggleBtn.active .closeBtn {
    opacity: 1;
    pointer-events: auto;
}