html {
    font-family: "century gothic", "arial", "Microsoft JhengHei";
    height: 100%;
    min-height: 900px;
    text-rendering: geometricPrecision;
}

body {
    width: 100%;
    height: 100%;
    position: relative;
    background: #FFF;
}

body>* {
    width: 100%;
    box-sizing: border-box;
    margin-right: auto;
    margin-left: auto;
    padding: 50px;
}

p.clear {
    margin: 0;
    clear: both;
}


/*--header-start--*/

header {
    background: #212121;
    background-image: linear-gradient(rgba(33, 33, 33, 0.8), rgba(33, 33, 33, 0.9)), url(../img/city.jpg);
    background-size: cover;
    background-position: 50% 100%;
    color: #51DBA4;
    box-shadow: 0 -60px 80px 50px black;
    overflow: hidden;
    position: relative;
    padding: 80px 50px;
}

header>div {
    margin: 0 auto;
}

.header_face {
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 100%;
    margin: 20px auto 40px auto;
    background: url(../img/face_ts.jpg);
    background-size: cover;
    position: relative;
}

.header_face>img {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.header_name {
    text-align: center;
}

.header_name h1{
    display: inline-block;
    margin: 0 0.2em;
    font-size: 2em;
    line-height: 1.6em;
    font-weight: bold;
    letter-spacing: 2px;
}

.header_titlename {
    text-align: center;
    letter-spacing: 0.5px;
    word-spacing: 2px;
}

.header_titlename li {
    display: inline-block;
    font-size: 10px;
    letter-spacing: normal;
    font-style: italic;
}

.bg_block {
    position: absolute;
    border: 1px #51DBA4 solid;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 260px;
    height: 260px;
    top: 225px;
    left: 50%;
    transform-origin: center center;
}

.bg_b01 {
    animation: bg1 3s ease-in-out infinite;
}

.bg_b02 {
    animation: bg1 4s ease-in-out reverse infinite;
}

.bg_b03 {
    animation: bg1 5s ease-in-out infinite;
}

@keyframes bg1 {
    0% {
        opacity: 0.5;
        border-radius: 100%;
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        opacity: 1;
        border-radius: 10%;
    }
    100% {
        opacity: 0.5;
        border-radius: 100%;
        transform: translate(-50%, -50%) rotate(90deg);
    }
}


/*--header-end--*/


/*--nav-start--*/

nav {
    margin: 2em auto;
    padding-top: 25px;
    padding-bottom: 0;
}

.nav_list {
    text-align: center;
    padding: 0;
    letter-spacing: 1px;
}

.nav_list li {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    background: #51DBA4;
    color: #FFF;
    padding: 18px;
    width: 125px;
    border-radius: 100px;
    margin: 0 10px;
    cursor: pointer;
    transition: all 500ms;
}

.nav_list li:hover {
    background: #51C6DB;
    transition: all 500ms;
}

.rwd_list_btn{
    display: none;
}

/*--nav-end--*/


/*--container-start--*/

.container {
    width: 100%;
    max-width: 1024px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 20px;
}

.container .cont_title * {
    text-align: center;
}

.container .cont_title h1 {
    font-size: 30px;
    line-height: 1.2em;
}

.container .cont_title h2 {
    font-size: 12px;
    line-height: 2em;
    letter-spacing: 3em;
    text-indent: 3em;
}

.container .cont_title:before {
    content: " ";
    height: 1px;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    display: block;
    border-top: 1px solid #D1D1D1;
}

.container .cont_main {
    padding: 10px;
    margin: 0 auto;
    letter-spacing: 1px;
    line-height: 1.5em;
    text-align: justify;
    max-width: 1024px;
}

.container .cont_main p {
    margin: 1em 0;
    text-indent: 2em;
}


/*--container-end--*/


/*--expo-start--*/

.expo {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 40px;
}

.expo .expo_pre {
    position: absolute;
    border-left: 1px dashed #868686;
    left: -49.5px;
}

.expo .expo_main {
    margin-left: 100px;
    position: relative;
}

.expo .expo_main .expocard {
    border: 1px solid #E8E8E8;
    margin: 10px 80px 10px 0;
    line-height: 2em;
    vertical-align: middle;
    position: relative;
}

.expo .expo_main .expocard:hover {
    box-shadow: 0 0 15px -5px #9E9E9E;
}

.expo .expo_main .expocard:before {
    content: " ";
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: #494949;
    top: 50%;
    left: -50px;
    transform: translate(-50%, -50%) rotate(45deg);
    transition: all 150ms;
}

.expo .expo_main .expocard:hover:before {
    width: 16px;
    height: 16px;
    background-color: #51DBA4;
    transition: all 150ms;
}

.expo .expo_main .expocard .ec_dur {
    display: inline-block;
    background: #505050;
    color: #51DBA4;
    padding: 10px;
    margin: 0px 10px 0px 0px;
}

.expo .expo_main .expocard .ec_dur p:nth-child(2) {
    line-height: 0.8em;
    font-size: 10px;
    text-align: center;
}

.expo .expo_main .expocard .ec_info {
    display: inline-block;
    width: 300px;
}

.expo .expo_main .expocard .ec_info h1 {
    font-size: 20px;
    letter-spacing: 1px;
}

.expo .expo_main .expocard .ec_info h2 {
    font-size: 14px;
    letter-spacing: 1px;
}


/*--expo-end--*/


/*--skill-start--*/

.skill {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.skillcard {
    width: 134px;
    float: left;
}

.skillcard .sc_img {
    padding: 20px;
    box-sizing: border-box;
}

.skillcard .sc_img img {
    width: 100%;
}
.skillcard .sc_info{
    text-align: center;
}
.skillcard .sc_info>div{
    line-height: 1.2em;
    margin: 0.5em 0;
}

/*--slill-end--*/

/*--web-start--*/

.web {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.webcard {
    width: 50%;
    float: left;
    padding: 15px;
    box-sizing: border-box;    
}

.webcard a{
    display: block;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: 50% 0;
    position: relative;
    padding-top: 60%;
    text-decoration: none;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    transition: background-position 1s;
}

.webcard a:hover{
    background-position: 50% 100%;
    transition: background-position 1s;
}

.webcard .web_info{
    background-color:#fafafa; 
    color: #000;
    padding: 0.8em;
    box-sizing: border-box;
}

.webcard .web_info h1{
    font-size: 1.2em;
    line-height: 1.2em;
    font-weight: 400;
}

.webcard .web_info p{
    font-size: 0.8em;
    line-height: 1.6em;
    margin-top: 0.5em;
}
/*--web-end--*/

/*--contact-start--*/

.contact {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.contact a{
    text-decoration: none;
    color:#000;
}

.contact a:hover{
    color: #51DBA4;
}

.contact_main{
    text-align: center;
}

.contact .contactcard{
    width: 33.333%;
    float: left;
    padding: 15px;
    box-sizing: border-box; .
}
.contact .contactcard>div{
    text-align: center;
    margin: 0.5em 0;
}


/*--contact-start--*/


/*--footer-end--*/

footer {
    font-size: 10px;
    padding-bottom: 20px;
    text-align: center;
    color: #868686;
}


/*--footer-end--*/
