/* 2017 kimoc */

*,
*::after,
*::before {
	box-sizing: border-box;
}

body {
	--text-color: #fff;
	--background-color: #363dc2;
	--background-color-2: #282faf;
	--background-color-3: #202692;
	--link-color: #03b9f1;

	--link-hover-color: #fff;
	font-family: '微软雅黑', monospace;
	font-weight: 500;
	color: #fff;
	background-color: #1d1b22;
	/*background-color: #363dc2;*/
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Page Loader */
.js .loading::before {
	content: '';
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #363dc2;
}

.js .loading::after {
	content: '';
	position: fixed;
	z-index: 10000;
	top: calc(50% - 30px);
	left: calc(50% - 30px);
	width: 60px;
	height: 60px;
	border-radius: 50%;
	border: 10px solid #282faf;
	border-left-color: #fff;
	-webkit-animation: loaderAnim 0.8s linear infinite forwards;
	        animation: loaderAnim 0.8s linear infinite forwards;
}

@-webkit-keyframes loaderAnim {
	to {
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
	}
}

@keyframes loaderAnim {
	to {
		-webkit-transform: rotate(360deg);
		        transform: rotate(360deg);
	}
}

main {
	position: relative;
	width: 100%;
	overflow: hidden;
}

a {
	text-decoration: none;
	color: #f9ed8a;
	outline: none;
}

a:hover,
a:focus {
	color: #fff;
	outline: none;
}


.logo {
	background-image: url("kimoc.svg");
	width: 72px;
	height: 72px;
	display: block;
	margin: 10px;

}
.hidden {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
	pointer-events: none;
}

/* Icons */
.icon {
	display: block;
	width: 1.5em;
	height: 1.5em;
	margin: 0 auto;
	fill: currentColor;
}

/* Deco Shape */
.decoshape {
	top: 0;
	left: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	fill: #202692;
}

/* SVG Morph */
.morph-wrap {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	overflow: hidden;
	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;
	pointer-events: none;
}

.morph {
	position: relative;
	height: 100%;
	fill: #282faf;
	-webkit-box-flex: 0;
	    -ms-flex: none;
	        flex: none;
}

.content-wrap {
	position: relative;
	
	display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */ display: flex; 
	-webkit-box-orient: vertical; 
	-webkit-box-direction: normal; 
	    -ms-flex-direction: column; 
	        flex-direction: column;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	pointer-events: none;
}

.content {
	position: relative;
}

.content--fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	min-height: 600px;
	z-index: 100;
	pointer-events: none;
	padding: 1.5em;
}

.content--fixed a {
	pointer-events: auto;
}

.content--layout {
	pointer-events: auto;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-ms-flex-line-pack: center;
	    align-content: center;
	width: 600px;
	height: 300px;
	/* grid-template-columns: 150px 150px 150px 150px; 
	grid-template-rows: 150px 75px 75px;
	grid-template-areas:	"... title title title"
							"author ... desc desc"
							"author ... link link"; */
}

.content--related {
	text-align: center;
	-ms-flex-line-pack: center;
	    align-content: center;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	padding: 0 2em;
	min-height: 600px;
	height: 100vh;
	font-size: 1em;
}

.content__img {
	opacity: 0.8;
	width: 300px;
	height: 300px;
}

.content__title {
	grid-area: title;
	font-family: 微软雅黑, sans-serif;
	letter-spacing: -0.025em;
	font-size: 7em;
	line-height: 160px;
	margin: 0;
	text-transform: none;
	z-index: 10;
	cursor: default;
}

.content__author {
	grid-area: author;
	margin: 0;
	-webkit-writing-mode: vertical-lr;
	-ms-writing-mode: tb-lr;
	    writing-mode: vertical-lr;
	padding: 1em;
	text-align: right;
	z-index: 10;
	cursor: default;
}

.content__desc {
	grid-area: desc;
	margin: 2em 0 1em 0.5em;
	z-index: 10;
	padding: 0 0.5em;
	cursor: default;
}

.content__img,
.content__title,
.content__author,
.content__desc {
	-webkit-transition: -webkit-transform 0.3s ease-out;
	transition: -webkit-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
	transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
}

.content__link {
	pointer-events: auto;
	grid-area: link;
	-ms-flex-item-align: end;
	    -ms-grid-row-align: end;
	    align-self: end;
	justify-self: start;
	z-index: 10;
	padding: 0 1em 0.15em;
}

.content__info {
	font-size: 2em;
	grid-column: 1 / 3;
}

.content__related-item {
	display: inline-block;
	padding: 1em;
	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.content__related-img {
	max-width: 100%;
	opacity: 0.8;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
	height: 300px;
	width: 300px;
}

.content__related-item:hover .content__related-img,
.content__related-item:focus .content__related-img {
	opacity: 1;
}

.content__related-title {
	font-size: 1em;
	margin: 0;
	padding: 0.5em;
}

.content--layout-1 .content__title{
	position: absolute;
	top: 0;
	left: 150px;
}

.content--layout-1 .content__author {
	position: absolute;
	bottom: 0;
	left: 0px;
}

.content--layout-1 .content__desc {
	position:  absolute;
	left: 300px;
	bottom: 30px;
}

.content--layout-1 .content__link {
	position:  absolute;
	left: 300px;
	bottom: 0px;
}

/* Different layouts */

/* layout-2 */

.content--layout-2 .content__title {
	position: absolute;
	left: 150px;
	top: 0px;
}

.content--layout-2 .content__img {
	position: absolute;
	right: 0;
	top: 0;
}

.content--layout-2 .content__desc {
	position: absolute;
	right: 300px;
	top: 130px;
	text-align: right;
}

.content--layout-2 .content__link {
	justify-self: end;
	position: absolute;
	right: 300px;
	bottom: 0;
}

.content--layout-2 .content__author {
	max-height: 150px;
	position: absolute;
	right: 0px;
	bottom: 0;
	justify-self: end;
	-ms-flex-item-align: start;
	    -ms-grid-row-align: start;
	    align-self: start;
}

/* layout-3 */
.content--layout-3 .content__title {
	position: absolute;
	right: 0px;
	top: 80px;
}


.content--layout-3 .content__desc {
	position: absolute;
	max-width: 300px;
	right: 0px;
	top: -30px;
}

.content--layout-3 .content__link {
	justify-self: end;
	position: absolute;
	left: 300px;
	bottom: 0;
}

.content--layout-3 .content__author {
	max-height: 250px;
	position: absolute;
	left: 0px;
	bottom: 0;
	justify-self: end;
	-ms-flex-item-align: start;
	    -ms-grid-row-align: start;
	    align-self: start;
}

/* layout-4 */

.content--layout-4 .content__title {
	position: absolute;
	left: 0px;
	top: 0px;
}

.content--layout-4 .content__img {
	position: absolute;
	left: 150px;
	top: 0px;
}

.content--layout-4 .content__desc {
	position: absolute;
	width: 142px;
	right: 0px;
	top: 0px;
}

.content--layout-4 .content__link {
	justify-self: end;
	position: absolute;
	left: 450px;
	bottom: 0;
}

.content--layout-4 .content__author {
	max-height: 250px;
	position: absolute;
	left: 150px;
	top: 150px;
	justify-self: end;
	-ms-flex-item-align: start;
	    -ms-grid-row-align: start;
	    align-self: start;
}

/* Header */
.codrops-header {
	position: relative;
	display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */ display: flex; 
	-webkit-box-orient: horizontal; 
	-webkit-box-direction: normal; 
	    -ms-flex-direction: row; 
	        flex-direction: row;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-align: start;
	    -ms-flex-align: start;
	        align-items: flex-start;
	z-index: 100;
	grid-area: header;
	-ms-flex-item-align: start;
	    align-self: start;
	justify-self: start;
}

.codrops-header__title {
	font-size: 2em;
	padding: 1em 0;
	margin: 0;
	font-weight: 500;
}

.codrops-header__tagline {
	font-size: 0.9em;
	width: 100%;
	margin: 0;
	line-height: 1.5;
	color: #e6e6e6;
}

.codrops-header__tagline::before {
	content: '> ';
}
/* Demos */
.demos {
	/* grid-area: demos;
	align-self: end; */
	position: fixed;
	bottom: 0px;
	left: 1.5rem;
}

.demo {
	display: inline-block;
	position: relative;
	font-size: 1em;
	margin: 0 0.25em 0.5em 0em;
	padding: 1em;
}

.demo .decoshape {
	display: none;
}

.demo--current {
	color: #fff;
	border-color: currentColor;
}

.demo--current .decoshape {
	display: block;
	z-index: -1;
}

/* Deco elements */
.deco {
	pointer-events: none;
}

.deco--title {
	/* grid-area: decotitle; */
	position: fixed;
	right: 1.5em;
	bottom: 1.5em;
	-webkit-writing-mode: vertical-lr;
	-ms-writing-mode: tb-lr;
	    writing-mode: vertical-lr;
	text-align: right;
	-ms-flex-item-align: end;
	    -ms-grid-row-align: end;
	    align-self: end;
	justify-self: end;
}

/* Top Navigation Style */
.codrops-links {
	position: relative;
    display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */ display: flex; 
    -webkit-box-pack: justify; 
        -ms-flex-pack: justify; 
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 0 1em 0 0;
    text-align: center;
    white-space: nowrap;
}

.codrops-icon {
	position: relative;
	display: inline-block;
	padding: 0.75em 0.75em 1em;
}

/* Demo themes */
.demo-2 {
	--background-color: #1d1b22;
	--background-color-2: #342560;
	--background-color-3: #553e9a;
	--text-color: #fff;
	--link-color: #f9ed8a;
	--link-hover-color: #fff;
}

.grid {
	position: relative;
	display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */ display: flex; 
	-ms-flex-wrap: wrap; 
	    flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	width: 100%;
	padding: 0 7em;
	-webkit-perspective: 800px;
	        perspective: 800px;
	-webkit-perspective-origin: 50% 100%;
	        perspective-origin: 50% 100%;
}

.grid__item {
	position: relative;
	display: block;
	-webkit-box-flex: 0;
	    -ms-flex: none;
	        flex: none;
	width: 250px;
	margin: 1.5em 2vw;
	cursor: default;
	-webkit-transform-style: preserve-3d;
	        transform-style: preserve-3d;
}

.grid__item:hover,
.grid__item:focus {
	outline: none;
}

.grid__item--c1,
.grid__item--c1:hover,
.grid__item--c1:focus {
	color: #52649e;
}

.grid__item--c2,
.grid__item--c2:hover,
.grid__item--c2:focus {
	color: #ee7074;
}

.grid__item--c3,
.grid__item--c3:hover,
.grid__item--c3:focus {
	color: #f7f295;
}

.stack {
	position: relative;
	width: 100%;
	height: 200px;
	-webkit-transform-style: preserve-3d;
	        transform-style: preserve-3d;
}

.stack__deco {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: currentColor;
	-webkit-transform-origin: 50% 100%;
	        transform-origin: 50% 100%;
}

.stack__deco:first-child {
	opacity: 0.2;
}

.stack__deco:nth-child(2) {
	opacity: 0.4;
}

.stack__deco:nth-child(3) {
	opacity: 0.6;
}

.stack__deco:nth-child(4) {
	opacity: 0.8;
}

.stack__figure {
	position: relative;
	display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ /* OLD - Firefox 19- (buggy but mostly works) */ display: -ms-flexbox; /* TWEENER - IE 10 */ /* NEW - Chrome */ display: flex; 
	-webkit-box-pack: center; 
	    -ms-flex-pack: center; 
	        justify-content: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	overflow: hidden;
	width: 100%;
	height: 100%;
	cursor: pointer;
	-webkit-transform-origin: 50% 100%;
	        transform-origin: 50% 100%;
}

.stack__img {
	position: relative;
	display: block;
	-webkit-box-flex: 0;
	    -ms-flex: none;
	        flex: none;
}

.grid__item-caption {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	width: 100%;
	-webkit-transform-style: preserve-3d;
	        transform-style: preserve-3d;
}

.grid__item-title {
	font-size: 1.15em;
	width: 100%;
	margin: 1em 0;
	text-align: left;
	color: #fff;
}

.column {
	width: 50%;
	padding: 0 0.5em;
	opacity: 0;
}

.column--left {
	text-align: right;
}

.column--right {
	text-align: left;
}

.column__text {
	font-size: 0.85em;
	display: block;
	line-height: 1.5;
	color: #fff;
}

.column--left .column__text {
	font-weight: bold;
}

.column--right .column__text {
	color: #e6e6e6;
}

/* Individual effects */

/* Vega */
.grid--effect-vega .column {
	opacity: 1;
}

/* case */
.case {
	margin-top: 5em;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
	padding: 0 0 1em;
}

.case:not(:first-child) {
	padding: 4em 0;
}

.case.content--padded {
	padding: 4em 0 8em;
}

.case__title {
	font-size: 1em;
	position: absolute;
	top: 18%;
	left: 2em;
	width: 8em;
	margin: 0.75em 0;
	color: #b0adad;
}

/* casemore */


/* Castor */
.grid--effect-castor .stack__figure,
.grid--effect-castor .stack__deco {
	-webkit-transform-origin: 50% 50%;
	        transform-origin: 50% 50%;
}

.grid--effect-castor .column {
	opacity: 1;
}

/* Hamal */
.grid--effect-hamal {
	-webkit-perspective: none;
	        perspective: none;
}

.grid--effect-hamal .column {
	opacity: 1;
}

/* polaris */
.grid--effect-polaris {
	-webkit-perspective-origin: 100% -100%;
	        perspective-origin: 100% -100%;
}

.grid--effect-polaris .column {
	opacity: 1;
}

/* Alphard */
.grid--effect-alphard {
	-webkit-perspective: none;
	        perspective: none;
}

.grid--effect-alphard .column {
	opacity: 1;
}

.grid--effect-alphard .stack__figure,
.grid--effect-alphard .stack__deco {
	-webkit-transform-origin: 50% 150%;
	        transform-origin: 50% 150%;
}

/* Altair */
.grid--effect-altair {
	-webkit-perspective-origin: 50% -50%;
	        perspective-origin: 50% -50%;
}

.grid--effect-altair .column {
	opacity: 1;
}

.grid--effect-altair .stack__figure,
.grid--effect-altair .stack__deco {
	-webkit-transform-origin: 50% 100%;
	        transform-origin: 50% 100%;
}

/* rigel */
.grid--effect-rigel {
	-webkit-perspective-origin: 50% 100%;
	        perspective-origin: 50% 100%;
}

.grid--effect-rigel .column {
	opacity: 1;
}

/* Canopus */
.grid--effect-canopus {
	-webkit-perspective-origin: 50% 0;
	        perspective-origin: 50% 0;
}

.grid--effect-canopus .column {
	opacity: 1;
}

.grid--effect-canopus .stack__figure,
.grid--effect-canopus .stack__deco {
	-webkit-transform-origin: 50% 100%;
	        transform-origin: 50% 100%;
}

/* pollux */
.grid--effect-pollux {
	-webkit-perspective: 1000px;
	        perspective: 1000px;
	-webkit-perspective-origin: 50% -70%;
	        perspective-origin: 50% -70%;
}

.grid--effect-pollux .column {
	opacity: 1;
}

.grid--effect-pollux .stack__figure,
.grid--effect-pollux .stack__deco {
	-webkit-transform-origin: 50% 50%;
	        transform-origin: 50% 50%;
}

.grid--effect-pollux .grid__item-caption > .grid__item-title {
	-webkit-transform-origin: 50% -200%;
	        transform-origin: 50% -200%;
}

/* deneb */
.grid--effect-deneb {
	-webkit-perspective: none;
	        perspective: none;
}

.grid--effect-deneb .stack__figure,
.grid--effect-deneb .stack__deco {
	-webkit-transform-origin: 50% 50%;
	        transform-origin: 50% 50%;
}

.grid--effect-deneb .grid__item-caption > .column {
	-webkit-transform-origin: 50% -200%;
	        transform-origin: 50% -200%;
}

/* team css*/
.teams_show {
	top: 40%;
	display: inline-block;
	width: 1000px;
	text-align: center;
	padding: 10px;
}
.show {
	width: 380px;
	border: 2px solid #fff;
	margin: 40px;
	padding: 10px;
	display: inline-block;
	-webkit-transition: all 0.5s ease 0s;
	transition: all 0.5s ease 0s;
	pointer-events: auto;
}
.show:hover {
	border-color: #f9ed8a;
	color: #f9ed8a;
}
.show h1{
	pointer-events: none;
}
.show_content img{
	width: 100px;
	height: 100px;
	margin: 0 auto;
	display: block;
	border-radius: 50px;
	margin-bottom: 20px;
}
.show_content a {
	padding-bottom: 20px;
	display: inline;
	margin: auto 10px;
	font-family: Georgia, serif;
}

.category {
	font-family: Georgia, serif;
	font-size: 1.5em;
	margin: 15px;
	pointer-events: none;
}

@media screen and (max-width: 50em) {
	.content--fixed {
		height: auto;
		min-height: 0;
		display: block;
		z-index: 1000;
		position: absolute;
	}
	.codrops-header {
		-webkit-box-align: center;
		    -ms-flex-align: center;
		        align-items: center;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}
	.deco--title {
		display: none;
	}
	.demos {
		text-align: center;
	}
}

@media screen and (max-width: 40em) {
	.content--layout {
		-webkit-transform: scale3d(0.8,0.8,1);
		        transform: scale3d(0.8,0.8,1);
	}
}

@media screen and (max-width: 36em) {
	.content--layout {
		-webkit-transform: scale3d(0.7,0.7,1);
		        transform: scale3d(0.7,0.7,1);
	}
}

@media screen and (max-width: 32em) {
	.content--layout {
		-webkit-transform: scale3d(0.6,0.6,1);
		        transform: scale3d(0.6,0.6,1);
	}
	.content__author,
	.content__desc,
	.content__link {
		font-size: 1.35em;
	}
}

@media screen and (max-width: 28em) {
	.content--layout {
		-webkit-transform: scale3d(0.5,0.5,1);
		        transform: scale3d(0.5,0.5,1);
	}
}

@media only screen and (max-width:500px) {
	.demo-2 .case .grid {
		padding-top: 15em;
	}
	.demo-2 .content-wrap {
		padding-top: 10em;
		height: auto;
	}
	.demo-2 .teams_show {
		width: auto;
	}
	.demo-2 .teams_show .show {
		width: auto;
	}
	.teams-mobile {
		padding-bottom: 10em;
	}
}
