@-webkit-keyframes caseEffect {
	from {
		opacity: 0;
		margin-top: 20vh;
		-webkit-filter: blur(10px);
		filter: blur(10px)
	}

	to {
		opacity: 1;
		margin-top: 0;
		-webkit-filter: blur(0);
		filter: blur(0)
	}
}

@keyframes caseEffect {
	from {
		opacity: 0;
		margin-top: 20vh;
		-webkit-filter: blur(10px);
		filter: blur(10px)
	}

	to {
		opacity: 1;
		margin-top: 0;
		-webkit-filter: blur(0);
		filter: blur(0)
	}
}

.parallax-title {
	position: fixed;
	height: 100vh;
	width: 100vw;
	overflow: hidden;
	z-index: 42
}

.parallax {
	position: absolute;
	left: -10%;
	width: 120%;
	height: 120%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	-webkit-transition: transform .1s;
	-o-transition: transform .1s;
	-webkit-transition: -webkit-transform .1s;
	transition: -webkit-transform .1s;
	transition: transform .1s;
	transition: transform .1s, -webkit-transform .1s
}

.parallax-1 {
	background-image: url(../img/back-1.svg);
	top: 0
}

.parallax-2 {
	background-image: url(../img/back-2.svg);
	top: -7%;
	left: -5%
}

.parallax-3 {
	background-image: url(../img/back-3.svg);
	top: -20%
}

.parallax-4 {
	background-image: url(../img/back-4.svg);
	top: -20%
}

.work-header {
	display: block;
	text-align: center;
	margin-top: 10%;
	color: #121212;
	text-transform: uppercase
}

.main-block-work {
	background-color: #fff;
	padding-top: 100vh;
	margin-bottom: -10vh;
	position: relative
}

.cases-block {
	padding: 0;
	background-color: #121212;
	position: relative;
	z-index: 69
}

.case {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

.case-preview {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 30%;
	flex: 0 0 30%;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	height: 450px;
	width: 450px;
	z-index: 70;
	margin-left: 5vw
}

.case-background {
	margin-left: 20px;
	position: relative;
	width: 80%;
	height: 80%
}

.case-background-piece {
	position: absolute;
	z-index: 71;
	width: 15%;
	height: 74%;
	-webkit-transition: top .5s,background-color .5s;
	-o-transition: top .5s,background-color .5s;
	transition: top .5s,background-color .5s
}

.case-background-piece-1 {
	top: 15px;
	background-color: rgba(255,159,101,.97)
}

.case-background-piece-2 {
	background-color: rgba(255,96,96,.97);
	top: 60px;
	left: 26.5%
}

.case-background-piece-3 {
	background-color: rgba(149,219,252,.97);
	top: 0;
	left: 53%
}

.case-background-piece-4 {
	background-color: rgba(176,203,237,.97);
	top: 55px;
	left: 80%
}

.case-preview:hover .case-background-piece-1 {
	background-color: rgba(176,203,237,.97);
	top: 60px
}

.case-preview:hover .case-background-piece-2 {
	background-color: rgba(149,219,252,.97);
	top: 5px
}

.case-preview:hover .case-background-piece-3 {
	background-color: rgba(255,96,96,.97);
	top: 55px
}

.case-preview:hover .case-background-piece-4 {
	background-color: rgba(255,159,101,.97);
	top: 20px
}

.case-item {
	width: 300px;
	height: 300px;
	overflow: hidden;
	position: absolute;
	z-index: 71;
	-webkit-transform: rotateX(0) rotateY(0) translate3d(0);
	transform: rotateX(0) rotateY(0) translate3d(0)
}

.case-item-photo {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 300px;
	height: 300px;
	overflow: hidden
}

.case-item-photo img {
	text-align: center;
	-webkit-transition: transform .5s,filter .5s;
	-o-transition: transform .5s,filter .5s;
	-webkit-transition: -webkit-transform .5s,-webkit-filter .5s;
	transition: -webkit-transform .5s,-webkit-filter .5s;
	transition: transform .5s,filter .5s;
	transition: transform .5s,filter .5s,-webkit-transform .5s,-webkit-filter .5s;
	-o-object-fit: cover;
	object-fit: cover;
	width: 300px;
	height: 220px;
	-webkit-filter: grayscale(0);
	filter: grayscale(0)
}

.case-item:hover .case-item-photo img {
	-webkit-transform: scale(1.2);
	-ms-transform: scale(1.2);
	transform: scale(1.2);
	-webkit-filter: grayscale(.9) opacity(.7);
	filter: grayscale(.9) opacity(.7)
}

.case-item-moreinfo {
	color: #fff;
	text-transform: uppercase;
	text-align: center;
	position: relative;
	text-shadow: 1px 1px .3px #ff8b69;
	-webkit-transition: opacity .6s cubic-bezier(.33,1,.68,1),margin-top .5s cubic-bezier(.33,1,.68,1);
	-o-transition: opacity .6s cubic-bezier(.33,1,.68,1),margin-top .5s cubic-bezier(.33,1,.68,1);
	transition: opacity .6s cubic-bezier(.33,1,.68,1),margin-top .5s cubic-bezier(.33,1,.68,1);
	opacity: 0
}

.case-item:hover .case-item-moreinfo {
	opacity: 1;
	margin-top: -165px
}

.case-descr {
	-webkit-box-flex: 70%;
	-ms-flex: 70%;
	flex: 70%;
	margin-right: 100px;
	color: #ddd
}

.case-descr h2 {
	font-size: 33px;
	text-transform: uppercase;
	color: #fff
}
.case-descr p {
	font-size: 20px;
}
.case-info {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center
}

.case-info div {
	width: 50%
}

.case-moreinfo-btn {
	padding: 5px 20px;
	position: relative;
	margin-left: 100px;
	font-size: 30px;
	text-transform: uppercase;
	color: #fff;
	border-bottom: 1px solid #fff;
	-webkit-transition: color .3s,border-color .3s;
	-o-transition: color .3s,border-color .3s;
	transition: color .3s,border-color .3s
}

.case-moreinfo-btn:hover {
	border-color: #ff8c69;
	color: #ff8c69
}

.case-moreinfo-btn:after,.case-moreinfo-btn:before {
	content: "";
	position: absolute;
	height: 0;
	width: 1px;
	background-color: #fff;
	-webkit-transition: height .3s,background-color .3s;
	-o-transition: height .3s,background-color .3s;
	transition: height .3s,background-color .3s;
	bottom: 0
}

.case-moreinfo-btn:before {
	left: 0
}

.case-moreinfo-btn:after {
	right: 0
}

.case-moreinfo-btn:hover:after,.case-moreinfo-btn:hover:before {
	height: 50%;
	background-color: #ff8c69
}

@media (max-height:1200px) {
	.work-header {
		margin-top: 20vh
	}

	.parallax-title {
		height: 128vh
	}
}

@media all and (min-width:2560px) {
	* {
		font-size: 1.25rem
	}

	.work-header h1 {
		font-size: 3.5rem
	}

	.case-moreinfo-btn {
		font-size: 38px
	}
}

@media (max-width:1200px) and (min-width: 1024px) {
	.case-descr {
		margin-left: 20px;
	}
}
@media (max-width:1024px) {
	.work-header {
		margin-top: 20vh
	}
	.case {
		display: block
	}

	.case-preview {
		margin-left: calc(50vw - 225px)
	}

	.case-descr {
		text-align: center;
		margin-right: 0;
		padding: 10px 25px
	}
	.case-descr h2 {
		font-size: 28px;
	}

	.case-info {
		display: block
	}

	.case-info div {
		width: 100%
	}

	.case-moreinfo-btn {
		margin: 0 20px
	}
}

@media (max-width:767px) {	
	.case-descr {
		padding: 10px 20px
	}
	.case-descr h2 {
		font-size: 23px;
	}
	.case-descr p {
		font-size: 17px;
	}
}