/* 
=TOP NAV ILLUSTRATION BOLD
==================================*/
.side-nav a:nth-child(4) {
  font-weight: 500;
}




/* 
=IMAGE GALLERY
==================================*/
.img-gallery {
  width: 81.5%; height: 100vh;
  display: flex; /* make the image gallery a flex container */
  flex-wrap: wrap; /* control the image gallery's flex behavior */
  margin-left: auto;
  padding: 0 10px;
}
.gallery-wrapper {
  columns: 2 200px;
  column-gap: 5px;
  margin-top: -5px;
  padding-bottom: 10px;
}

.img-wrapper {
  width: 100%;
  margin: 0;
  padding: 10px 5px 5px 5px;

}
.img-gallery .start-line {
  width: 100%;
  margin: 15px 4.5px 5px 4.5px;
  display: flex;
  height: 50px;
  border-bottom: 1px solid black;
}
.img-gallery .end-line {
  width: 100%;
  margin: 0 4.5px 20px 4.5px;
  display: flex;
  height: 10px;
}

img {
  width: 100%;
  height: 100%;
  padding: 1px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 1;
  display: block;
}

.img-wrapper div {
  border-radius: 5px;
  width: 100%;
  height: inherit;
  transition: .5s ease-in-out;
  z-index: 10;
  overflow: hidden;
  

} 

.img-wrapper div:hover {
  position: relative;
}

.img-wrapper div:hover figcaption {
  bottom: 0;

}

div.ins-wrapper {
  position: relative;
}

.img-wrapper div:hover {
  background: 
  linear-gradient(90deg, #333 50%, transparent 0) repeat-x,
  linear-gradient(90deg, #333 50%, transparent 0) repeat-x,
  linear-gradient(0deg, #333 50%, transparent 0) repeat-y,
  linear-gradient(0deg, #333 50%, transparent 0) repeat-y;
  background-size: 6px 1px, 6px 1px, 1px 6px, 1px 6px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  animation: linearGradientMove .2s infinite linear;
}
@keyframes linearGradientMove {
  100% {
      background-position: 4px 0, -4px 100%, 0 -4px, 100% 4px;
  }
}

.img-wrapper div figcaption {
  font-size: 13px;
  font-weight: 400;
  background-color: rgb(250 250 250);
  color: black;

  padding: 10px;
  width: 100%;

  position: absolute;
  bottom: -100px;
  z-index: 10;


  transition: ease-out 0.25s;


}

figcaption span {
  font-weight: 300;
  color: rgb(155 155 155);
}


/* 
=LOWER NAV
==================================*/

.lower-nav {
  display: flex;
  font-size: 13px;
  font-weight: 300;
  cursor: pointer;
  width: 100%;
  height: 50px;
  justify-content: space-between;
  border-bottom: 1px solid black;
  padding-bottom: 20px;
}

.lower-nav a {
  color: black;
  text-decoration: none;
}


.lower-nav a {
  border-top: 1px solid black;
  border-width: 100%;
  padding: 10px 0;
}

.lower-nav a span {
  border-radius: 3px;
}


.lower-nav a:hover span {
  background: magenta;
  color: white;
}
