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

body {
  font-family: 'Barlow', sans-serif;
  background-color: white;
  color: #000;
  line-height: 1.5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 90%;
  max-width: 800px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  font-size: 1rem;
  border-bottom: 1px solid #ddd;
}

.header-item {
  font-weight: 400;
  color: #000;
}

.content {
  padding: 1rem 0;
}

.content-title {
  display: block;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.content-title h1, .content-title h2 {
  text-align: center;
}

.content-list {
  list-style: none;
  padding-left: 1rem;
}

.content-list li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
}

.content-list a {
  color: #000;
  text-decoration: none;
}

.content-list a:hover {
  text-decoration: underline;
}


.centered-image {
  display: block; 
  margin: 0 auto; 
  max-width: 100%; 
  height: auto; 
}

.img {
  max-width: 640px;
  max-width: 100%; 
  height: auto;
  display: block;
}

.scroll-to-top {
  position: fixed; 
  bottom: 40px;    
  right: 100px;     
  background-color: #fff; 
  color: #000;     
  font-size: 20px; 
  font-weight: bold; 
  text-align: center; 
  padding: 15px 20px; 
  border-radius: 5px; 
  text-decoration: none; 
  z-index: 1000; 
  cursor: pointer; 
}

.home-button {
  display: inline-block; 
  top: 20px;         
  text-decoration: none; 
}

.spinning-image {
  width: 80px; 
  height: 80px; 
  border-radius: 50%; 
  animation: spin 20s linear infinite; 
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.footer {
  padding: 1rem 0;
  text-align: left;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer span {
  color: #000;
}

.footer a:not(.archive-button):not(.download-btn) {
  color: #000;
  text-decoration: none;
}

.footer a:not(.archive-button):not(.download-btn):hover {
  text-decoration: underline;
}

.archive-button-wrapper {
  text-align: left;
}

.archive-button {
  display: inline-block;
  padding: 6px 12px;
  background-color: #000000;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.archive-button:hover {
  background-color: #333;
}

.pdf-gallery {
      display: flex;
      gap: 20px;            /* space between items */
      justify-content: flex-start;
      align-items: flex-start;
      flex-wrap: wrap;      /* will drop to next line on small screens */
      padding: 20px;
    }

    /* size each item and prevent it from stretching full width */
    .pdf-item {
      flex: 0 0 auto;       /* don't grow or shrink, keep auto width */
      width: 220px;         /* or whatever fixed width you want */
      box-sizing: border-box;
      text-align: center;
    }

    .pdf-item img {
      display: block;       /* removes inline-gap under images */
      max-width: 100%;
      height: auto;
      margin: 0 auto;
    }

.pdf-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}


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

  .header-item {
    margin-bottom: 0.5rem;
  }
}
