/* Reset */
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* Gallery container: 3 columns x 2 rows */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 975px;   /* keeps layout centered */
  margin: 40px auto;
  padding: 0;
}

/* Each gallery item */
.gallery-item {
  text-align: center;
}

/* Images */
.gallery-img {
  width: 100%;          /* fills its grid cell */
  height: 220px;
  cursor: pointer;
  border-radius: 6px;
  display: block;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
}

.gallery-img:hover {
  transform: translateY(-5px);
}

/* Text box (hidden by default) */
.text-box {
  display: none;        /* collapsed until toggled */
  margin-top: 10px;
  padding: 10px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: left;
  font-size: 12px; /*Font Size of the Papers */
}

h3::before {
  content: "• ";      /* bullet symbol */
  color: #333;        /* bullet color */
  font-weight: bold;  /* optional styling */
}

/* Show when JS removes .hidden */
.text-box:not(.hidden) {
  display: block;
}

/* Responsive behavior for Weebly’s mobile layouts */
@media (max-width: 900px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
}

iframe {
  zoom: 0.6;   /* shrink entire frame to 90% */
  border: 1px solid #ccc;
}
