@font-face {
    font-family: 'Myriad Pro';
    src: url('path/to/fonts/MyriadPro-Regular.woff2') format('woff2'),
    url('path/to/fonts/MyriadPro-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

.text-center {
    text-align: center;
}

.makefitparagraph {
    text-align: justify;
    padding-left: 20px;
    padding-right: 20px;
}

body {
    font-family: 'Myriad Pro', Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f1f1f1;
    transition: background-color 0.3s, color 0.3s;
}

body.night-mode {
    background-color: #333;
    color: #fff;
}

.navbar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

body.night-mode .links-container a:hover {
    color: lightpink;
}

.navbar {
    background-color: white;
    border-radius: 24px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
    display: flex;
    align-items: center;
    padding: 10px 15px;
    width: 100%;
    position: relative;
    justify-content: space-between;
}

.night-mode .navbar {
    background-color: #444;
    box-shadow: 0 1px 6px rgba(255, 255, 255, 0.1);
}

body.night-mode .links-container a {
    color: pink;
}

.links-container a:hover {
    text-decoration: underline;
}

.logo {
    margin-right: 0px;
    z-index: 1001;
    flex: 0 0 auto;
}

.logo img {
    height: 36px;
    width: fit-content;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: auto;
    z-index: 1000;
    overflow-x: visible;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0;
    margin: 0 auto;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 40px;
    justify-content: flex-start;
    white-space: nowrap;
}

.nav-menu li {
    position: relative;
}

.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1002;
    margin-top: 5px;
}

.night-mode .dropdown-content {
    background-color: #444;
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 12px 24px;
    display: block;
    white-space: nowrap;
    color: #5f6368;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.night-mode .dropdown-content a {
    color: #e0e0e0;
}

.dropdown-content a:hover {
    background-color: #f1f3f4;
    color: #202124;
}

.night-mode .dropdown-content a:hover {
    background-color: #555;
    color: #fff;
}

.dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s;
}

.dropdown:hover > a::after,
.dropdown:focus-within > a::after,
.dropdown.active > a::after {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        overflow-y: auto;
        max-height: 300px; /* batas tinggi dropdown */
        padding-left: 20px;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 10px 40px;
    }
}

.nav-menu a {
    color: #5f6368;
    text-decoration: none;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 24px;
    transition: background-color 0.3s, color 0.3s;
}

.night-mode .nav-menu a {
    color: #e0e0e0;
}

.nav-menu a:hover {
    background-color: #f1f3f4;
    color: #202124;
}

.night-mode .nav-menu a:hover {
    background-color: #555;
    color: #fff;
}

.nav-menu a.active {
    color: #202124;
    font-weight: bold;
}

.night-mode .nav-menu a.active {
    color: #fff;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: black;
    border-radius: 1.5px;
}

.night-mode .nav-menu a.active::after {
    background-color: white;
}

.night-mode-toggle {
    background: none;
    border: none;
    color: #5f6368;
    font-size: 18px;
    cursor: pointer;
    margin-left: 15px;
}

.night-mode .night-mode-toggle {
    color: #e0e0e0;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #5f6368;
    padding: 10px;
    margin-left: auto;
    z-index: 1001;
}

.night-mode .hamburger {
    color: #e0e0e0;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.overlay.active {
    display: block;
}

.strikethrough {
    text-decoration: line-through;
}

@media screen and (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        transition: 0.3s;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding-top: 50px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .nav-scroll-indicator {
        display: none;
    }

    .night-mode .nav-menu {
        background-color: #444;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        height: auto;
        width: 100%;
        padding: 20px 0;
    }

    .nav-menu li {
        width: 100%;
        margin: 10px 0;
    }

    .nav-menu a {
        display: block;
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        overflow-y: auto;
        padding-left: 20px;
    }

    .dropdown-content::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown-content::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 3px;
    }

    .dropdown-content a {
        padding: 10px 40px;
    }

    .nav-menu a.active::after {
        display: none;
    }

    .logo {
        margin-left: 15px;
    }
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.bg-image-opacity {
    background: linear-gradient(to left, rgba(0, 0, 0, 0) -1000%, rgba(0, 0, 0, 0.6) 100%),
    url('https://images.unsplash.com/photo-1478098711619-5ab0b478d6e6?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MjB8fGNhdCUyMHdhbGxwYXBlcnxlbnwwfHwwfHx8MA%3D%3D');
    /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 300px;
}

.bg-custom {
    background:
        linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)),
            /* Fade effect */
        url('https://images.unsplash.com/photo-1478098711619-5ab0b478d6e6?fm=jpg&q=60&w=3000&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MjB8fGNhdCUyMHdhbGxwYXBlcnxlbnwwfHwwfHx8MA%3D%3D');
    /* Replace with your image URL */
    background-size: cover;
    /* Ensure the image covers the container */
    background-position: center center;
    /* Center the image */
    color: white;
    /* Text color */
}

.container-fluid {
    position: relative;
    /* Allow text to be on top of the background */
    z-index: 1;
}

/* Default style for anchor tags with href */
.hyperlink {
    text-decoration: none;
    transition: color 0.3s;
}

/* Dark mode adjustments for anchor tags with href */
.body.night-mode hyperlink {
    color: lightpink !important; /* Apply lightpink color for dark mode */
}

/* Optional: Dark mode hover effect */
.body.night-mode hyperlink:hover {
    color: #ff1493; /* A darker pink for hover */
}
