
.gallery-title {
  text-align: center;
  font-size: 2.5em;
  margin: 30px 0;
}

.grid-gallery {
  width: 80%;
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 10px;
  background-color: rgb(229, 233, 213);
}

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

.case-link {
  text-align: center;
  text-decoration: none;
  color: black;
}

.case-link img {
  margin-top: 30px;
  width: 70%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: transform 0.3s;
}

.case-link:hover img {
  transform: scale(1.05);
}

.example_ttl {
  margin-bottom: 30px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 80%;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}