/** @format */

body.show {
  display: block;
  overflow: hidden;
}

.article1 {
  width: 100%;
  max-height: 350px;
  padding: 4vh 0;
  background-image: url("../../img2/title-bar5.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: repeat;
}

.article1-title {
  width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 30px;
  font-weight: 600;
}

.article2 {
  width: 100%;
  height: auto;
}

.gallary-container {
  display: block;
  width: 1200px;
  height: auto;
  margin: 30px auto;
  padding: 15px;
  text-align: left;
}



.gallary-img-box {
  box-sizing: border-box;
  display: inline-block;
  position: relative;
  width: 260px;
  height: 190px;
  margin: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gallary-img-box:hover img {
  transform: scale(1.1);
}

.gallary-img-box img {
  position: absolute;
  display: inline-block;
  min-width: calc(100%-30px);
  min-height: 100%;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-out;
}

.gallary-modal {
  box-sizing: border-box;
  position: fixed;
  display: none;
  margin: 0;
  padding: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

.gallary-modal.show {
  display: block;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 800px;
  height: auto;
  max-height: 800px;
  min-height: 1px;
  transform: translateX(-50%) translateY(-50%);
  background-color: transparent;
}

.modal-img-container {
  width: 100%;
  height: auto;
  max-height: 800px;
  min-height: 1px;
  overflow: hidden;
}

.modal-content img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
}

.close-btn {
  box-sizing: border-box;
  position: absolute;
  display: inline-block;
  top: 0;
  right: 0;
  font-size: 50px;
  color: white;
  transform: translateY(-150%) translateX(-10%);
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  line-height: 0.8;
}

/* @media screen and (max-width: 500px) {
  .gallary-container {
    width: 100%;
  }
} */