/*-- common.css --*/

@import 'https://fonts.googleapis.com/css?family=Work+Sans:100,300,400';

html {
  /* for sticky footer */
  position: relative;
  min-height: 100%;
}

body {
  background: linear-gradient(20deg, #104a72, #5dd19c 75%, #fffae8) fixed;
  margin-bottom: 70px;
  color: #fff;
}

body, input, textarea {
  /* font: size/line-height */
  font: 14px/25px 'Work Sans', sans-serif;
  /*font-size-adjust: 0.475;*/
  font-weight: 300;
  text-shadow: 0 1px 3px rgba(0,0,0,.15);
  color: #fff;
}

a, a:link, a:visited {
  color: #ffd;
  border-bottom: 1px dotted rgba(255,255,180,.5);
  text-decoration: none;
}

a:hover {
  color: #fff;
  border-bottom: 1px solid #fcc;
  text-decoration: none;
}

h1, h2, h3 {
  font-size: 100%/1.5;
  -webkit-font-smoothing: antialiased;
}

h1 {
  margin: 0;
  text-align: center;
  font-weight: 100;
  font-size: 10rem;
}

h2 {
  margin: 0;
  text-align: center;
  font-weight: 100;
  font-size: 3rem;
  color: rgba(255,255,255,.7);
}

h3 {
  position: absolute;
  left: -250px;
  top: 0;
  margin: 0;
  font-weight: 100;
  font-size: 3.8rem;
}

h4 {
  margin: 0 0 20px 0;
  font-size: 2.8rem;
  font-weight: 100;
}

blockquote {
  margin: 20px 0px 30px;
  padding: 16px 25px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1) inset;
  border-radius: 5px;
  border: 0;
  background: rgba(12, 24, 36, 0.2) none repeat scroll 0% 0%;
  overflow-x: auto;
  color: rgba(220,250,245,.85);
  text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}
   
  blockquote ul {
    padding-left: 20px;
    margin-bottom: 20px;
  }

    blockquote ul span {
      margin: 0 5px;
      font-weight: 100;
      opacity: .5;
    }

.site-header {
  background: linear-gradient(20deg, rgba(16,74,114,1), rgba(93,209,156,.85) 75%, rgba(255,250,232,1)) fixed;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1;
  line-height: 60px;
}

.site-header:after {
  display: block;
  content: '';
  position: absolute;
  left: 50px;
  right: 50px;
  top: 100%;
  bottom: -20px;
  background: radial-gradient(50% 0, farthest-side, rgba(0,0,0,.1), rgba(0,0,0,0));
  background: radial-gradient(farthest-side at 50% 0, rgba(0,0,0,.1), rgba(0,0,0,0));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  transition: background-size .2s;
}

@media screen and (-webkit-min-device-pixel-ratio: 0) {
  /*
    以下important是override response.css的內容
  */
  .site-header {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(20px);
  }

  .site-header:after {
    opacity: .5;
    bottom: -25px;
  }
}

a.top-nav-btn {
  display: block;
  padding: 5px 15px;
  margin: 17px 10px 0 0;
  float: right;
  background: #fff;
  border-radius: 50px;
  line-height: 1;
  color: #999;
  text-shadow: none;
  transition: .3s;
}

a.top-nav-btn:hover {
  border: 0;
  background: rgba(93,209,156,.7);
  color: #fff;
}

a.top-nav-btn i {
  margin-right: 5px;
}

.main {
  /*transition: .3s;*/
}

.menu-on .main {
  -webkit-filter: blur(10px);
  filter: blur(10px);
  opacity: .7;
}

.name-block {
  position: relative;
  padding: 100px 0;
  margin: 60px 0 70px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.name-block:after {
  position: absolute;
  left: 50%;
  bottom: -12px;
  margin-left: -20px;
  content: '\f13a';
  font-family: 'FontAwesome';
  font-size: 40px;
}

.block {
  position: relative;
  margin-bottom: 130px;
  margin-left: 250px;
}

.block > p, .block > div {
  font-size: 13px/25px;
}

.hire-me-block {
  margin-bottom: 130px;
  text-align: center;
}

  .hire-me-block a {
    overflow: hidden;
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 100px;
    font-size: 40px;
    font-weight: 100;
    color: #fff;
    transition: .3s;
    text-shadow: none;
  }
  
  .hire-me-block a:after {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    right: 0;
    height: 0;
    background: rgba(255,255,255,.5);
    transition: .4s;
    transition-timing-function: ease-in-out;
  }
  
  .hire-me-block a:hover {
    color: #6ba;
    border: 1px solid rgba(255,255,255,1);
  }

  .hire-me-block a:hover:after {
    background: rgba(255,255,255,1);
    height: 100%;
  }

.experience-list {
  margin: 0 15px;
}

.experience-list .row > div {
  padding: 10px 15px;
}

.experience-list > .row:nth-child(even) {
  background: rgba(0,0,0,.07);
}
/*
.experience-list > .row:last-child {
  border-bottom: 5px solid rgba(0,0,0,.05);
}
*/

.experience-list .job {
  position: relative;
}

.experience-list .job:before {
  content: '';
  display: block;
  position: absolute;
  left: -40px;
  top: 0;
  bottom: 0;
  border-left: 1px solid rgba(255,255,255,.3);
}

.experience-list > .row:first-child .job:before {
  top: 30px;
}

.experience-list .job:after {
  content: '';
  display: block;
  position: absolute;
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 10px;
  left: -45px;
  top: 18px;
}

.experience-list .row:first-child .job:after {
  width: 20px;
  height: 20px;
  margin-left: -5px;
  margin-top: -5px;
  border: 3px solid #fff;
  background: rgba(255,255,255,.1);
}

  .experience-list .job > div {
    margin-left: 10px;
  }

    .experience-list .company {
    }

    .experience-list .title {
      font-style: italic;
    }

    .experience-list .detail ul {
      padding-left: 15px;
      color: rgba(255,255,255,.7);
    }


/*---- policy (app.boggy.tw/policy) ----*/

.policy .block {
  position: relative;
  margin-bottom: 40px;
  margin-left: 0;
}





/*---- portfolio ----*/


.portfolio .name-block {
  margin-bottom: 0;
  border-bottom: 0;
}

.portfolio .name-block:after {
  display: none;
}

.work-list {
  padding-bottom: 100px;
  font: 13px/25px Arial, sans-serif;
}

.work-item {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 20px 20px rgba(0,0,0,.1);
  transition: .3s;
}

.work-item:hover {
  box-shadow: 0 0 35px rgba(0,0,0,.2);
}

  .work-item img {
    width: 300px;
  }

  .project-info {
    background: #fff;
    color: #999;
    padding: 10px 15px;
    text-shadow: none;
    width: 300px;
  }

    .project-title {
      color: #666;
      font-weight: 500;
    }

    .project-desc {
      line-height: 1.2;
      margin-bottom: 5px;
    }

    .project-skill {
      font-size: 13px;
    }

    .project-skill .tag {
      display: inline-block;
      background: #82bdb0;
      color: #fff;
      border-radius: 4px;
      padding: 3px 5px;
      line-height: 1;
    }





/*---- single work page: eatgo logo, adasia logo etc. ----*/
.single-content {
  background: #fff;
  max-width: 500px;
  margin: 0 auto 50px auto;
}

  .single-content img {
    width: 100%;
  }

  .single-content.p {
    padding: 20px 20px;
    background: rgba(0,0,0,.3);
    text-align: left;
  }

  .single-content p {
    margin-bottom: 20px;
  }

  .single-content p:last-child {
    margin-bottom: 0;
  }



/*---- footer ----*/
.site-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  /*background: rgba(0,0,0,.2);*/
  border-top: 1px solid rgba(0,0,0,.2);
  color: rgba(255,255,255,.75);
}






/*---- hamburger menu ----*/

a.menu-btn {
  position: relative;
  left: 17px;
  color: #fff;
  border: none;
  outline: 0;
  font-size: 40px;
}

a.menu-btn i {
  transition: .3s;
}

  .menu-close {
    position: absolute;
    left: 1px;
    top: 2px;
    opacity: 0;
    transform: rotate(135deg) scale(1.2);
  }

  .menu-on .menu-open {
    opacity: 0;
    transform: rotate(-90deg) scale(.7);
  }

  .menu-on .menu-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }

.menu {
  position: fixed;
  top: -50px;
  left: 0;
  right: 0;
  bottom: 0;
  padding-top: 250px;
  text-align: center;
  transition: .5s;
  pointer-events: none;
  opacity: 0;
}

.menu-on .menu {
  top: 0;
  opacity: 1;
  pointer-events: auto;
}

.menu .menu-content {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  -webkit-align-items: center;
  justify-content: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}

.menu a {
  display: block;
  width: 100px;
  height: 100px;
  position: relative;
  margin: 1px;
  border-radius: 10px;
  border: 0;
  background: rgba(255,255,255,.15);
  color: #fff;
  transition: .3s;
}

.menu a:hover {
  background: rgba(255,255,255,.3);
}

.menu i {
  display: block;
  margin-top: 20px;
  font-size: 40px;
}




#waterfall-loading div {
  color: #FFF !important;
}













/*-- response.css --*/


/*---- md ----*/
@media screen and (max-width: 1199px) {

}

/*---- sm ----*/
@media screen and (max-width: 991px) {
  h2 {
    font-size: 2.5rem;
  }

  h3 {
    position: static;
    left: auto;
    top: auto;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  h4 {
    font-size: 2rem;
  }

  .block {
    margin-left: 0;
  }
}

/*---- xs ----*/
@media screen and (max-width: 767px) {
  
  body {
    background: transparent;
  }

  body:after {
    background: #5dd19c linear-gradient(20deg, #104a72, #5dd19c 75%, #fffae8);
    content: '';
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
  }
  
  .site-header {
    background: transparent linear-gradient(20deg, rgba(16,74,114,1), rgba(93,209,156,.7) 75%, rgba(255,250,232,1));
    background-size: 100% 600px;
  }

  .site-header:after {
    left: 0;
    right: 0;
    bottom: -10px;
  }
  
  .menu {
    padding-top: 150px;
  }
  .menu .menu-content {
    max-width: 320px;
    margin: 0 auto;
  }

  h1 {
    font-size: 6rem;
    line-height: 1.1;
  }
}


/*---- for .experience-list -> .job border-left ----*/
@media screen and (max-width: 580px) {

  .experience-list .job:before {
    left: 0;
  }

  .experience-list .job:after {
    left: -5px;
  }

  .hire-me-block a {
    font-size: 36px;
  }
}