/*  

	Author : Moskva Yigit
	Author URI : http://www.moskvayigit.com/

	Table of Contents
	- Grid Hover Motion
	 
*/

.ki-description{width:100%;}

/*----------------------------
	.-- Grid Hover Motion
-----------------------------*/

*,
*::after,
*::before {
	box-sizing: border-box;
}

.dark .content__title,
.dark .content__title-sub{
	color: var(--wp--preset--color--black);
}

.light .content__title,
.light .content__title-sub{
	color: var(--wp--preset--color--white);
}

.no-select {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.grid--hover--motion {
	height: 100%;
	width: 100%;
	position: relative;
	overflow: hidden;
}

.grid-hover-motion-hover-content {
	display: flex;
	flex-direction: column;
	width: 100vw;
	height: calc(100vh - 13rem);
	position: relative;
	align-items: center;
	justify-content: center;
	max-height: 300px;
	overflow: hidden;
}

.grid-hover-motion {
	pointer-events: none;
	position: absolute;
	width: 110%;
	height: 110%;
	top: -5%;
	left: -5%;
	display: grid;
	grid-template-columns: repeat(50,2%);
	grid-template-rows: repeat(50,2%);
}

.grid-hover-motion__item {
	position: relative;
}

.grid-hover-motion--img .grid-hover-motion__item {
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	will-change: transform;
}

.grid-hover-motion__item-img {
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
}

.grid-hover-motion--img .grid-hover-motion__item-img {
	flex: none;
	width: calc(100% + 100px);
	height: calc(100% + 100px);
	will-change: transform;
}

.pos-1 {
	grid-area: 10 / 1 / 26 / 7;
}

.pos-2 {
	grid-area: 1 / 18 / 9 / 27;
}

.pos-3 {
	grid-area: 1 / 36 / 14 / 42;
}

.pos-4 {
	grid-area: 13 / 11 / 32 / 18;
}

.pos-5 {
	grid-area: 17 / 32 / 32 / 38;
}

.pos-6 {
	grid-area: 20 / 46 / 28 / 51;
}

.pos-7 {
	grid-area: 43 / 1 / 51 / 10;
}

.pos-8 {
	grid-area: 38 / 14 / 46 / 22;
}

.pos-9 {
	grid-area: 40 / 26 / 51 / 32;
}

.pos-10 {
 	grid-area: 37 / 39 / 48 / 47;
}

.grid-hover-motion-content .content__title {
	font-weight: 400;
	font-size: 5vw;
	margin: 0;
	line-height: 1;
	position: relative;
	text-align: center;
	height: 100%;
	display: grid;
    align-items: center;
    align-content: center;
	max-width: 100%;
}

.grid-hover-motion-content .content__title-sub {
	font-size: 2.5vw;
	display: block;
	line-height: 0.5;
}

@media screen and (min-width: 53em) {
	.grid-hover-motion-content {
		height: 100vh;
		justify-content: center;
		max-height: none;
	}
}

