* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Noto Sans TC', '微軟正黑體', sans-serif;
	outline: none;
		
}

::-webkit-scrollbar {
  display: none;
}
button:focus {outline-style:none; -moz-outline-style: none;}

body{
    background-image: url(../img/index_bg.jpg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    background-color: rgba(0,0,0,1.00);
	overflow-x: hidden;
}

#about img,
#container img,
#works img,
#servo img,
#more img {
	width: 780px;
	width: 100%;
	height: auto;
	margin-left: auto;
    margin-right: auto;}

#works{padding-top: 4vh;}
.container{
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    display: block;
	width: 100%;
}

.logo{
    width: 189px;
    margin-top: 20px;
    display: block;
    clear: both;
    margin-bottom: 10px;
}
.sl{
	width: 344px;
    display: block;
    clear: both;
}
.logo img, .sl img{width: 100%;height: auto;}
.main{
    width: 100%;
    height: 90vh;
    display: block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 0px;
    clear: both;
	overflow: hidden;
}

.nav-bar {float: left;}

.nav-bar ul {
    width: 100%;
    height: 261px;
    text-align: center;
    display: block;
    margin-top: 10px;
    clear: both;
    
    margin-left: auto;
    margin-right: auto;
}

.nav-bar ul li {
    display: block;
    clear: both;
    float: left;
}

.nav-bar ul li a {
  
	width: 100%;
    height: 41px;
    text-transform: uppercase;
    text-decoration: none;
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    clear: both;

}
.nav-bar ul li a img{ width: 100%;height: auto;}


.ytbg{
    background-image: url(../img/index_06-2.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    margin-left: auto;
    margin-right: auto;
}
.box{margin-top: 20px;}

#pageTop {
  position: fixed;
  bottom: 155px;
  right: 15vw;
  z-index: 9999;
}

#pageTop a {
    display: block;
    z-index: 999;
    width: 44px;
    height: 44px;
    background-image: url(../img/gotop.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
}

#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
}
/*nav*/
#navigation-menu{
    position: fixed;
    z-index: 1000;
    bottom: 0px;
}
	
.menu{
	display: block;
    background-color: rgba(12,1,3,0.70);
    width: 100%;
    padding-top: 30px;
    padding-bottom: 20px;
	opacity: 0;
}
.menu ul {
    width: 100%;
    max-width: 950px;
    padding: 0;
    margin-top: 0px;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
    text-align: center;
}
.menu li {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    margin-bottom: 10px;
}
.menu li a img{
    max-width: 200px;
	width: 100%;
    height: auto;}

.menu li a{
	width: 110px;
    height: 64px;
    display: block;
}
.menu li a:hover{
	width: 110px;
    height: 64px;}

/*========= FixedFn =========*/
.fixedFn {
    position: fixed;
    top: 15px;
    right: 30px;
    z-index: 150;
    font-size: 0;
}

.fixedFn a {
    color: #fff;
    text-decoration: none;
}

.fixedFn span {
  margin: 2px;
  display: inline-block;
  font-size: 16px;
  line-height: 45px;
  text-align: center;
  height: 45px;
  width: 45px;
  background-color: rgba(0,0,0,0.7);
}

.fixedFn .home {
    padding: 2px 0 0 25px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    width: 94px;
    background-image: url(../img/icon_home.png);
    background-position: -2px 0;
    background-repeat: no-repeat;
}

.fixedFn .apple {
    background-position: center;
    background-image: url(../img/icon_appleStore.png);
    background-size: 80%;
    background-repeat: no-repeat;
}

.fixedFn .android {
    background-position: center;
    background-image: url(../img/icon_googlePlay.png);
    background-size: 80%;
    background-repeat: no-repeat;
}

/*!
 * Responsive
 */

@media screen and (max-width: 1366px) {
.main{height: auto;}

#about img,
#container img,
#servo img,
#more img {
	max-width:unset;
	width: 100%;
	height: auto;
	margin-left: auto;
    margin-right: auto;}
#pageTop {
  bottom: 25px;
  right: 2vw;
}
	#works img{width: 100%;
	height: auto;}
}

@media screen and (max-width: 960px) {
  .fixedFn {right: 15px;}
  .fixedFn .home {
    font-size: 0;
    width: 45px;
  }
.fixedFn span {display: block;}
a {cursor: pointer;}

.nav-bar {width: 38%;}
	
.nav-bar ul{margin-top: 0px;}
.sl{width: 90%;}
.logo{width: 75%;}
#works{padding-top: 0vh;}
}

/*@media screen and (min-width: 576px) {
.container, .container-sm{max-width: unset;}}*/

@media screen and (max-width: 414px) {
.container{width: 400px;}
.sl{width: 90%;}

.fixedFn{top: 15px;right: 22px;}
.nav-bar ul li{
    display: block;
    margin-left: 0px;
    float: left;
    margin-top: -7px;
    margin-bottom: 0px;
	width: 200px;
}
}



