@import url(https://fonts.googleapis.com/earlyaccess/cwtexming.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

body {
  margin: 0;
  overflow-x: hidden;
}

/* ham menu */
#menuToggle {
  display: block;
  position: relative;
  top: 50px;
  left: 50px;

  -webkit-user-select: none;
  user-select: none;

  /* background-color: red;
  padding: 15px;
  border-radius: 50%; */
}

#menuToggle input {
  display: block;
  width: 60px;
  height: 52px;
  position: absolute;
  top: -7px;
  left: -5px;

  cursor: pointer;

  opacity: 0; /* hide this */
  z-index: 2; /* and place it over the hamburger */

  -webkit-touch-callout: none;
}

/*
  * Just a quick hamburger
  */
/* 漢堡選單 */
#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;

  background: #1a4e76;
  border-radius: 3px;

  z-index: 50;

  transform-origin: 4px 0px;

  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
}

#menuToggle span:first-child {
  transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%;
}

/*
          * Transform all the slices of hamburger
          * into a crossmark.
          */
#menuToggle input:checked ~ span {
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: white;
}

/*
          * But let's hide the middle one.
          */
#menuToggle input:checked ~ span:nth-last-child(3) {
  opacity: 0;
  transform: rotate(0deg) scale(0.2, 0.2);
}

/*
          * Ohyeah and the last one should go the other direction
          */
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

/*
          * Make this absolute positioned
          * at the top left of the screen
          */
#menuToggle input ~ ul {
  position: absolute;
  width: 320px;
  margin: -100px 0 0 -50px;
  padding: 50px;
  padding-top: 125px;

  /* menu close bg color */
  background: #1a4e76;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  /* to stop flickering of text in safari */

  transform-origin: 0% 0%;
  transform: translate(40%, 0);

  transition: transform 1s cubic-bezier(0.77, 0.2, 0.05, 1);
}

#ham_menu li {
  padding: 20px 0;
  font-size: 22px;
  color: white;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 500;
  text-align: center;
  padding-left: 10px;
  width:280px;
}

#ham_menu a {
  text-decoration: none;
}

/*  And let's slide it in from the left */
#menuToggle input:checked ~ ul {
  transform: translate(-60%, 0);
  background-color: #1a4e76;
}

#nav {
  position: fixed;
  right: 100px;
  z-index: 30;
}
.linkto:hover {
  background-color: #f61d2e;
}
/* ham menu end */

#intro-wrapper {
  background-color: #f7f8f3;
}

/* intro pos */
#intro-content {
  text-align: center;
  padding-top: 5vh;
}

#intro-title {
font-size: 4em;
font-family: "Noto Sans TC", sans-serif;
font-weight: 800;
}

.intro-text0 {
  padding-top: 5vh;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.2em;
  letter-spacing: 2px;
  line-height: 1.8em;
  color: #e2ce35;
  margin: 0 auto;
  display: block;
}

.intro-text {
  margin-bottom: 5vh;
  font-family: "Noto Sans TC", sans-serif;
  font-size: 1.3em;
  letter-spacing: 2px;
  line-height: 1.8em;
  margin: 0 auto;
  display: block;

  color: #6c6c6d;
}

.wrapper {
  width: 90%;
  margin: 0 5%;
}

#intro {
    height: 100vh;
    width: 100%;

    text-align: center;
    color: white;
}

#intro .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#header-img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  padding-top:5vh;
  padding-bottom:15vh;
  /* background-color: red; */
}


/* pin */
#main {
  position: relative;
  background-color: white;
}

/* parallax */
.bcg-parallax {
  padding: 140px 0 ;
  color: white;
  background-color: #000;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bcg {
  /* background: url(img/part1/01.jpg) no-repeat; */
  /* background-position: center;
  background-size: cover;
  position: absolute;
  width: 100%;
  height: 180%; */
  top: 0;
  z-index: 1;
  opacity: 0.7;
}

#img01 {
background: url(img/part1/01.jpg) no-repeat;
background-position: center;
background-size: cover;
position: absolute;
width: 100%;
height: 180%;
}

#img02 {
background: url(img/part1/02.jpg) no-repeat;
background-position: center;
background-size: cover;
position: absolute;
width: 100%;
height: 180%;
}

.content-wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 1140px;
  position: relative;
  z-index: 2;
}


/* Footer */
.footer-style {
position: relative;
  background-color: #060e24;
  color: #e8e8e8;
  text-align: center;
  font-family: "Noto Sans TC", sans-serif;
  font-weight: 300;
  font-size: 1em;
  vertical-align: middle;
  margin-left: 0px;
  margin-right: 0px;
  padding-left: 5px;
  padding-right: 5px;
  padding-top: 30px;
  padding-bottom: 30px;
}

/* -------------------- RWD END -------------------- */
/* hover color */
.linkto0:hover {
  background-color: #bcb4a9;
}

.linkto1:hover {
  background-color: #968715;
}
.linkto2:hover {
  background-color: #0d395b;
}
.linkto3:hover {
  background-color: #7c151c;
}
