@charset "utf-8";

section {
  height: 310px;
  position: relative;
}

section image {
  height: 310px;
  padding-bottom: 0px;
}

.title {
  height: 310px;
  background-image: url(../images/gallery/bg-galley.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
  }
  
.title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  font-size: 14px;
  margin-top: 15px;
}

.section01 {
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section01 p {
  margin-top: 5px;
}

.section02 {
  height: 100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section02 p {
  margin-top: 5px;
}

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.grid-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: .3s;
}

.grid-item:hover {
  filter: grayscale(0);
}

.lum-lightbox.lum-open {
  z-index: 4;
}

.footer {
  margin-top: 100px;
}

@media (min-width: 768px) {
  .grid-item {
    transition: .3s;
  }
  .grid-item:hover {
    filter: grayscale(0);
    box-shadow: 0 0 2rem rgba(0, 0, 0, .5);
    transform: scale(1.1);
    z-index: 3;
    position: relative;
  }
}