.gallery img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hoverGray img {
	-webkit-filter: grayscale(0) blur(0);
	filter: grayscale(0) blur(0);
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
}

.hoverGray img:hover {
	-webkit-filter: grayscale(100%) blur(3px);
	filter: grayscale(100%) blur(3px);
}

.box-wrapper .box-desc {
  position: relative;
  left: 50px;
  z-index: 3;
  color: #fff;
  transition: all ease .3s;
}

.box-wrapper .box-desc a {
  color: #fff;
}

.box-wrapper .box-desc a:hover {
  color: rgba(247, 240, 159, 1);
  transition: .3s ease;
}

.box-wrapper .box-desc h3 {
  font-size: 24pt;
  position: absolute;
  bottom: 2vh;
  left: 10px;
  -webkit-transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  -moz-transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  -o-transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  opacity:0;
}

.box-wrapper:hover .box-desc h3{
  left:  20px;
  opacity: 1;
}

.box-wrapper .box-desc p {
  font-size: 18px;
  position: absolute;
  bottom: 1vh;
  left: 10px;
  -webkit-transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  -moz-transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  -o-transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  transition: .5s cubic-bezier(0.250, 0.250, 0.750, 0.750);
  opacity:0;
}

.box-wrapper:hover .box-desc p{
  left: 20px;
  opacity: 1;
  -webkit-transition-delay:.5s;
  -moz-transition-delay:.5s;
  -o-transition-delay:.5s;
  transition-delay:.5s;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
  :root {
    --wrapper-width: 85vw;
    --grid-columns: 1 !important;
    --grid-gap: 7vw;
    --grid-columns-width: calc((var(--wrapper-width) / var(--grid-columns)) - var(--grid-gap));
  }

  .wrapper {
    width: var(--wrapper-width);
    margin: 0 auto;
  }

  .gallery {
    display: grid;
    grid-gap: var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-columns-width), 1fr));
    width: 100%;
  }

  .gallery .photo {
    background-color: #eee;
    display: grid;
    height: 100%;
    min-height: calc(var(--grid-columns-width) / 1.5);
    width: 100%;
  }

  .gallery img {
    height: auto;
    object-fit: contain;
    width: 100%;
  }

  .gallery .photo.big {
    grid-column: span 1;
  }

  .gallery .photo.fat {
    grid-column: span 1;
  }

  .gallery .photo.tall {
    grid-row: span 1;
  }

  .box-wrapper .box-desc h3 {
    font-size: 15pt;
  }

  .box-wrapper .box-desc p {
    font-size: 12px;
  }
}


/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  :root {
    --wrapper-width: 93vw;
    --grid-columns: 2;
    --grid-gap: 2vw;
    --grid-columns-width: calc((var(--wrapper-width) / var(--grid-columns)) - var(--grid-gap));
  }

  .wrapper {
    width: var(--wrapper-width);
    margin: 0 auto;
  }

  .gallery {
    display: grid;
    grid-gap: var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-columns-width), 1fr));
    width: 100%;
  }

  .gallery .photo {
    background-color: #eee;
    display: grid;
    height: 100%;
    min-height: calc(var(--grid-columns-width) / 1.5);
    width: 100%;
  }

  .gallery img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .gallery .photo.big {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery .photo.fat {
    grid-column: span 2;
  }

  .gallery .photo.tall {
    grid-row: span 2;
  }

  .box-wrapper .box-desc h3 {
    font-size: 15pt;
  }

  .box-wrapper .box-desc p {
    font-size: 12px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  :root {
    --wrapper-width: 85vw;
    --grid-columns: 2;
    --grid-gap: 2vw;
    --grid-columns-width: calc((var(--wrapper-width) / var(--grid-columns)) - var(--grid-gap));
  }

  .wrapper {
    width: var(--wrapper-width);
    margin: 0 auto;
  }

  .gallery {
    display: grid;
    grid-gap: var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-columns-width), 1fr));
    width: 100%;
  }

  .gallery .photo {
    background-color: #eee;
    display: grid;
    height: 100%;
    min-height: calc(var(--grid-columns-width) / 1.5);
    width: 100%;
  }

  .gallery img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .gallery .photo.big {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery .photo.fat {
    grid-column: span 2;
  }

  .gallery .photo.tall {
    grid-row: span 2;
  }
  .box-wrapper .box-desc h3 {
    font-size: 16pt;
  }

  .box-wrapper .box-desc p {
    font-size: 14px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  :root {
    --wrapper-width: 85vw;
    --grid-columns: 2;
    --grid-gap: 2vw;
    --grid-columns-width: calc((var(--wrapper-width) / var(--grid-columns)) - var(--grid-gap));
  }

  .wrapper {
    width: var(--wrapper-width);
    margin: 0 auto;
  }

  .gallery {
    display: grid;
    grid-gap: var(--grid-gap);
    grid-template-columns: repeat(auto-fit, minmax(var(--grid-columns-width), 1fr));
    width: 100%;
  }

  .gallery .photo {
    background-color: #eee;
    display: grid;
    height: 100%;
    min-height: calc(var(--grid-columns-width) / 1.5);
    width: 100%;
  }

  .gallery img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .gallery .photo.big {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery .photo.fat {
    grid-column: span 2;
  }

  .gallery .photo.tall {
    grid-row: span 2;
  }

  .box-wrapper .box-desc h3 {
    font-size: 24pt;
  }

  .box-wrapper .box-desc p {
    font-size: 18px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  :root {
    --wrapper-width: 73vw;
    --grid-columns: 2;
    --grid-gap: 3vw;
    --grid-columns-width: calc((var(--wrapper-width) / var(--grid-columns)) - var(--grid-gap));
  }

  .box-wrapper .box-desc h3 {
    font-size: 24pt;
  }

  .box-wrapper .box-desc p {
    font-size: 18px;
  }
}
