@font-face{
	font-family: 'Futura Demi';
	src: url('../fonts/futurademic.otf');
}

@font-face{
	font-family: 'asinastra';
	src: url('../fonts/asinastra.otf');
}

@font-face{
	font-family: 'Futura Book';
	src: url('../fonts/futurabookc.otf');
}

@font-face{
	font-family: 'Josefin Sans';
	src: url('../fonts/josefinsans.ttf');
}

::-webkit-input-placeholder { text-align: center; }
:-moz-placeholder { text-align: center; }
::-moz-placeholder { text-align: center; }
:-ms-input-placeholder { text-align: center; }

:root{
  font-family: 'Futura Demi', sans-serif;
  font-size: 18px;
}

body{
  margin: 0px;
}

header{
  position: relative;
  /* height: 300px; */
}

.test_but{
	position: relative;

	text-align: center;
}

.test_but > button{
 height:1px;
 margin-bottom: 0px;
}

.test_but > button:after{
	content: '';
	position: absolute;
	left: 0px;
	bottom: 0px;
	width: 100%;
	height: 12%;
	background: rgba(0, 0, 0, 0.2);
	border-radius: 0px 0px 5px 5px;
}



#popup_widget_overlay{
	display: none;
	opacity: 0;
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	transition: 300ms;
	z-index:15000;
}

#popup_widget{
	display: none;
	position: absolute;
	width: 100%;
	max-width: 2500px;
	min-width: 1150px;
	height: 90%;
  min-height: 750px;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	/* background: rgba(153, 160, 255, 0.4); */
	overflow: hidden;
	z-index:25000;
}

#popup_widget > div:nth-child(1){
	position: absolute;
  z-index: 5;
	top: 50px;
	left: -350px;
	height: 250px;
  width: 2870px;
	background: url(img/img_my/cline_1.png) 0px 0px / contain no-repeat;
	animation-name: car;
	animation-duration: 2900ms;
	animation-timing-function: cubic-bezier(0.14, 0.33, 0.35, 1.03);
}

#popup_widget > div:nth-child(2){
	position: absolute;
  z-index: 5;
	top: 500px;
	left: -100px;
	height: 250px;
	width: 2830px;
	background: url(img/img_my/cline_2.png) 0px 0px / contain no-repeat;
	animation-name: superman;
	animation-duration: 1900ms;
	animation-timing-function: cubic-bezier(0.14, 0.33, 0.35, 1.03);
}

#popup_widget > div:nth-child(3){
	position: absolute;
  z-index: 5;
	top: 350px;
	left: -170px;
	height: 400px;
	width: 2680px;
	background: url(img/img_my/cline_3_text.png) 0px 0px / contain no-repeat;
	animation-name: unicorn;
	animation-duration: 1800ms;
	animation-timing-function: cubic-bezier(0.14, 0.33, 0.35, 1.03);
}

@keyframes car{
	0%{
		background-position-y: -100px;
		background-position-x: 2850px;
	}
	12%{
		background-position-y: -100px;
		background-position-x: 2850px;
	}
	100%{
		background-position-y: 0px;
		background-position-x: 0px;
	}
}

@keyframes superman{
	0%{
		background-position-y: 80px;
		background-position-x: -2730px;
	}
	100%{
		background-position-y: 0px;
		background-position-x: 0px;
	}
}

@keyframes unicorn{
	0%{
		background-position-y: 135px;
		background-position-x: 2660px;
	}
	100%{
		background-position-y: 0px;
		background-position-x: 0px;
	}
}

#popup_close{
	position: relative;
	height: 50px;
}

#popup_close div{
	position: relative;
	cursor: pointer;
	background: url(img/img_my/x.png) right / contain no-repeat;
	height: 100%;
	width: 50px;
	margin-left: calc(100% - 100px);
	animation-name: close_button;
	animation-duration: 1000ms;
}

@keyframes close_button{
	0%{ opacity: 0; }
	100%{ opacity: 1; }
}

#popup_people{
	position: absolute;
	margin-top: 148px;
	height: 500px;
	width: 1150px;
	perspective: 900px;
	left: 62%;
	transform: translateX(-49%);
}

#popup_cont{
	position: relative;
	height: 500px;
	width: 1150px;
	margin: 0px auto;
	perspective: 900px;
	z-index: 5;
}

#popup_people .pp{
	transform-origin: bottom;
	position: absolute;
	height: 100%;
	width: 100%;
	bottom: 0px;
}

#popup_people .pp:nth-child(1){
	z-index: 4;
	/*background: url(img/img_my/c1.png) 5px 95px / 350px no-repeat;*/
	animation-duration: 2100ms;
	animation-name: pp_1;
}

/*#popup_people .pp:nth-child(2){*/
	/*z-index: 3;*/
	/*background: url(img/img_my/c2.png) 170px 75px / 290px no-repeat;*/
	/*animation-duration: 2400ms;*/
	/*animation-name: pp_2;*/
/*}*/

/*#popup_people .pp:nth-child(3){*/
	/*z-index: 2;*/
	/*background: url(img/img_my/c3.png) 272px 100px / 404px no-repeat;*/
	/*animation-duration: 2550ms;*/
	/*animation-name: pp_3;*/
/*}*/

/*#popup_people .pp:nth-child(4){*/
	/*z-index: 1;*/
	/*background: url(img/img_my/c4.png) 484px 130px / 260px no-repeat;*/
	/*animation-duration: 2750ms;*/
	/*animation-name: pp_4;*/
/*}*/

@keyframes pp_1{
	0%{ opacity: 0; }
	45%{
		opacity: 0;
		transform: rotateX(106deg);
	}
	50%{ opacity: 0; }
	60%{ opacity: 1; }
	100%{ transform: rotateX(0deg); }
}

@keyframes pp_2{
	0%{ opacity: 0; }
	50%{
		opacity: 0;
		transform: rotateX(106deg);
	}
	55%{ opacity: 0; }
	60%{ opacity: 1; }
	100%{ transform: rotateX(0deg); }
}

@keyframes pp_3{
	0%{ opacity: 0; }
	55%{
		opacity: 0;
		transform: rotateX(106deg);
	}
	60%{ opacity: 0; }
	65%{ opacity: 1; }
	100%{ transform: rotateX(0deg); }
}

@keyframes pp_4{
	0%{ opacity: 0; }
	60%{
		opacity: 0;
		transform: rotateX(106deg);
	}
	65%{ opacity: 0; }
	70%{ opacity: 1; }
	100%{ transform: rotateX(0deg); }
}

.cw{
	z-index: 5;
	position: relative;
	margin: 0px 0px 0px auto;
	padding-top: 140px;
  width: 455px;
	height: 400;
	animation-duration: 2500ms;
	animation-name: content;
	/* background: #97bdde14; */
}

@keyframes content{
	0%{ opacity: 0; }
	80%{ opacity: 0; }
	100%{ opacity: 1; }
}

.cw h1{
	font-family: 'Futura Book', sans-serif;
	letter-spacing: 0.5;
	line-height: 30px;
	font-weight: 300;
	font-size: 24px;
	color: #fff;
	margin: 5px;
}

.cw h2{
	font-family: 'Futura Book', sans-serif;
	letter-spacing: 0.5;
	text-align: center;
	font-weight: 300;
	font-size: 20px;
	margin: 10px 5px;
	color: #fff;
}

.cw h3{
	font-family: 'Futura Book', sans-serif;
	transform: translateY(-20px);
	letter-spacing: 0.5;
	text-align: center;
	font-weight: 300;
	font-size: 17px;
	margin: 0px;
	margin-left: 10px;
	color: #fff;
}

.cw h3 > i{
	font-style: normal;
	padding: 0px 35px;
}

.cw span{
	position: absolute;
	transform: rotate(10deg) translate(-2px, 2px);
	font-size: 32px;
	color: #ffe678;
	text-shadow: 0px 0px 4px #ff0303, 0 0 1em #ea4409, 0 0 0.4em #ff0303;
}

.cw s{
	text-decoration: none;
	padding-left: 4px;
	font-size: 24px;
}

.nixcont{
	position: relative;
	margin-left:  auto;
	margin-right: auto;
	width: fit-content;
	overflow: hidden;
	transform: scale(0.7) translateY(-15px);
}

.nixpair{
	padding:0px 5px;
	float:left;
	height:100px;
	pointer-events:none;
}

.nixbg{
	font-family: 'Josefin Sans', sans-serif;
	font-size:70px;

	box-sizing:border-box;
	position:relative;height:80px;line-height:80px; width:50px; float:left;
	border-radius: 20px;
	border-bottom-left-radius:0px;
	border-bottom-right-radius:0px;

	padding-top:8px; margin:0px 5px;

	box-shadow:
	inset 0px 1px 3px 2px rgba(90,  0,   0, 0.9),
	inset 0px 2px 2px 3px rgba(230, 220, 0, 1),
	inset 0px 4px 4px 3px rgba(255, 0,   0, 0.9);


	background-image:url("img/img_my/lamp.png"),
	                 -webkit-linear-gradient(top, rgba(35, 20, 40,  0.7),
	                                              rgba(35, 20, 40,  0.5),
	                                              rgba(35, 20, 110, 0.7));

	background-image:url("img/img_my/lamp.png"),
	                    -moz-linear-gradient(top, rgba(35, 20, 40,  0.7),
	                                              rgba(35, 20, 40,  0.5),
	                                              rgba(35, 20, 110, 0.7));

	background-image:url("img/img_my/lamp.png"),
	                     -ms-linear-gradient(top, rgba(35, 20, 40,  0.7),
	                                              rgba(35, 20, 40,  0.5),
	                                              rgba(35, 20, 110, 0.7));

	background-image:url("img/img_my/lamp.png"),
	                      -o-linear-gradient(top, rgba(35, 20, 40,  0.7),
	                                              rgba(35, 20, 40,  0.5),
	                                              rgba(35, 20, 110, 0.7));

	background-image:url("img/img_my/lamp.png"),
	                         linear-gradient(top, rgba(35, 20, 40,  0.7),
	                                              rgba(35, 20, 40,  0.5),
	                                              rgba(35, 20, 110, 0.7));

	background-repeat:repeat, no-repeat;
	background-size:12px, 100%;
}

.nixbg:after{
	content:'';
	display:block;
	position:absolute;top:100%; left:0; width:100%; height:20%; background-color:gray;
	border-bottom-left-radius:35%;
	border-bottom-right-radius:35%;

	background-image:-webkit-radial-gradient(  40% 100% , #ea4 0%, #f93 15%, #caa 50%, #778 75%, #345 100%   );
	background-image:   -moz-radial-gradient(  40% 100% , #ea4 0%, #f93 15%, #caa 50%, #778 75%, #345 100%   );
	background-image:    -ms-radial-gradient(  40% 100% , #ea4 0%, #f93 15%, #caa 50%, #778 75%, #345 100%   );
	background-image:     -o-radial-gradient(  40% 100% , #ea4 0%, #f93 15%, #caa 50%, #778 75%, #345 100%   );
	background-image:        radial-gradient(  40% 100% , #ea4 0%, #f93 15%, #caa 50%, #778 75%, #345 100%   );
}

.nixbg .nix{
	width:100%; text-align:center; position:absolute;
	color:rgba(60, 40, 20, 1  );
	pointer-events:none;
	transition:color 0.5s, text-shadow 0.5s;
	transition-timing-function:ease-out;
}

.nixbg .nix_open{
	transition:color 0.2s, text-shadow 0.2s;
	transition-timing-function:ease-out;
	color: transparent;
	text-shadow:
	0   0   1px  rgba(254, 252, 124, 1    ),
	0   0   3px  rgba(255, 217, 54,  0.7  ),
	0   0   5px  rgba(255, 0,   0,   1    ),
	0   0   14px rgba(255, 0,   0,   1    ),
	0   0   17px rgba(255, 0,   0,   1    ),
	0   0   20px rgba(255, 0,   0,   1    ),
	0   5px 25px rgba(0,   0,   255, 0.9  );

	font-weight:300;
	z-index:10;
}

#button_div {
	position: relative;
	margin: 0px auto;
	width: 250px;
}

#button_div input{
	font-family: 'Futura Book', sans-serif;
	text-align: center;
	font-size: 18px;
	position: relative;
	display: block;
	padding: 0px 10px;
	height: 40px;
	width: 100%;
	border: 2px solid transparent;
	border-radius: 4px;
	outline: none;
}
#button_div input: focus{
	border: 2px solid #18ffe1;
	box-shadow: 0px 0px 6px 0px #18ffe1;
}

#button_div button{
	cursor: pointer;
	font-family: 'Futura Book', sans-serif;
	font-size: 22px;
	position: relative;
	display: block;
	margin: 12px 0px;
	padding: 0px;
	height: 40px;
	width: 100%;
	border: 0px;
	border-radius: 4px;
	background: #cc0001;
	border: 2px solid #ffe383;
	color: #ffe383;
	box-shadow: 0px 0px 12px 3px #cc0001;
	text-shadow: 0px 0px 4px #ff0303, 0 0 1em #ea4409, 0 0 0.4em #ff0303;
}

#button_div button:hover{
	color: #ffe383;
}

@media (max-width: 1720px){
	.cw{
		padding-top: 145px;
	}
}
@media (max-width: 2350px){
	#popup_people{
		height: 475px;
	}
}
@media (max-width: 2050px){
	#popup_people{
		height: 460px;
	}
}
@media (max-width: 1550px){
	#popup_people{
		height: 445px;
	}
}
