body {
    font-family: Arial, sans-serif;
    min-height: 400px;
    max-width: 80%;
    margin: 0 auto;
    clear: both;
    margin-bottom: 100px;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo {
    width: 60px;
}

.article {
    border: 1px solid #ddd;
    margin: 2em 0;
    padding: 15px;
    border-radius: 5px;
    /* cursor: pointer; */
}
.article h2 {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/*
.article h2::after {
    content: '▼';
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

.article.collapsed h2::after {
    transform: rotate(-90deg);
}

.article-content {
    overflow: hidden;
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out;
}

.article.collapsed .article-content {
    max-height: 0;
}
*/

.article p {
    margin: 1em 0;
    line-height: 1.6;
}
.article-content-inner {
    padding-top: 1em;
}

.article-content-inner img {
    max-width: 800px;
}

.timestamp {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em;
}
.pagination {
    margin-top: 2em;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.pagination a {
    padding: 0.5em 1em;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}
.pagination a:hover {
    background-color: #f5f5f5;
}
.pagination .current {
    padding: 0.5em 1em;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
}
.pagination .disabled {
    color: #999;
    pointer-events: none;
}

.menu ul {
    list-style: none; /* Remove default list styling */
    display: flex; /* Arrange items horizontally */
    gap: 0.5em; /* Space between list items */
    padding: 0;
    margin: 0;
}

.menu li {
    display: inline; /* Ensure items are displayed inline */
}

.menu a {
    text-decoration: none; /* Remove underline */
    color: #fbfbfb; /* Set text color */
    padding: 0.5em 1em; /* Add padding */
    border: 1px solid #ddd; /* Add border */
    border-radius: 4px; /* Add border radius */
    background-color: #29253b; /* Add background color */
}

.post{
    margin: 10px 0;
    padding: 15px;
}
.post h2 {
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.post p {
    margin: 1em 0;
    line-height: 1.6;
}
.post-content {
    padding-top: 1em;
}

.post-content img {
    max-width: 800px;
}

.auth {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
    font-size: x-small;
}

.auth form {
    display: inline;
}

@media (max-width:640px) {
  .logo img {
    width: 42px;          /* 70% of 60px */
  }

  .menu a {
    font-size: 0.7rem;    /* roughly 30% smaller text */
    padding: 0.35em 0.7em;
    border-radius: 3px;
  }

  .menu ul {
    gap: 0.25em;
  }

  body {
    padding: 10px;
  }
}
