/* Basic Styles */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #121212;
    color: #e0e0e0;
}

header, footer {
    background-color: #1e1e1e;
    color: #ffffff;
    padding: 1.5em;
    text-align: center;
}

h1 {
    margin: 0;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: #ffffff;
    text-decoration: none;
}

main {
    padding: 15px;
    margin-left: 270px;
}

article {
    background-color: #1e1e1e;
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 15px;
}

.post-meta {
    font-size: 0.85em;
    color: #888;
}

footer p {
    margin: 0;
}

/* Home Page Thumbnail Settings */
.post-image-homepage {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-bottom: 10px;
    border-radius: 5px;
}

/* Grid layout for posts */
#posts {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 20px;
}

/* Responsive design */
@media only screen and (max-width: 768px) {
    #posts {
        grid-template-columns: 1fr;
    }
}

/* Post Detail Image Settings */
.post-image-detail {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Sidebar */
#sidebar {
    width: 250px;
    background-color: #242424;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    position: fixed;
    height: 100%;
    overflow-y: auto;
}

#sidebar h3 {
    font-size: 22px;
    margin-top: 0;
}

#sidebar ul {
    list-style-type: none;
    padding: 0;
}

#sidebar ul li {
    margin-bottom: 10px;
}

#sidebar ul li a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

#sidebar ul li a:hover {
    color: #bb86fc;
}