* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}



.nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.nav>li {
    position: relative;
}

.nav a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    cursor: pointer;
}

.dropdown-menu {
    width: 250px;
    height: 500px;
    overflow: auto;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: white;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
}

.dropdown-menu a:hover {
    background-color: #3f3f3f;
    color: white;
}


.dropdown-menu li a {
    padding: 10px;
    display: block;
}

.dropdown-menu a {
    border-bottom: 1px solid #ccc;
    font-size: smaller;
    border-bottom: 1px solid #ccc;
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.sidebar {
    width: 100%;
    padding: 20px 60px;
    /* background: linear-gradient(to right, #1cb5c0, skyblue); */
    background: linear-gradient(to left, #858585, #3b3b3b);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    bottom: 0;
    z-index: 100;
}

.side {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-family: Arial, sans-serif;
}



.tombol>nav>ul>li>a {
    text-align: center;
    background-color: #ffffff;
    width: 100px;
    height: 35px;
    padding: 0 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-decoration: none;
    color: rgb(48, 48, 48);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;

}

.nav li a {
    font-family: Arial, sans-serif;
}

.tombol>nav>ul>li>a:hover {
    transform: scale(1.1);
    /* background-color: #d7d7d7; */
    background-color: #3f3f3f;
    color: #ffffff;
}

.main {
    padding: 20px 40px 70px 40px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: large;
    /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
}

.main-2 {
    padding: 20px 40px 70px 40px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: large;
    background-color: #f5f5f5;
    /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
}

.main-3 {
    padding: 20px 40px 70px 40px;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: large;
    background-color: #ffffff;
    /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
}


.image img {
    width: 400px;
    height: 100%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

.toggle {
    display: none;
}

.label {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    padding: 20px;
    background-color: #f2f2f2;
    position: relative;
}

.label:hover {
    background-color: #ccc;
}

.label::before {
    content: "+";
    margin-right: 10px;
    font-size: 18px;
    transition: transform 0.3s ease;
}


.toggle:checked+.label::before {
    content: "−";
}

.toggle:checked+.label {
    background-color: #ccc;
}

.content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 10px;
    background-color: #fafafa;
    text-align: justify;
    border-bottom: 1px solid #858585;
}

.toggle:checked+.label+.content {

    max-height: 500px;
    padding: 10px;
}

.content p {
    padding: 20px;
}

.editorial {
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
}


.journal {
    margin: 0 auto;
    padding: 0px 30px 30px 30px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-entry {
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.editorial-entry {
    background-color: #f1f1f1;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.article-entry h3 {
    margin: 0 0 10px;
    color: #2a2a2a;
    background-color: #d4d4d4;
    padding: 15px;
}

.article-entry p {
    margin: 5px 0;
    font-size: 1rem;

}

.editorial-entry p {
    margin: 5px 0;
    font-size: 1rem;

}

.abstract {
    text-align: justify;
}

.journal>h3 {
    background-color: #d1d1d1;
    padding: 30px;
}



footer {
    background: #343434;
    color: white;
    padding: 15px 0;
    width: 100%;
}

footer img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.f-content {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin: auto;
    gap: 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.menu-toggle {
    display: none;
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1001;
    background: #33333300;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.mobile-sidebar {
    display: none;
}

@media (max-width: 1150px) {
    .sidebar {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .main {
        padding: 20px 20px 70px 20px;
        text-align: center;
        font-family: "Montserrat", sans-serif;
        font-size: large;
        /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
    }

    .main-2 {
        padding: 20px 20px 70px 20px;
        text-align: center;
        font-family: "Montserrat", sans-serif;
        font-size: large;
        background-color: #f5f5f5;
        /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
    }

    .main-3 {
        padding: 20px 20px 70px 20px;
        text-align: center;
        font-family: "Montserrat", sans-serif;
        font-size: large;
        background-color: #ffffff;
        /* box-shadow: 4px 0px 4px rgba(0, 0, 0, 0.4); */
    }

    .content p {
        padding: 10px;
    }
}


@media (max-width: 690px) {
    .tombol>nav>ul>li>a {
        width: 90px;
        height: 30px;
        font-size: 14px;
    }

    .f-content {
        display: flex;
        justify-content: center;
        text-align: center;
        align-items: center;
        margin: auto;
        width: auto;
        height: 20px;
    }

    .f-content p {
        font-size: 10px;
    }

    .tombol {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-sidebar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 220px;
        height: 100%;
        background: linear-gradient(to top, #7d7d7d, #3b3b3b);
        padding: 2rem 1rem;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
    }

    .mobile-sidebar.active {
        transform: translateX(0);
    }

    .mobile-sidebar ul {
        list-style: none;
        margin-top: 40px;
        padding: 0;
    }

    .mobile-sidebar li {
        margin-bottom: 1rem;
    }

    .mobile-sidebar a {
        display: flex;
        box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
        border-bottom: 1px solid #ccc;
        font-weight: 600;
        /* color: #242424; */
        color: #e3e3e3;
        text-decoration: none;
        font-size: 15px;
        padding: 10px;
        font-family: Arial, Helvetica, sans-serif;
    }

    .mobile-sidebar a:hover {
        background-color: #4f4f4f;
        color: #ededed;
    }


    .image img {
        width: 250px;
        height: 100%;

    }

    h2 {
        font-size: 20px;
        padding: 5px;
    }

    .journal>h3 {
        font-size: 16px;
        padding: 15px;
    }


    .article-entry p {
        font-size: 14px;

    }

    .article-entry h3 {
        font-size: 16px;
    }

    .sidebar>h3 {
        font-size: 16px;
        text-align: center;
    }

    .label {
        font-size: 13px;
    }

    .content>p {
        font-size: 14px;
    }

    .editorial {
        padding: 15px;
    }

    .editorial-entry>p {
        padding: 0 15px 0 15px;
    }

    .logo-f {
        width: 30px;
    }

}




@media (max-width: 480px) {
    .image img {
        width: 200px;
        height: 100%;

    }

    .article-entry p {
        font-size: 12px;
    }

    .editorial-entry p {
        margin: 5px 0;
        font-size: 14px;

    }

    .journal {
        margin: 0 auto;
        padding: 0px 15px 15px 15px;
        background: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .sidebar>h3 {
        text-align: center;
        font-size: 15px;
    }


}