/* Reset default margin and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* General styles */
body {
    font-family: 'Nunito', sans-serif;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: bold;
    text-align: center;
}

a {
    text-decoration: none;
    color: #333;
}

/* Header styles */
header {
    background-color: #003366; /* Warna biru */
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left h1 {
    font-family: 'Merriweather', serif;
    font-style: italic;
    font-weight: bold;
    color: #ffffff; /* white */
    margin: 0;
    font-size: 2rem; /* Header font size should be the largest */
}

.header-right {
    display: flex;
    align-items: center;
}

.header-right button, .header-right .search-icon {
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
}

/* Dropdown menu styles */
#dropdown-menu {
    display: none; /* Hide dropdown menu by default */
    position: absolute;
    background-color: #f0f6f9;
    border: 1px solid #c1d5e0;
    z-index: 1000;
    top: 50px; /* Adjust the position of the dropdown */
    right: 10px; /* Position dropdown to the right */
    padding: 10px;
    width: 200px;
    text-align: left;
}

#dropdown-menu li {
    list-style-type: none;
    padding: 10px 0;
}

#dropdown-menu li a {
    color: #333;
}

#dropdown-menu li a:hover {
    background-color: #d9e8f2;
    border-radius: 5px;
}

/* Logo and menu styles */
.logo-menu-container {
    background-color: #ffffff;
    padding: 20px 0;
    text-align: center;
}

.logo-body {
    max-width: 200px;
    height: auto;
    margin-bottom: 10px;
}

#body-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

#body-nav ul li {
    margin: 0 10px;
}

#body-nav ul li a {
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    display: block;
    padding: 10px 15px;
    color: #333333;
}

#body-nav ul li a:hover {
    background-color: #d9e8f2;
    border-radius: 5px;
}

/* Dropdown menu body styles */
#dropdown-menu-body {
    display: none; /* Hide dropdown menu body by default */
    position: absolute;
    background-color: #f0f6f9;
    border: 1px solid #c1d5e0;
    z-index: 1000;
    top: 150px; /* Adjust the position of the dropdown */
    left: 50%; /* Position dropdown below the menu */
    transform: translateX(-50%); /* Center the dropdown */
    padding: 10px;
    width: 200px;
    text-align: left;
}

#dropdown-menu-body li {
    list-style-type: none;
    padding: 10px 0;
}

#dropdown-menu-body li a {
    color: #333;
}

#dropdown-menu-body li a:hover {
    background-color: #d9e8f2;
    border-radius: 5px;
}

/* Section and articles styles */
.section {
    background: linear-gradient(to bottom, #ffffff, #c1d5e0);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem; /* Smaller font size */
}

#article-list {
    display: flex;
    flex-direction: column; /* Arrange articles in a single column */
    align-items: center;
}

article {
    width: 80%; /* Adjust width to fit better in a single column */
    margin-bottom: 20px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

article h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

article p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
}

/* Footer styles */
footer {
    background-color: #87ceeb; /* Warna biru langit */
    padding: 20px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.social-icon {
    margin: 0 10px;
}

.social-icon img {
    width: 24px;
    height: 24px;
}

/* CSS khusus untuk halaman artikel */
.article-page {
    background: linear-gradient(to bottom, #ffffff, #f0f6f9, #c1d5e0); /* Gradient background khusus untuk halaman artikel */
    font-family: 'Nunito', sans-serif;
    padding: 20px;
    text-align: center;
}

.article-page .content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.article-page h1 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    color: #003366;
    margin-bottom: 20px;
}

.article-page article {
    text-align: left;
    margin: 0 auto;
}

.article-page article p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.article-page article ul {
    padding-left: 20px;
}

.article-page article ul li {
    margin-bottom: 10px;
}

.article-page footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.article-page footer a {
    color: #003366;
    text-decoration: none;
}

.article-page footer a:hover {
    text-decoration: underline;
}

/* Mobile optimization */
@media (max-width: 600px) {
    .article-page .content {
        padding: 15px;
        margin: 15px;
    }

    .article-page h1 {
        font-size: 1.5rem;
    }
}
body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

h1 {
    font-family: 'Merriweather', serif;
    margin: 0;
}

article {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #007BFF;
    font-weight: bold;
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #333;
    color: #fff;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}