@charset "UTF-8";
:root {
  --themeColor:#FCDF92;
  --lightTheme:#FFF6D7;
  --lightGray:#dddddd;
  --darkGary:#888888;
  --lightBlack:#444444;
  --darkBlack:#2b2b2b;
  --alphaBlack:#00000080; /*8碼後2碼是透明*/
}

*[class^=btn] {
  font-size: inherit;
  display: inline-block;
  padding: 0.5em 1em;
  margin: 0;
  border: none;
  text-decoration: none;
  list-style: none;
  border-radius: 0.35em;
  cursor: pointer;
  box-shadow: 2px 2px 3px gray;
  transition: all 500ms ease;
  background-color: var(--lightBlack);
}

*[class^=btn]:hover {
  filter: brightness(1.1);
}

[class^=btn]:active {
  filter: brightness(0.8);
  box-shadow: 2px 2px 3px #888 inset;
}

.btn-theme {
  background-color: var(--themeColor);
}

header {
  width: 100%;
  height: 80px;
  line-height: 80px;
  background-color: var(--themeColor);
}
header menu {
  position: relative;
  z-index: 100;
  background-color: var(--themeColor);
}
header menu ul li a {
  color: var(--lightBlack);
  padding: 0 1em;
  transition: all 500ms ease;
}
header menu ul li:hover a {
  background-color: var(--lightTheme);
}
header nav {
  width: 2em;
  height: 1em;
  position: absolute;
  top: calc(40px - 0.5em); /*header1/2高度-本身1/2*/
  right: 1em;
}
header nav *[class^=nav] {
  width: 100%;
  height: 2px;
  background-color: var(--darkBlack);
  position: absolute;
  transform-origin: 0;
}
header nav .nav-t {
  top: 0;
}
header nav .nav-m {
  top: calc(0.5em - 1px);
}
header nav .nav-b {
  bottom: 0;
}

#theme {
  width: 100%;
  height: calc(100vh - 80px);
  position: relative;
}
#theme .homeBg {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow: hidden;
  background-image: linear-gradient(to bottom, #81DEFC, #ffffff);
}
#theme .homeBg .pic {
  width: 100%;
  height: 100%;
  position: absolute;
  top: calc(100vh - 80px - 375px);
  left: 0;
  background-image: url(../images/myPic.png);
  background-repeat: no-repeat;
  z-index: 10;
}
#theme .push {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  color: #000;
  z-index: 11;
  padding: calc(50vh - 280px) 0 0 20vw;
}
#theme .push h1 {
  font-size: 1.8em;
}
#theme .push h2 {
  margin-bottom: 1em;
  font-size: 1.5em;
}
#theme .push p {
  margin-bottom: 1em;
  font-size: 18px;
}

#about .grid-10 {
  padding: 1em;
}
#about .grid-10 p {
  padding-bottom: 1em;
}
#about .grid-10 h2 {
  padding: 1em 0 0.5em;
}
#about .grid-10 h3 {
  padding: 0.5em 0;
}
#about .grid-10 i {
  color: var(--themeColor);
}
#about .grid-10 .aboutPic {
  border-radius: 50%;
}

#skill {
  width: 100%;
  background-color: var(--lightTheme);
}
#skill .grid-10 {
  padding: 0;
}
#skill .grid-10 h2 {
  padding: 1em 0 0.5em;
}
#skill .grid-4 h3 {
  font-size: 18px;
  padding: 1em 0;
}
#skill .grid-6 .line {
  width: 200px;
  height: 34px;
  background-color: #FFF;
  outline: 1px solid #000;
  margin: 1.3em 0;
  overflow: hidden;
}
#skill .grid-6 .line .bar {
  width: 100%;
  height: 100%;
  background-color: #9ADDF2;
  transform-origin: 0;
  transform: translateX(-100%);
  transition: all 1000ms ease;
}

#experience .grid-10 {
  padding: 1em;
}
#experience .grid-10 .item {
  min-width: 20px;
  height: 151px;
  background-repeat: no-repeat;
  background-image: url(../images/item_s.png);
  margin: 5px 5px 0 0;
}
#experience .grid-10 .item3 {
  min-width: 20px;
  height: 301px;
  background-repeat: no-repeat;
  background-image: url(../images/item3_s.png);
  margin: 5px 5px 0 0;
}
#experience .grid-10 .item4 {
  min-width: 20px;
  height: 20px;
  background-repeat: no-repeat;
  background-image: url(../images/icon.png);
  margin: 5px 5px 0 0;
}
#experience .grid-10 p {
  padding-bottom: 1em;
}
#experience .grid-10 h2 {
  padding: 1em 0 0.5em;
}
#experience .grid-10 h3 {
  font-weight: 900;
  padding: 0 0 0.5em 0;
}
#experience .grid-10 h4 {
  color: #1F4E79;
  padding: 0 0 1em 0;
}

#product {
  width: 100%;
}
#product > .grid-12:nth-of-type(1) {
  background-color: var(--lightTheme);
  color: var(--darkBlack);
  padding: 3em 0;
}
#product .grid-10 {
  position: relative;
}
#product .grid-10 img {
  width: 100%;
}
#product .grid-10 .title {
  display: block;
  width: 100%;
  height: 3em;
  line-height: 3em;
  text-align: center;
  background-color: var(--alphaBlack);
  color: var(--lightGray);
  position: absolute;
  bottom: 0;
}

#contact {
  /*background-color: var(--themeColor);*/
  color: var(--darkBlack);
  padding: 2em 0;
}
#contact .grid-10 {
  padding: 1em 0 0 0;
}
#contact .grid-10 h2 {
  padding: 2em 0 3em 0;
}
#contact .grid-10 p {
  font-size: 16px;
}

#myTop a {
  width: 3.5em;
  height: 3.5em;
  border-radius: 50%;
  line-height: 3.5em;
  text-align: center;
  background-color: rgba(128, 127, 127, 0.4431372549);
  position: fixed;
  bottom: 60px;
  right: 20px;
}

footer {
  background-color: #C9E4CA;
  color: var(--darkGary);
  padding: 2em 0;
}

@media screen and (min-width: 450px) {
  #experience .grid-10 .item {
    min-width: 20px;
    height: 121px;
    background-repeat: no-repeat;
    background-image: url(../images/item.png);
    margin: 5px 5px 0 0;
  }
  #experience .grid-10 .item3 {
    height: 241px;
    background-image: url(../images/item3.png);
  }
}
@media screen and (min-width: 768px) {
  menu {
    display: block !important;
  }
  #theme {
    width: 100%;
    height: calc(100vh - 80px);
    position: relative;
  }
  #theme .push {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    color: #000;
    z-index: 11;
    padding: calc(50vh - 3em - 130px) 0 0 58vw;
  }
  #theme .push h2 {
    margin-bottom: 1em;
    font-size: 2em;
  }
  #theme .push p {
    margin-bottom: 1em;
    font-size: 20px;
  }
}
@media screen and (min-width: 1024px) {
  #product .grid-10 {
    overflow: hidden;
  }
  #product .grid-10 img {
    transform: scale(1);
    transition: all 500ms ease;
  }
  #product .grid-10 .title {
    bottom: -3em;
    transition: all 500ms ease;
  }
  #product .grid-10:hover img {
    transform: scale(1.2); /*滑過放大*/
  }
  #product .grid-10:hover .title {
    bottom: 0;
  }
  #skill .line {
    width: 200px;
    height: 34px;
    background-color: #FFF;
    outline: 1px solid #000;
    margin: 1.3em 0;
    overflow: hidden;
  }
  #skill .line .bar {
    width: 100%;
    height: 100%;
    background-color: #9ADDF2;
    transform-origin: 0;
    transform: translateX(-100%);
    transition: all 500ms ease;
  }
}/*# sourceMappingURL=design.css.map */