/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  font-size: 14px;
}

body {
  margin: 0;
  font-family: "Montserrat", "Microsoft JhengHei", sans-serif;
}

main {
  display: block;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

a {
  background-color: transparent;
  text-decoration: none;
  color: #ac4e5c;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
  max-width: 100%;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button,
input {
  /* 1 */
  overflow: visible;
}

button,
select {
  /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

*,
*:before,
*after {
  box-sizing: border-size;
}

ul {
  padding-left: 0;
  list-style: none;
}

h1 {
  font-size: 5rem;
  margin: 0.45rem auto;
}

h2 {
  font-size: 3.5rem;
  margin: 0.35rem auto;
}

h3 {
  font-size: 2.5rem;
  margin: 0.25rem auto;
}

p {
  font-size: 1rem;
}

body::-webkit-scrollbar {
  width: 7px;
  height: 5px;
}

body::-webkit-scrollbar-track {
  background-color: #ac4e5c;
}

body::-webkit-scrollbar-thumb {
  background-color: #aa8d61;
  border-radius: 10px;
}

body::-webkit-scrollbar-corner {
  background-color: #ac4e5c;
}

.bodyInner {
  background: url(../images/bgt.jpg) repeat;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-right: auto;
  margin-left: auto;
}

.navbar-nav {
  position: relative;
}

.button-toggle {
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  margin-top: 1rem;
}

.button-toggle span.line1::before,
.button-toggle span.line2::before {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ac4e5c;
  margin-bottom: 0.5rem;
}

.button-toggle span.line1::before {
  margin-bottom: 0.5rem;
}

.button-toggle.active span.line1::before {
  margin-bottom: 0rem;
  transform: rotate(-45deg);
}

.button-toggle.active span.line2::before {
  transform: rotate(45deg);
}

header nav {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

header nav h1 {
  margin: 1rem;
}

header nav h1 a {
  background: url("../images/logo.png") no-repeat;
  background-size: contain;
  width: 200px;
  height: 50px;
  display: block;
  text-indent: 101%;
  overflow: hidden;
  white-space: nowrap;
}

.navbar {
  display: flex;
}

.nav-link {
  display: block;
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

.nav-link::after {
  content: "";
  display: block;
  width: 0px;
  height: 0px;
  border-radius: 50%;
  background-color: #ac4e5c;
  margin: 0.5rem auto;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 8px;
  height: 8px;
  transition: 0.3s;
}

.main-wrapper {
  background-image: url(../images/bg.jpg);
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding-bottom: 5%;
}

.main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding: 2.5rem;
}

.main title {
  display: block;
  color: #ac4e5c;
  font-size: 5rem;
  font-weight: bold;
  margin: 0.45rem auto;
}

.col-5 {
  width: 50%;
}

.col-6 {
  width: 60%;
}

.col-12 {
  width: 100%;
}

.col-6 .content {
  width: 350px;
  line-height: 1.5;
  color: #9a7234;
  z-index: 1;
}

.col-4 {
  width: 40%;
}

.col-4 .mainVisual {
  animation: visual 4s ease-in-out infinite;
}

.btn.more {
  display: inline-block;
  padding: 1rem;
  background-color: #fff;
  border-radius: 20px;
  margin-top: 2rem;
}

.btn.more span {
  color: #aa8d61;
  padding-left: 0;
}

.btn.more:hover {
  background-color: #ac4e5c;
  color: #fff;
  transition: 0.5s;
}

.btn.more:hover span {
  color: #fff;
  padding-left: 3rem;
  transition: 0.5s;
}

.social_deco {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.social_deco a {
  margin: 5rem 1rem;
  position: relative;
}
.social_deco a:nth-child(1) {
  margin-left: 0;
}
.social_deco a:nth-child(5) {
  margin-right: 0;
}
.social_deco a::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 0px;
  width: 30px;
  height: 30px;
  background-color: #ac4e5c3c;
  border-radius: 50%;
  opacity: 0;
}
.social_deco a:hover::after {
  opacity: 1;
  top: -8px;
  transition: 0.5s;
}

.line {
  height: 1px;
  width: 100%;
  background-color: #ac4e5c;
}
.scroll {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 3rem auto;
  border-radius: 50%;
  background-color: #ffffff96;
}
.scroll a {
  display: block;
  text-align: center;
  position: absolute;
  left: calc(50% - 30px);
  top: 28px;
}
.scroll:hover {
  transform: scale(1.2);
  transition: 0.2s;
}
.scroll a::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 35px;
  width: 1px;
  background-color: #ac4e5ca2;
  opacity: 1;
  animation: scroll 2.5s ease-in-out infinite;
}

.works {
  width: 100%;
  margin: 0 auto;
}

.item,
.num {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.item {
  background-color: #ac4e5c1c;
  padding: 3rem 0;
}

.left,
.right {
  width: 50%;
}

.left {
  position: relative;
  display: flex;
  align-items: center;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #ac4e5c;
}

.item .numBg {
  content: "";
  position: absolute;
  font-size: 18rem;
  font-weight: 800;
  color: #ac4e5c1c;
  top: -150px;
  left: 0px;
}

.item:hover {
  background-color: #fff;
}

.item:hover .numBg {
  left: 180px;
  transition: 0.5s;
}

.right {
  margin-left: 3rem;
  display: block;
}

h3.title {
  font-size: 2.5rem;
  color: #ac4e5c;
}

p.category {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 2px;
  color: #fff;
  padding: 0.5rem 1.5rem;
  background-color: #ac4e5c;
}

.col-4 .wrap {
  overflow: hidden;
}

.workCover {
  width: 100%;
}

.item:hover .workCover {
  transform: scale(1.2);
  transition: 0.5s;
}

.more_sec {
  padding: 5rem 0;
  color: #ac4e5c;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.more_sec::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url(../images/bg-2.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: translateZ(-1px) scale(1.1);
}

.more_sec p {
  margin-bottom: -1.5rem;
}

.more_sec .btn.more {
  width: 10%;
}

footer {
  background-color: #ac4e5c;
  padding: 3rem 3rem 0.5rem 3rem;
  color: #fff;
}

footer p {
  font-size: 0.8rem;
}

footer h3 {
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 3rem;
}

.mail {
  display: flex;
  align-items: center;
  justify-content: center;
}
.mail img {
  width: 100%;
  max-width: 40px;
}
.mail .line {
  width: 10%;
  background-color: #fff;
}
.mail a {
  color: #fff;
  display: block;
  margin-left: 1rem;
}

.copyright {
  text-align: center;
  margin-top: 6rem;
}

.profile img {
  width: 165px;
  height: auto;
  border-radius: 50%;
}

.works h1 {
  font-size: 2rem;
  text-align: center;
  color: #ac4e5c;
}

.works h1::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: #ac4e5c;
  margin: 0.8rem auto;
}

.works ul.list {
  display: flex;
  align-items: center;
  margin-top: 5rem;
}

ul.list {
  flex-wrap: wrap;
}

ul.list li {
  width: 33.333%;
}

ul.list li a {
  display: block;
  margin: 1rem;
  position: relative;
  overflow: hidden;
}

ul.list li a p.name {
  position: absolute;
  bottom: 1rem;
  right: 0;
  background-color: #ac4e5ccc;
  color: #fff;
  padding: 1rem;
  border-radius: 20px 0 0 20px;
}
ul.list li a p.category {
  position: absolute;
  top: 1rem;
  left: 0;
  background-color: rgba(255, 255, 255, 0.849);
  color: #ac4e5c;
  padding: 0.5rem;
  font-size: 0.8rem;
  border-radius: 0 20px 20px 0;
}

ul.list li a img {
  overflow: hidden;
}

ul.list li a:hover img {
  transform: scale(1.2);
  transition: 0.5s;
}

ul.list li a:hover p.name {
  padding-left: 2rem;
  background-color: #ac4e5c;
  transition: 0.5s;
}

.p-list {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  text-align: left;
  color: #ac4e5c;
  margin-bottom: 0;
}

.p-list li {
  margin-bottom: 0.5rem;
}

.p-list span {
  padding-right: 1rem;
  position: relative;
}

.p-list span::after {
  content: "";
  display: block;
  width: 1px;
  height: 15px;
  background-color: #aa8d61;
  position: absolute;
  top: 0;
  right: 5px;
}

#m-list {
  padding: 1rem 2rem;
  border: 1px solid #ac4e5c;
  background-color: rgba(255, 255, 255, 0.849);
  position: fixed;
  bottom: 0;
  right: -320px;
  width: 250px;
  transition: 0.5s;
}

.works.inner {
  position: relative;
}

.works.inner .content {
  position: relative;
}

.works.inner img {
  width: 100%;
}

.works.inner img.small {
  width: 60%;
  display: block;
  margin: 0 auto;
}

.wuo img {
  margin-top: -3px;
}

.back.btn {
  margin: 2rem auto;
  display: block;
  text-align: center;
  padding: 1rem;
  color: #ac4e5c;
  background-color: transparent;
  width: 20%;
  border: 1px solid #ac4e5c;
  border-radius: 25px;
}

.back.btn:hover {
  background-color: #ac4e5c;
  color: #fff;
  transition: 0.5s;
}

.tab-btn {
  position: fixed;
  bottom: 9.2rem;
  right: 0;
  padding: 1rem 1.2rem;
  background-color: #ac4e5c;
  border: 1px solid #fff;
  border-right: 0;
  border-radius: 25px 0 0 25px;
  color: #fff;
  cursor: pointer;
}

.show-nav {
  transform: translateX(-320px);
  transition: 0.5s;
}

/* resume */

.about {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem;
  margin: 1.5rem;
  border: 1px solid #ac4e5c;
  color: #ac4e5c;
  line-height: 28px;
  position: relative;
}

.about .col-4 > h2 {
  position: absolute;
  top: -1.5rem;
  background-color: #f9f9f9;
  padding: 0 1rem;
}

.about .wrapper {
  display: flex;
}

.a-intro {
  line-height: 21px;
  padding-right: 1.5rem;
}

.about h3 {
  margin: 0;
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.3rem;
}

.about h3.top {
  margin-top: 0;
}

.about h3::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 7px;
  background-color: #e9b8ac;
  margin-left: 10px;
}

.about span {
  display: block;
}

.about .info {
  width: 55%;
  display: flex;
  flex-direction: column;
}

.about .name {
  font-size: 1.7rem;
  font-weight: 300;
  margin-left: 0;
  margin-bottom: 0;
  display: block;
}

.about h4 {
  margin: 0.5rem 0;
  font-weight: 700;
  opacity: 0.8;
}

.file {
  position: absolute;
  top: 0;
  right: 3rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid #ac4e5c;
  border-top: 0;
  background-color: #ac4e5c;
  color: #fff;
}

.file:hover {
  background-color: #fff;
  color: #ac4e5c;
  transition: 0.2s;
}

.listExperience > li {
  display: flex;
  padding-right: 10px;
  position: relative;
}

.listExperience li ul {
  width: 100%;
  padding-left: 2rem;
  padding-bottom: 1rem;
  margin-left: 10px;
  border-left: solid 4px #f6dcd7;
}
.listExperience li ul::before {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ac4e5c;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 1;
}

.listExperience li ul::after {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #ac4e5c3c;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.listExperience li:hover ul::after {
  opacity: 1;
  transition: 0.3s;
}

.listExperience li ul li span {
  color: #303030;
}

.listExperience li.subTitle {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}

.listExperience li.subTitle p {
  margin: 0;
}

.listExperience li ul li {
  opacity: 0.9;
  color: #646464;
}

.listExperience li:hover ul li {
  opacity: 1;
  color: #ac4e5c;
  transition: 0.3s;
}

.listExperience li ul li:nth-child(1) {
  color: #ac4e5c;
}

.listExperience li:hover ul li:nth-child(1) {
  color: #e7a036;
  transition: 0.3s;
}

.listExperience li.smallTitle {
  font-weight: 800;
  border-bottom: 1px solid #aa8d61;
  color: #ac4e5c;
  margin-bottom: 0.5rem;
}

.listExperience li.title {
  font-weight: 900;
  font-size: 1.1rem;
}

.listExperience li.bullet {
  position: relative;
  padding-left: 1rem;
}

.listExperience li.bullet::after {
  content: "";
  display: block;
  position: absolute;
  top: 11px;
  left: 0;
  width: 7px;
  height: 7px;
  background-color: #ac4e5ccc;
}

.listProgram .bar {
  width: 70%;
  height: 10px;
  border: 1px solid #ac4e5c;
  border-radius: 10px;
}

.listProgram .in-wrapper {
  display: flex;
  align-items: center;
  margin-top: -.5rem;
}

.listProgram .in-wrapper p {
  margin: 0;
  margin-left: .5rem;
}

.value {
  height: 100%;
  background-color: #ac4e5c;
}

.value.p-90 {
  width: 90%;
}
.value.p-87 {
  width: 87%;
}
.value.p-85 {
  width: 85%;
}
.value.p-80 {
  width: 80%;
}
.value.p-75 {
  width: 75%;
}
.value.p-65 {
  width: 68%;
}
.value.p-50 {
  width: 50%;
}

.listSkills {
  display: flex;
  flex-wrap: wrap;
}

.listSkills li {
  width: 25.555%;
  padding: 0.5rem;
  padding-left: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.circle {
  width: 50px;
  height: 50px;
  background-color: #ac4e5c3c;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.circle::after {
  content: "";
  display: block;
  background-color: #fff;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 50%;
  z-index: 2;
  position: relative;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.circle .pvalue {
  position: absolute;
  top: 25%;
  left: 25%;
  color: #ac4e5c;
  z-index: 3;
  font-size: 0.9rem;
  font-weight: 700;
}

.p90,
.p180,
.p270,
.p360,
.p300,
.p200 {
  width: 50%;
  height: 50%;
  position: absolute;
  left: 50%;
  top: 0;
  background-color: #ac4e5c;
}

.p180 {
  top: 50%;
}

.p270 {
  left: 0;
  top: 50%;
}

.p360 {
  left: 0;
  top: 0;
}

.p200 {
  left: 10%;
  top: 55%;
  transform: rotate(-35deg);
}

.p300 {
  top: 20%;
  left: -10px;
  transform: rotate(35deg);
}

@keyframes visual {
  0% {
    transform: translatey(0px);
  }
  50% {
    transform: translatey(-20px);
  }
  100% {
    transform: translatey(0px);
  }
}

@keyframes scroll {
  0% {
    height: 0;
  }
  100% {
    height: 70px;
  }
}

@keyframes BG_move {
  0% {
    left: 0;
  }
  100% {
    left: 1920px;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav {
    width: 100%;
  }
  .navbar-nav {
    display: none;
  }
  .navbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
  }
  .button-toggle {
    display: block;
    top: 20px;
  }
  .main {
    flex-direction: column-reverse;
    margin-top: 0;
  }
  .main.reverse {
    flex-direction: column;
  }
  .col-6,
  .col-5,
  .col-4 {
    width: 100%;
  }
  .col-6 .content {
    width: 270px;
  }
  .works {
    margin: 0 auto;
  }
  .right {
    margin-left: -10rem;
  }
  .item .numBg {
    font-size: 10rem;
    top: -130px;
    right: -120px;
  }
  h3.title {
    font-size: 1.5rem;
  }
  .num {
    justify-content: space-around;
  }
  .left .line {
    width: 20%;
  }
  .right {
    width: 80%;
  }
  .item:hover .numBg {
    left: 50px;
  }
  .more_sec .btn.more {
    width: 30%;
  }
  .main .col-4 {
    text-align: center;
  }
  .mainVisual {
    width: 200px;
  }
  ul.list li {
    width: 100%;
  }
  .about {
    flex-direction: column;
  }
  .listSkills li {
    width: 45%;
  }
  .about {
    padding: 2rem 1.5rem;
  }
  .about .info {
    width: 100%;
  }
  .about h4 {
    margin-bottom: 0.5rem;
  }
  .about .wrapper,
  .listExperience li.subTitle {
    flex-direction: column-reverse;
  }
  .profile img {
    width: 200px;
  }
  .file {
    right: 0;
  }
  .a-intro {
    padding-right: 0;
  }
}
