@charset "utf-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=PT+Sans+Narrow&display=swap');

#wrapper {
  width: 90%;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

#transition-wrapper {
  width: 100%;

  padding: 0;
}
.transition {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  content: "";
  clear: both;
  height: 0;
}

.effects {
  padding-left: 15px;
}
.effects .img {
  position: relative;
  float: left;
  margin-bottom: 5px;
  width: 25%;
  overflow: hidden;
}
.effects .img:nth-child(n) {
  margin-right: 5px;
}
.effects .img:first-child {
  margin-left: -15px;
}
.effects .img:last-child {
  margin-right: 0;
}
.effects .img img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto; }

.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(0,0,0,0.45);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s; }

a.expand {
	display: block;
	position: absolute;
	z-index: 100;
	line-height: 20px;
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 100;
	font-size: 17px;
	color: #fff;
	padding: 0 10px;
	text-decoration: none;
	text-align: center; }

#effect-1 .overlay {
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 0;
}
#effect-1 .overlay a.expand {
  left: 0;
  right: 0;
  top: 15%;
  margin: 0 auto -30px auto;
}
#effect-1 .img.hover .overlay {
  height: 100%;
}

@media only screen and (max-width: 1920px) {
	
a.expand {
	font-size: 16px; }
}

@media only screen and (max-width: 900px) {
	
a.expand {
	font-size: 16px; 
}
	

	
	
  .effects {
    padding-left: 5px;
  }
  .effects .img {
    width: 50%;
  }
  .effects .img:nth-child(n) {
    margin-right: 5px;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  .effects .img:nth-child(2n-1) {
    margin-left: -5px;
  }
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 520px) {
  .effects .img {
    width: 100%;
  }
  
  a.expand {
	display: block;
	position: absolute;
	z-index: 100;
	line-height: 21px;
	font-family: 'PT Sans Narrow', sans-serif;
	font-weight: 100;
	font-size: 20px;
	text-decoration: none;
	text-align: center; }
	
  .effects .img:nth-child(n) {
    margin-right: 0;
  }
  .effects .img:first-child {
    margin-left: 0;
  }
  .effects .img:nth-child(2n-1) {
    margin-left: 0;
  }
  .effects .img:nth-child(2n) {
    margin-right: 0;
  }
  .effects .img:last-child {
    margin-right: 0;
  }
  .effects .img img {
    margin: 0 auto;
  }
}
