/* Reset */

html,
body {
  width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
}

html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
p,
blockquote,
pre,
address,
ul,
ol,
li,
dl,
dt,
dd,
caption,
form,
fieldset,
legend,
input {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

.logo{
	position:absolute;
	margin: 30px;
	z-index: 100000;
}

.text_wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 100;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  box-sizing: border-box;
}

.text_wrap .title{
	padding-top: 250px;
}



.text_wrap ul li{
	float:left;
	width:200px;
	height:200px;
	margin: 10px;
	background-color: #252628;
	box-shadow: 0 0 0 6px #000 inset; 
	transition: all ease-in-out 0.3s;
	
}

.text_wrap ul li:hover{
	background-color: #ffbf00;
	box-shadow: 0 0 0 12px #fff inset; 
}

.sns_btn{position:absolute;top:0;right:0; z-index: 300;}
.sns_btn li{width:74px;height:72px;margin-bottom:2px}
.sns_btn li a{display:block;width:100%;height:100%}
#home_btn{background:url(https://common-cdn-api.joycityglobal.com/3on3/playfreenow/sns_home_on.gif) 0 0 no-repeat;background-size:100% 100%}
#home_btn:hover,#home_btn:active,#home_btn:focus{background:url(https://common-cdn-api.joycityglobal.com/3on3/playfreenow/sns_home_on.gif) 0 0 no-repeat;;background-size:100% 100%}
#fb_btn{background:url(https://common-cdn-api.joycityglobal.com/3on3/playfreenow/sns_fb.gif) 0 0 no-repeat;background-size:100% 100%}
#fb_btn:hover,#fb_btn:active,#fb_btn:focus{background:url(https://common-cdn-api.joycityglobal.com/3on3/playfreenow/sns_fb_on.gif) 0 0 no-repeat;;background-size:100% 100%}
#tw_btn{background:url(https://common-cdn-api.joycityglobal.com/3on3/playfreenow/sns_tw.gif) 0 0 no-repeat;background-size:100% 100%}
#tw_btn:hover,#tw_btn:active,#tw_btn:focus{background:url(https://common-cdn-api.joycityglobal.com/3on3/playfreenow/sns_tw_on.gif) 0 0 no-repeat;;background-size:100% 100%}

.bg_pattern {
  position: absolute;
	top: 0;
  left: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  background: url('https://common-cdn-api.joycityglobal.com/3on3/playfreenow/bg_main_pattern.png') left top repeat;
}

* { box-sizing: border-box; }
.video-background {
  background-size: cover;
  background-color: #000;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: -99;
}
.video-foreground,
.video-background iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#vidtop-content {
	top: 0;
	color: #fff;
}

@media (min-aspect-ratio: 16/9) {
  .video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
  .video-foreground { width: 300%; left: -100%; }
}
@media all and (max-width: 600px) {
	.text_wrap ul li{
		width:100px;
		height:100px;
		margin: 4px;
		transition: all ease-in-out 0.0s;
	}
}
@media all and (max-width: 500px) {
.video-background{background:url('pfn_main_bg.png')center no-repeat;} 
.video-foreground iframe{display:none;}
        
}

/* 900px 이하일 때 */
@media all and (max-width:900px) {
  .sns_btn li{
    width: 40px;
    height: 39px;
  }
	.title img{
		width:90%;
	}
	
	.text_wrap ul li{
	width:100px;
	height:100px;
		margin: 4px;
		transition: all ease-in-out 0.0s;
	}
	
	.text_wrap ul li img{
	width:100%;	
	}
}




