.header {
  background: rgba(0,0,0,0.8);
  padding: 5px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.header-content {
  margin: 0 auto;
  box-sizing: border-box; /* Include padding in width */
}

.logo-link {
  text-decoration: none;
}

.blog-title {
  font-family: monospace;
  font-size: 0.8em;
  margin: 0 10px;
  color: #888;
}

body {
  font-family: sans-serif;
  margin: 0;
  background-color: #222;
  color: #e0e0e0;
  padding-top: 25px;
}

hr {
  border: 0;
  border-bottom: 1px solid #ccc;
  margin: 15px 0;
}

.posts-container {
  column-count: 3;
  column-gap: 10px;
  padding: 10px;
}

@media (max-width: 1024px) {
  .posts-container {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .posts-container {
    column-count: 1;
  }
}
.post-card {
  display: flex;
  width: 100%; /* Take full width of container */
  box-sizing: border-box; /* Include padding in width */
}

.post-image-container {
  flex: 3;
  text-align: center;
}

/* .post-image-container img { */
/*   margin: 0 auto; */
/*   max-width: 100%; */
/*   display: block; */
/*   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
/* } */

.post-card h3 {
  margin: 0;
  font-size: 1.4em;
  line-height: 1.2em;
  color: #e0e0e0;
  padding-bottom: 15px;
}
.post-card p {
  font-size: 0.9em;
  color: #a0a0a0;
  margin-top: 5px;
}

.exif-data-container {
  font-family: monospace;
  margin: 0px 0 50px 0;
  text-align: center;
}

.exif-item {
  color: #888;
  font-size: 0.9em;
  padding: 3px 5px 2px 5px;
  margin: 0 4px;
  border-radius: 3px;
  background: #333;
  white-space: nowrap;
}
.exif-item a {
  color: #888;
  text-decoration: none;
}

.load-more-container {
  display: flex;
  justify-content: center;
}

.load-more-button {
  background-color: #333;
  color: #e0e0e0;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.load-more-button:hover {
  background-color: #444;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
}

.single-post-page {
  margin: 0 auto;
}

.single-post-page .single-post-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding-top: 10px;
}

.single-post-page .single-post-image-container img {
  max-height: 90vh;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: all 0.3s ease;
}

.single-post-page .single-post-image-container img.enlarged {
  max-height: none;
  width: 100%;
  max-width: 100vw;
}

.single-post-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid;
  page-break-inside: avoid;
  opacity: 0;
  animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.single-post-image-container {
  text-align: center;
}

.single-post-image-container img {
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 0px 16px rgba(0, 0, 0, 0.2);
  box-sizing: border-box; /* Include padding in width */
}

.single-post-layout-container {
  padding: 25px 0 0 0;
}

.single-post-main-content {
  flex: 2;
  line-height: 1.5em;
}
.single-post-main-content h3 {
  font-size: 1.5em;
}

.single-post-content {
  color: #666;
}

@media (max-width: 768px) {
  .blog-title {
    margin: 0 10px;
  }

  .header {
    margin-bottom: 0;
    padding: 5px 0;
  }

  .post-image-container {
    margin-top: 50px;
  }

  .exif-item {
    font-size: 0.8em;
  }
}
