html, body {
			font-family: 'Montserrat', sans-serif;
			background: #404040;
			overflow-x: hidden;
			width: 100%;
		}
		
		a {
		    text-decoration: none;
		}

		h1, h2, h3, h4, h5, h6 {
			padding: 0;
			margin: 0;
		}
		
		#wrap {
		    padding-top: 20px;
		    padding-bottom: 20px;
		}
		
		div#wrap a {
			outline: none;	
		}
		
		div#wrap {

		}

		#wrap {
			display: flex;
			flex-wrap: wrap;
			justify-content: center;
		}

		#wrap img {
		    position: relative;
			width: 100%;	
			transition: all 0.2s linear;		
		}

		#wrap img:hover {
			background: #fff;
		}
		
		a .gallery img {
		    position: relative;
		}
		
		div#wrap a {
		    position: relative;
		}
		
		.green {
			color: #060; 
			font-size: 20px;
		}


#wrap a {
	width: 30%;
	margin: 10px;
	position: relative;
}

.work-block__text {
	position: absolute;
	display: none;
	animation: fade .2s linear forwards;
	top: 40%;
	left: 0;
	right: 0;
	z-index: 999;
	color: #fff;
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#wrap a:hover .work-block__text {
	cursor: pointer;
	display: inline-block;
}

		.gallery {
			position: relative;
		}

		.gallery:before {
			opacity: 0;
			position: absolute;
			content: "";
			width: 106%;
			height: 106%;
			top: -4%;
			left: -3%;
			background: rgba(0, 0, 0, 0.4);
			transition: all 0.2s linear;
			z-index: 3;
		}

		.gallery:hover:before{
			opacity: 1;
		}

.work-block__text h4,
.work-block__text p {
	text-align: center;
}

.work-block__text h4 {
	font-size: 20px;
}

.work-block__text span:before {
	display: block;
	animation: pulser 0.7s linear forwards;
	content: "";
	position: absolute;
	margin-top: -5px;
	left: 50%;
	width: 0;
	height: 1px;
	background: #fff;
}

@keyframes pulser {
  0% {
    width: 0;
  }
  100% {
    width: 20%;
  }
}

.work-block__text span:after {
	display: block;
	animation: pulsel 0.7s linear forwards;
	content: "";
	position: absolute;
	margin-top: -5px;
	right: 50%;
	width: 0;
	height: 1px;
	background: #fff;
}

@keyframes pulsel {
  0% {
    width: 0;
  }
  100% {
    width: 20%;
  }
}

@media screen and (max-width: 1200px) {
    .work-block__text h4 {
	    text-align: center;
	    font-size: 14px;
	}
}

@media screen and (max-width: 1100px) {
    .work-block__text h4 {
	    text-align: center;
	    font-size: 12px;
	}
}

@media screen and (max-width: 800px) {
	#wrap a {
	    width: 50%;
	    margin: 10px;
	    position: relative;
	}
	
	.work-block__text h4 {
	    text-align: center;
	    font-size: 16px;
	}
}

@media screen and (max-width: 600px) {
    .work-block__text h4 {
	    text-align: center;
	    font-size: 12px;
	}
}

@media screen and (max-width: 500px) {
    #wrap a {
        width: 100%;
    }
}

@media screen and (max-width: 400px) {
    .work-block__text h4 {
	    text-align: center;
	    font-size: 10px;
	}
}

@media screen and (max-width: 400px) {
    .work-block__text h4 {
	    text-align: center;
	    font-size: 8px;
	}
}

@media screen and (max-width: 280px) {
    .work-block__text h4 {
	    text-align: center;
	    font-size: 6px;
	}
}