.max-width {
  width: 100%;
  max-width: 1365px;
  padding: 0 15px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (max-width: 1600px) {
  .max-width {
    max-width: 1140px;
  }
}

p {
  font-size: 15px;
  font-weight: 300;
}

.gallery-container {
  width: 100%;
}
.gallery-container .headline-part {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  padding: 37px 0;
  text-align: center;
}
.gallery-container .headline-part .about-h3 {
  font-size: 30px;
  font-weight: 400;
  margin: 0;
}
.gallery-container .headline-part .about-h1 {
  color: #ba7802;
  font-size: 40px;
  /* font-weight: 800; */
  margin: 0;
  padding: 20px 0;
    font-family: "Allura";
}
.gallery-container .background-story {
  position: absolute;
  top: 6%;
  z-index: -1;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 400px;
  height: 200px;
}
.gallery-container .background-story img {
  width: 100%;
  max-width: 400px;
  height: 200px;
}
.gallery-container .gallery-wrapper {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 40px;
  position: relative;
  padding-top: 40px;
}
@media screen and (max-width: 1300px) {
  .gallery-container .gallery-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 900px) {
  .gallery-container .gallery-wrapper {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .gallery-container .gallery-wrapper {
   padding-top: 0;
  }
}
.gallery-container .gallery-wrapper a {
  display: flex;
  position: relative;
}
.gallery-container .gallery-wrapper a .box {
  display: block;
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 300px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
}
.gallery-container .gallery-wrapper a .box:hover .box-info {
  opacity: 1;
}
.gallery-container .gallery-wrapper a .box img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  transition: all 0.5s ease-in-out;
}
.gallery-container .gallery-wrapper a .box:hover img {
  box-shadow: 0px 40px 40px rgba(0, 0, 0, 0.1);
}
.gallery-container .gallery-wrapper a .box::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #ba7802;
  padding: 20px;
  top: -20px;
  left: -20px;
  transition: all 0.5s ease-in-out;
  opacity: 0;
}
@media only screen and (max-width: 576px) {
  .gallery-container .gallery-wrapper a .box::before {
    display: none;
  }
}
.gallery-container .gallery-wrapper a .box:hover::before {
  opacity: 1;
}
.gallery-container .gallery-wrapper a .box .box-info {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  padding: 20px;
  transition: all 0.5s ease-in-out;
  color: white;
  background-color: #ba7802;
}
.gallery-container .gallery-wrapper a .box .box-info h1 {
  font-size: 20px;
  color: white;
  text-decoration: none;
}
@media screen and (max-width: 1330px) {
  .gallery-container .gallery-wrapper a .box .box-info h1 {
    font-size: 1.2rem;
  }
}
.gallery-container .gallery-wrapper a .box .box-info h2 {
  font-size: 14px;
  font-weight: 300;
}
@media screen and (max-width: 1330px) {
  .gallery-container .gallery-wrapper a .box .box-info h2 {
    font-size: 0.8rem;
  }
}
@media screen and (max-width: 1100px) {
  .gallery-container .gallery-wrapper a .box .box-info h2 {
    display: none;
  }
}
.gallery-container .gallery-wrapper a .box .box-info .buttons .btn h1 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  padding-right: 15px;
}
.gallery-container .gallery-wrapper a .box .box-info .buttons {
  display: flex;
  position: relative;
}
.gallery-container .gallery-wrapper a .box .box-info .buttons .btn {
  color: white;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
  transition: all 0.5s ease-in-out;
}
.gallery-container .gallery-wrapper a .box .box-info .buttons .btn:hover {
  color: black;
}
.gallery-container .gallery-wrapper a .box .box-info .buttons .btn i {
  font-size: 1.2rem;
}

.view-more {
  position: relative;
  display: inline-block;
  margin-top: 50px;
  margin-bottom: 20px;
  cursor: pointer;
  left: 50%;
  transform: translateX(-50%);
}
.view-more a {
  color: #000;
  text-decoration: none;
  display: grid;
  grid-template-columns: 1fr;
  text-align: center;
  transition: all 0.5s ease-in-out;
}
.view-more a i {
  margin-top: 10px;
  font-size: 1.4rem;
  transition: all 0.5s ease-in-out;
}
.view-more a:hover {
  color: #ba7802;
}
.view-more a:hover i {
  color: #ba7802;
}

@media only screen and (max-width:576px){
  .gallery-container .gallery-wrapper a .box{
    max-width: 100%;
  }

  .gallery-container .gallery-wrapper a .box img{
    max-width: 100%;
  }

  .gallery-container .gallery-wrapper a .box .box-info .buttons .btn h1{
    padding-bottom: 0;
  }

  .gallery-container .gallery-wrapper a .box .box-info{
       bottom: 0;
    top: auto;
    transform: translate(-50%, 0);
    height: 20%;
    padding: 0;
    width: 100%;
    display: flex;
    opacity: 1;
  }

  .gallery-container .gallery-wrapper a .box:hover .box-info{
    bottom: 0;
    top: auto;
    transform: translate(-50%, 0);
    height: 20%;
    padding: 0;
    width: 100%;
    display: flex;
    opacity: 1;
  }

  .gallery-container .gallery-wrapper a .box .box-info h1{
    padding-bottom: 10px;
    margin: 0;
  }


}