@import url("https://fonts.googleapis.com/css2?family=Audiowide&family=Mogra&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    font-family: "Plus Jakarta Sans", serif;
    font-weight: 600;
    font-style: bold;
}

#jdl-pra {
    color: white;
    font-size: larger;
    font-weight: bold;
}

#sidebar-btn {
    left: 10px;
}

nav {
    box-shadow: 0px 7px 12px 0px rgba(0, 0, 0, 0.3);
}

.logo-sija {
    max-width: 35px;
    max-height: 40px;
    filter: drop-shadow(10px 10px 10px rgba(0, 0, 0, 0.5));
    transition: all 0.3s ease-in-out;
    scale: 1.6;
}

.logo-sija:hover {
    transform: scale(1.05);
    cursor: pointer;
}

.collapse {
    justify-content: center;
}

.navbar1 {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.custom-navbar {
    display: flex;
    background-color: #213555;
}

.navbar-brand {
    color: white;
    font-weight: 600;
    font-style: bold;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #213555;
    padding: 8px 10px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-item {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: white;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link.active-underline {
    border-bottom: 2px solid white;
    transition: all 0.3s ease-in-out;
}

.nav-link.active-underline:hover {
    transform: scale(1.05);
}

.nav-link:hover {
    color: white;
    transform: scale(1.03);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.nav-link:hover::after {
    width: 100%;
    left: 0;
    transform: translateX(0);
}

.nav-link::after {
    animation: disappear 0.3s ease-in-out forwards;
}

.nav-link:hover::after {
    animation: none;
}

@keyframes disappear {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

#nav-search::after {
    display: none;
}

#nav-search {
    pointer-events: auto;
}

.button-log {
    display: flex;
    align-items: center;
    gap: 10px;
}

#login-button,
#buat-konten-button {
    font-size: small;
    border-radius: 6px;
    padding: 5px 15px;
    border: 2px solid white;
    transition: all 0.3s ease-in-out;
}

#login-button {
    background-color: transparent;
    color: white;
}

#login-button:hover {
    background-color: #4073d2;
    border-color: #4073d2;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

#buat-konten-button {
    background-color: #4073d2;
    color: white;
    border: 2px solid #4073d2;
}

#buat-konten-button:hover {
    background-color: #1f509a;
    border-color: #1f509a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.nav-anu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-left: 100px;
    transition: all 0.3s ease-in-out;
}

#btn-login {
    margin-bottom: 20px;
}

#sidebar-btn {
    display: none;
}

@media only screen and (max-width: 991px) {
    #sidebar-btn {
        display: contents;
    }

    nav {
        padding: 0;
    }

    .container-fluid {
        padding: 0;
    }

    .hero {
        padding: 0;
    }

    .offcanvas {
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    }

    .container-fluid button {
        right: 10px;
    }

    #login-button {
        color: black;
        border: 2px solid black;
    }

    ul li {
        padding-bottom: 20px;
    }

    .nav-link {
        border-bottom: 1px #c7c8cc solid;
        width: 100%;
    }

    .nav-link:hover {
        border-radius: 5px;
        height: 43px;
        width: 100%;
        transition: all 0.3s ease-in-out;
        transform: scale(1.05);
        box-shadow: 0px 7px 12px 0px rgba(0, 0, 0, 0.5);
        color: white;
        background-color: #213555;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link-mobile-hover {
        color: white !important;
    }
}

@media only screen and (max-width: 1205px) {
    .nav-anu {
        margin-left: 20px;
        font-size: medium;
        padding: 0;
        width: 0;
    }
}

@media only screen and (max-width: 1138px) {
    .nav-anu {
        font-size: small;
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1e2a38;
    color: white;
    padding: 15px 30px;
}

.navbar h1 {
    margin: 0;
}

.navbar ul {
    list-style: none;
    padding: 0;
    display: flex;
}

.navbar ul li {
    margin: 0 15px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
}

.styling {
    text-align: center;
}

@media only screen and (max-width: 991px) {
    .nav-link::after {
        display: none !important;
    }
}
