@charset "UTF-8";
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

body {
  font-family: '微軟正黑體', 'Malgun Gothic', Dotum, Tahoma, "Noto Sans KR", sans-serif;
  background-color: #111111;
  color: #fff;
}

p{
  font-family: 'Noto Sans TC', serif;
  font-weight: 600;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

:focus {
  outline: none;
}

a:hover,
a:active,
a:focus {
  text-decoration: none;
}

ol,
ul,
li {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.p1{
  font-size: 28px;
  text-shadow: 0px 0px 16px #ffffff, 0px 0px 20px #aeb3c1;
  color: #262b31; 
}

.p2{
  font-size: 24px;
  text-shadow: 0px 0px 16px #141415, 0px 0px 20px #23272e;;
}

.p1, .p2 {
  line-height: 40px;
  padding: 0 22%;
}

.navbar-inverse .navbar-nav>li>a,
.sideBtn ul>li>a {
  -moz-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}

/*navbar*/
.navbar-inverse {
  background-color: #111;
  border-color: #08080800;
}

.navbar-inverse .navbar-nav>li>a {
  color: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
}

.navbar-inverse .navbar-nav>li>a.brandlogo {
  padding: 5px 0;
  margin-right: 20px;
}

.navbar-inverse .navbar-nav>li>a:focus {
  background-color: transparent;
  outline: none;
}

.navbar-inverse .navbar-nav>.active>a,
.navbar-inverse .navbar-nav>.active>a:focus,
.navbar-inverse .navbar-nav>.active>a:hover {
  color: #fff;
  font-weight: 400;
  font-size: 16px;
}

.navbar-inverse .navbar-nav>li>a:hover {
  background-color: #333;
}

.navbar-inverse .navbar-toggle {
  border-color: #333;
}

.navbar {
  display: inline-flex;
    align-items: center;
  min-height: 60px;
  margin-bottom: 0px;
  border: 0px;
}

#allbg {
  background: url(../image/robotic_bg0.jpg) no-repeat 50% 0;
  background-size: cover;
  position: relative;
  margin-top: 60px;
}

/* header */
header, .gif{
  height: 120vh;
}

header{
  background: url(../image/robotic_bg2.png) no-repeat 50% 0;
  background-size: cover;
}

.gif{
  background: url(../image/Rround2.gif) no-repeat 50% 0;
  background-size: cover;
}

.title {
  z-index: 7;
}

section{
  padding: 10% 0;
}

/* sidebar */
.sideBtn {
  position: fixed;
  right: 1%;
  top: 10%;
  z-index: 999;
}

.sideBtn ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.sideBtn ul>li {
  margin: 0 0 10px;
}

.sideBtn ul>li>a {
  text-align: center;
  padding: 0;
}

.sideBtn ul>li>a:hover,
.sideBtn ul>li>a:focus,
.sideBtn ul>li.active a {
  outline: none;
  background: none;
  animation: rubberBand .5s ease-in-out;
}

@-webkit-keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes rubberBand {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }

  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }

  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }

  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }

  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

/* sidebar */
.c31{
  max-width: 1440px;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}

.navbar-inverse .navbar-brand {
  padding-top: 8px;
  padding-bottom: 0;
  max-width: 220px;
}

.navbar-inverse .navbar-brand:focus,
.navbar-inverse .navbar-brand:hover {
  background-color: transparent;
}

.ytfb{
  width: 100%;
  max-width: 315px;
  display: inline-flex;
  align-items: center;
  padding-left: 1%;
}

@media (max-width: 1920px) {
  header, .gif{
    height: 100vh;
  }

}

@media (max-width: 1440px) {
  header, .gif{
    background-size: contain;
  }

    section {
      padding: 20% 0;
  }

}

@media (max-width: 1024px){

  .p1, .p2 {
      padding: 0 10%;
  }
}

@media (max-width: 768px) {

  header, .gif{
    height: auto;
  }

  .navbar{
    display: block;
  }

  .ytfb{
    display: none;
  }

  .titleBox {
    margin: 0;
  }

  .nav>li>a>img {
    width: 20vw;
  }
}

@media (max-width: 480px) {

  section {
    padding: 50% 0;
  }

  .p1, .p2 {
    line-height: 30px;
    padding: 0 10%;
  }

  .p1 {
      font-size: 20px;
  }

  .p2 {
      font-size: 18px;
  }

  .sideBtn {
    right: 2%;
  }

  .navbar-inverse .navbar-brand {
    max-width: 190px;
    padding-top: 10px;
  }

  .navbar-inverse .navbar-nav>li>a {
    font-size: 14px;
  }
}

@media (max-width: 425px){
  header {
      height: 70vh;
  }
}

  @media (max-width: 375px){
    header {
        height: 60vh;
    }
}