@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: 24px;
  text-shadow: 0px 0px 16px #bd0501, 0px 0px 20px #ff2b01;
  color: #fdd6d6;
}

.p2 {
  font-size: 16px;
  text-shadow: 0px 0px 16px #141415, 0px 0px 20px #23272e;
  ;
  text-align: center;
}

.p1,
.p2 {
  line-height: 24px;
  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;
}

/* header */
header {
  background: url(../image/formula_bg1.jpg) no-repeat 50% 0;
  background-size: cover;
  padding: 60px 0 1% 0;
}

.title {
  z-index: 7;
}

/* header, */

section {
  padding: 1% 0;
}

section:nth-of-type(1) {
  background: url(../image/formula_bg3.jpg) no-repeat 50% 0;
  background-size: cover;
}

section:nth-of-type(2) {
  background: url(../image/formula_bg4.png) no-repeat 50% 0;
  background-size: cover;
  margin-top: -4.4%;
}

section:nth-of-type(3) {
  background: url(../image/formula_bg5.png) no-repeat 50% 0;
  background-size: cover;
  margin-top: -5%;
}

/* 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;
}

/* 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) {}

@media (max-width: 1440px) {

  section:nth-of-type(2),
  section:nth-of-type(3) {
    margin-top: -6.4%;
  }
}

@media (max-width: 1024px) {

  .p1,
  .p2 {
    padding: 0 10%;
  }

  section:nth-of-type(3) {
    margin-top: -8.2%;
  }
}

@media (max-width: 768px) {

  header {
    height: auto;
  }

  section:nth-of-type(2) {
    margin-top: -7%;
  }

  section:nth-of-type(3) {
    margin-top: -11%;
  }

  .navbar {
    display: block;
  }

  .ytfb {
    display: none;
  }

  .titleBox {
    margin: 0;
  }

  .nav>li>a>img {
    width: 20vw;
  }
}

@media (max-width: 480px) {

  section {
    padding: 5% 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) {
  #weaponSpec {
    transform: translateY(0%);
  }

}

@media (max-width: 375px) {
  /* header {
    height: 60vh;
  } */
}