body {
    background-color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    margin: 0 auto;
}

#body-content {
    max-width: 960px;
    margin: 0;
    padding: 0;
    text-align: center;
    margin: 0 auto;
}

header {
    background-color: #333;
    color: #fff;
    padding: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
    padding: 0px;
    margin: 0px;
    background-color: #333;
}

.title {
    display: flex;
    flex-direction: column;
}

.title h1 {
    font-size: 24px;
    margin: 0;
}

.title p {
    font-size: 16px;
    margin: 0;
}

.menu {
    display: flex;
    justify-content: center;
}

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

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

.menu ul li a {
    font-size: 0.8em;
    text-decoration: none;
    color: #fff;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.image-with-caption.framed {
  text-align: left;
  margin: 20px auto;
  width: 100%;
  box-sizing: border-box;
}

.image-with-caption.framed img {
  width: 100%;
  height: auto;
}

.image-with-caption.framed figcaption {
  margin-top: 0;
  margin-bottom: 30px;
  padding-top: 0px;
  padding-left: 1em;
  padding-right: 1em;
  font-size: 0.8em;
  color: #555;
  font-style: italic;
}

#page, #post {
 text-align: left;
 padding: 1em;
}

.post-date, time {
  display: block;
  color: #666;
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.screenshot {
    max-width: 100%;
    min-width: 200px;
    height: auto;
}

section {
    padding: 20px;
}

.bottom-section {
    padding: 5px;
}

.bottom-section h2 {
    font-size: 1.5rem;
}

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

.bottom-section li {
    margin-bottom: 10px;
}

.bottom-section b {
    font-weight: bold;
    margin-right: 5px;
}

.project-item {
    border-bottom: 1px solid #ddd;
    text-align: center;
    padding-bottom: 30px;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.project-item img.screenshot {
    display: block;
    width: 100%;              /* fills the card width */
    height: auto;             /* keeps proportions */
    margin: 0 auto;
    border: none;             /* remove any image border */
    border-radius: 0;         /* no rounded corners on image */
}

.project-item .content {
    padding: 15px;            /* padding only for text/buttons */
}

.project-item h2 {
    font-size: 1.4rem;
    margin: 10px;
    margin-bottom: 20px;
    color: #333;
}

.project-desc {
    font-size: 0.95rem;
    margin: 10px 0 20px 0;
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Project page */
#project-overview,
#project-download,
#project-src,
#project-doc,
#project-updates {
    text-align: center;
}

#project-doc {
        text-align: left;
}

#feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px;
}

.feature-item {
    list-style: none;
    padding: 5px;
    border-radius: 5px;
    text-align: left;
}

.screenshot {
    max-width: 100%;
    min-width: 200px;
    height: auto;
}

@media screen and (max-width: 600px) {
    #feature-list {
        grid-template-columns: 1fr;
        gap: 0px;
        margin: 0px;
    }

    .feature-item {
        margin: 0px;
        padding: 0px;
    }
}

a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #0056b3;
}

#latest-posts ul {
    padding: 1em;
    text-align: left;
}

#latest-posts ul li span {
    font-size: 0.9em;
    color: #888;
}

#page-date {
    font-size: 0.9em;
    color: #888;
}

#post-nav {
    border-top: 1px solid #ddd;
    padding-top: 1em;
    font-size: 0.9em;
}

#post-nav span {
    padding: 1em;
}

footer {
    background-color: #444;
    color: #fff;
    padding: 10px;
}

#license {
    text-decoration: none;
    color: #bbb;
}

.developer-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.developer-section img {
  max-width: 130px;
  border-radius: 8px;
  flex-shrink: 0;
}

.developer-section p {
  flex: 1;
  min-width: 200px;
}

@media (max-width: 600px) {
  .developer-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .developer-section img {
    margin-bottom: 0px;
  }
}
