@font-face {
  font-family: 'Vollkorn';
  src: url("/static/Collection/fonts/Vollkorn-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-variant: normal; }

@font-face {
  font-family: 'Vollkorn';
  src: url("/static/Collection/fonts/Vollkorn-Italic.otf") format("opentype");
  font-weight: normal;
  font-style: italic;
  font-variant: normal; }

@font-face {
  font-family: 'Vollkorn';
  src: url("/static/Collection/fonts/Vollkorn-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
  font-variant: normal; }

@font-face {
  font-family: 'Vollkorn';
  src: url("/static/Collection/fonts/Vollkorn-BoldItalic.otf") format("opentype");
  font-weight: bold;
  font-style: italic;
  font-variant: normal; }

@font-face {
  font-family: 'Poppins';
  src: url("/static/Collection/fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-variant: normal; }

@font-face {
  font-family: 'Poppins';
  src: url("/static/Collection/fonts/Poppins-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
  font-variant: normal; }

@font-face {
  font-family: 'Poppins';
  src: url("/static/Collection/fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-variant: normal; }

@font-face {
  font-family: 'Poppins';
  src: url("/static/Collection/fonts/Poppins-SemiBoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
  font-variant: normal; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

body {
  font-family: "Vollkorn", serif;
  color: #333;
  background-color: #f5f5f5;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh; }

a {
  color: #0066cc;
  text-decoration: none; }
  a:hover {
    color: #004499;
    text-decoration: underline; }

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

header {
  background-color: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
  header nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; }
    header nav .left {
      display: flex;
      align-items: center; }
    header nav .right {
      display: flex;
      align-items: center; }
    header nav a {
      margin-left: 0.75rem;
      margin-right: 0.75rem;
      font-weight: 500; }

main {
  max-width: 1200px;
  min-width: 100%;
  margin: 2rem auto;
  padding: 0 2rem;
  flex: 1; }

.search-container {
  margin-bottom: 2rem; }
  .search-container #search-input {
    width: 100%;
    max-width: 500px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: border-color 0.3s; }
    .search-container #search-input:focus {
      outline: none;
      border-color: #0066cc; }

footer {
  background-color: white;
  padding: 2rem;
  margin-top: 4rem;
  text-align: center;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); }
  footer p {
    color: #666;
    font-size: 0.9rem; }

p.list {
  padding-left: 1.5rem;
  text-indent: -1.5rem; }
  p.list .list-item {
    white-space: nowrap; }

div.list {
  list-style: none; }
  div.list .list-element {
    background-color: white;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    color: #333; }
    div.list .list-element .element-image {
      display: inline-block;
      width: 200px;
      height: 200px;
      margin-right: 1.5rem;
      vertical-align: middle;
      text-align: center; }
      div.list .list-element .element-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 10px; }
    div.list .list-element .element-info {
      display: inline-block;
      vertical-align: middle;
      max-width: calc(100% - 200px - 2rem); }
    div.list .list-element h3 {
      margin-bottom: 0.5rem;
      font-size: 1.3rem;
      font-family: "Vollkorn", serif; }
    div.list .list-element p {
      margin: 0.25rem 0; }

div.detail, div.notes {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-radius: 7px;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
  color: #333; }

div.detail .image {
  display: inline-block;
  width: 300px;
  height: 300px;
  margin-right: 1.5rem;
  vertical-align: middle;
  text-align: center; }
  div.detail .image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 7px; }

div.detail .info {
  display: inline-block;
  vertical-align: middle;
  width: calc(100% - 300px - 2rem); }

div.detail .info:first-child {
  width: 100%; }

div.detail p {
  margin: 0.25rem 0; }

div.detail .detail-title {
  width: 100%;
  display: flex;
  align-items: center; }
  div.detail .detail-title h1 {
    flex: 1; }
  div.detail .detail-title .edit-link {
    margin-left: auto; }

.subtitle {
  color: #666; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  font-weight: bold; }

h1 {
  margin-bottom: 1rem;
  font-size: 2rem; }

h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem; }

ul {
  margin-left: 1.5rem; }
  ul li {
    margin: 0.5rem 0; }

.item-pictures {
  display: block;
  gap: 1rem;
  margin-top: 1rem;
  width: 100%;
  overflow-x: scroll;
  white-space: nowrap; }
  .item-pictures .item-picture {
    display: inline-block;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    overflow: hidden;
    text-align: center;
    width: calc(300px + 0.5rem);
    height: calc(300px + 2.5rem);
    background-color: #fafafa;
    margin: 0 0.25rem;
    padding: 0.25rem; }
    .item-pictures .item-picture img {
      width: 300px;
      height: 300px;
      object-fit: contain;
      display: block; }
    .item-pictures .item-picture .picture-caption {
      padding: 0.5rem;
      font-size: 0.9rem;
      color: #666; }

.item-timestamps {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #666; }
  .item-timestamps .item-created-at,
  .item-timestamps .item-updated-at {
    display: block; }

.fullscreen-viewer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; }
  .fullscreen-viewer #fullscreen-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0; }
  .fullscreen-viewer .image-caption {
    color: white;
    padding: 1rem;
    text-align: center;
    max-width: 90vw; }
  .fullscreen-viewer .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.3s; }
    .fullscreen-viewer .close-btn:hover {
      background: rgba(255, 255, 255, 0.3); }
  .fullscreen-viewer .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 3rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background 0.3s; }
    .fullscreen-viewer .nav-btn:hover {
      background: rgba(255, 255, 255, 0.3); }
    .fullscreen-viewer .nav-btn.prev-btn {
      left: 1rem; }
    .fullscreen-viewer .nav-btn.next-btn {
      right: 1rem; }
