/* html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
/* article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
} */
@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);


body {
    line-height: 1;
    background-color: #111;
    background: #1d1d1d;
    min-height: 1500px;
    
}
*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif ,"Microsoft JhengHei",Arial,'Noto Sans TC';
    scroll-behavior: smooth;
}
section
{
    padding: 100px;
}
ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
}

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




/* New header */
header
{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 100px;
    z-index: 10001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: .5s;
    background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0%, rgba(76,76,76,0.35) 30%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.5) 0%,rgba(76,76,76,0.35) 30%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(76,76,76,0.35) 30%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
}

header.sticky
{
    background: #fff;
    padding: 15px 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header .logo
{
    color: #fff;
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 2px;
} 

header.sticky .logo
{
    color: #111;
} 

header ul
{
    position: relative;
    display: flex;
}

header ul li
{
    position: relative;
    list-style: none;
}

header ul li a
{
    position: relative;
    display: inline-block;
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
    transition: 0.5s;
    font-size: 1em;
}
header ul li a:hover
{
    color: #a07f4b;
}


header.sticky ul li a
{   
    color: #111;
    font-size: 0.8em;
    transition: 0.5s;
}
header.sticky ul li a:hover
{
    color: #a07f4b;
}

/* end */

/* top-slider */
.top-banner
{
    width: 100%;
    height: 100vh;
    padding: 0;
    margin: 0;
    position: relative;
    top: 0;
    overflow: hidden;
    z-index: -1;
}

h1
{
   font-weight: 400;
   font-size: 28px;
   letter-spacing: 0.5em;
   margin-left: 0.1em;
   line-height: 1.2em;
   color: #fff;
   opacity: 1;
   z-index:1;
   position: absolute;
   top: 89%;
   left: 50%;
   transform: translate(-50%, -50%);
   text-align: center;
   text-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
   font-family: 'Roboto Condensed', sans-serif;
}



.h1-line
{
    display: block;
    /* margin: 0 auto; */
    margin-top: 5px;
    width: 70px;
    height: 1px;
    position: absolute;
    top: 94%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index:2;
    background: #fff;   
}


.slider-top
{
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.slider-item-top
{
    width: inherit;
    height: inherit;
    position: absolute;
    opacity: 0;
    animation: sliderImages 41s infinite;
}

.slider-item-top img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoom 41s infinite;
}

.slider-item-top:nth-child(1),
.slider-item-top:nth-child(1) img{
    animation-delay: 0s;
}

.slider-item-top:nth-child(2),
.slider-item-top:nth-child(2) img{
    animation-delay: 10s;
}

.slider-item-top:nth-child(3),
.slider-item-top:nth-child(3) img{
    animation-delay: 20s;
}
.slider-item-top:nth-child(4),
.slider-item-top:nth-child(4) img{
    animation-delay: 30s;
}

.slider-text-top
{
    max-width: 45%;
    position: absolute;
    top:80%;
    left: 0;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3rem 5rem;
}
.slider-text-top h5
{
    font-size: 1.6em;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.5em;
}

.slider-text-top p
{
    font-size: 0.6rem;
    letter-spacing: 1px;
    font-weight: 200;
    line-height: 1.8em;
    font-family: 'Raleway', sans-serif, 'Noto Sans TC';
}

@keyframes sliderImages {
    15%{
        opacity: 1;
    }
    40%{
        opacity: 0;
    }
}

@keyframes zoom {
    100%{
        transform: scale(1.2)
    }
}

/* slider-end */



/* about-new */
.about-new,
#about
{
    background-color: #1d1d1d;
    height: auto;
    padding: 30px 100px 100px;    
    
}

.heading
{
    width: 100%;
    text-align: center;
    margin-bottom: 50px;
    color:#111;
}
.heading h2
{   
    font-weight: 400;
    font-size: 40px;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Raleway', sans-serif, 'Noto Sans TC';

}

.heading p
{
    font-size: 1em;
    color: #a07f4b;
}

.heading.white
{
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
    color:#fff;
}

.portfolio .heading h2,
.about-new .heading h2,
.experience .heading h2
{
    color: #fff;
    font-weight: 400;
    font-style: italic;
    font-size: 3em;
    text-shadow: 0 1px 5px rgb(41, 41, 41);
    font-family: '微軟正黑體', 'Raleway', sans-serif, 'Noto Sans TC';

}

.portfolio .heading p,
.about-new .heading p,
.experience .heading p
{
    color: #fff;
    font-weight: 300;
    font-size: 0.9em;
    color: #b39462;
    font-family: 'Raleway', sans-serif, 'Noto Sans TC';

}

.content-new
{
    display: flex;
    justify-content:space-between ;
    max-width: 920px;
    margin: 0 auto;
}
.contentBx
{
    padding-right: 30px;
}

.contentBx h3
{
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 400;
    line-height: 1.2em;
    color: #a07f4b;
}
.contentBx p
{
    display: block;
    font-size: 0.85em;
    line-height: 1.8em;
    color: #cacaca;
}

.w50-2 p
{
    max-width: 920px;
    margin: 0 auto;
    padding-top: 15px;
    font-size: 0.85em;
    line-height: 1.8em;
    color: #cacaca;
}

.w50
{
    min-width: 50%;
}
img
{
    max-width: 100%;
}
video {
    max-width: 100%;
    margin: 15px auto;
    height: auto;
    background-color: black;
    z-index: 2;
}
/* end */

.banner
{
    position: relative;
    min-height: 30vh;
    background:#1d1d1d;
    background-size: cover;
    background-position: right;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.banner .textBx{
    text-align: center;
    position: relative;
    top: 50px;
    z-index: 2;
    transform: rotate(0deg);
    /* text-shadow: 0px 5px 5px rgba(0, 0, 0, 0.454); */
}
.banner h2{
    font-size: 2.1em;
    color: #fff;
    font-weight: 300;
    line-height: 1.4em;
}
.banner h2 span{
    font-size: 1.3em;
    /* font-weight: 600; */
}
.banner h3{
    font-size: 1.2em;
    line-height: 1.5em;
    color: #a07f4b;
    /* font-weight: 300; */
}
.btn
{
    position: relative;
    background: #878787;
    display: inline-block;
    color: #fff;
    margin-top: 20px;
    padding: 10px 20px ;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-weight: 500;
    border-radius: 5px;
    transition: .3s;
}

.btn:hover
{
    background: #a07f4b;
    color: #fff;
}

/* main end */

/* testimonialBx */
.testimonial
{
    /* background: #f7f7f7; */
    background: url(../images/bg-3.jpg) 50% 0 no-repeat fixed;
    background-color: #373737;
    height: auto;
    margin: 0;
    padding: 100px 80px 100px 80px;
}
.testimonial .content-new{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.testimonial .content-new .testimonialBx
{
    max-width: calc(50% - 40px);
    padding: 60px 40px;
    margin: 20px;
    background: #575757;
    transition: 0.5s;
    border-radius: 5px;
}

.testimonial .content-new .testimonialBx:hover
{
    
    background: #6a6a6a;
    box-shadow: 0px 5px 8px rgba(0, 0, 0, 0.557);
}

.testimonial .content-new .testimonialBx p
{
    color: #fff;
    font-style: italic;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    
}

.testimonial .content-new .testimonialBx h3
{
    margin-top: 40px;
    text-align: end;
    color: #fff;
    font-weight: 600;
    font-size: 20px;
    line-height: 1em;
    color: #bd914a;
}

.testimonial .content-new .testimonialBx h3 span
{
    font-size: 14px;
    font-weight: 400;
}
/* end */

/* contact */
.contact
{   
    background: #111;
    padding: 80px 100px;
}

.formBx
{
    min-width: 60%;
}
.formBx form
{
    display: flex;
    flex-direction: column;
}
.formBx form h3,
.contactInfo h3
{
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
}

.formBx form input,
.formBx form textarea
{
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    background: transparent;
    border: none;
    outline: none;
    background: #222;
    color: #fff;
    resize: none;
}

.formBx form textarea
{
    min-height: 200px;
}
.formBx form input::placeholder,
.formBx form textarea::placeholder
{
    color: #999;
}

.formBx form input[type="submit"]
{
    max-width: 100px;
    background: #878787;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;

}

.contactInfo
{
    min-width: 40%;
}
.contactInfoBx
{
    position: relative;
    margin-right: 10px;
}

.contactInfoBx .box-new
{
    position: relative;
    padding: 20px 0;
    display: flex;
}
.contactInfoBx .box-new .icon
{
    min-width: 40px;
    padding-top: 0px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-size: 24px;
}
.contactInfoBx .box-new .text
{
    font-size: 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    font-weight: 300;
}

.contactInfoBx .box-new .text h3
{
    font-weight: 500;
    color: #878787;
    margin-bottom: 10px;
}

.contactInfoBx .box-new .text h3 span
{
    font-size: 0.75em;
    /* font-family: '微軟正黑體'; */
}

.contactInfoBx .box-new .text img
{
    width: 135px;
    height: auto;
    margin-top: 15px;
}

.copyright
{
    background: #000;
    color: #cacaca;
    text-align: center;
    padding: 10px;
    font-size: 0.5em;
}
/* end */

.clearfix {
    clear: both;
}



.portfolio {
    margin: 20px;
    text-align: center;
    height: auto;
    background: url(../images/img4.jpg) -50% 0 no-repeat fixed;
    background-position: left;
    background-color: #1d1d1d;
    margin: 0;
    padding: 130px 50px 130px;
    height: 100%;

}

.gold-line
{
    display: block;
    margin: 0 auto;
    max-width: 100vw;
    padding: 3px 10px;
    height: 2px;
    background: rgb(135,105,71); /* Old browsers */
    background: -moz-linear-gradient(45deg, rgba(135,105,71,1) 9%, rgba(193,158,103,1) 26%, rgba(182,141,76,1) 43%, rgba(233,212,179,1) 62%, rgba(182,141,76,1) 83%, rgba(135,105,71,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, rgba(135,105,71,1) 9%,rgba(193,158,103,1) 26%,rgba(182,141,76,1) 43%,rgba(233,212,179,1) 62%,rgba(182,141,76,1) 83%,rgba(135,105,71,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, rgba(135,105,71,1) 9%,rgba(193,158,103,1) 26%,rgba(182,141,76,1) 43%,rgba(233,212,179,1) 62%,rgba(182,141,76,1) 83%,rgba(135,105,71,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    opacity: 0.9;
}

.gold-line-top
{
    display: block;
    margin: 0 auto;
    max-width: 920px;
    padding: 0 10px;
    height: 1px;
    background: rgb(135,105,71); /* Old browsers */
    background: -moz-linear-gradient(45deg, rgba(135,105,71,1) 9%, rgba(193,158,103,1) 26%, rgba(182,141,76,1) 43%, rgba(233,212,179,1) 62%, rgba(182,141,76,1) 83%, rgba(135,105,71,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, rgba(135,105,71,1) 9%,rgba(193,158,103,1) 26%,rgba(182,141,76,1) 43%,rgba(233,212,179,1) 62%,rgba(182,141,76,1) 83%,rgba(135,105,71,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, rgba(135,105,71,1) 9%,rgba(193,158,103,1) 26%,rgba(182,141,76,1) 43%,rgba(233,212,179,1) 62%,rgba(182,141,76,1) 83%,rgba(135,105,71,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    margin-bottom: 2px;
    padding-bottom: 6px;
}
.gold-line-bottom
{
    display: block;
    margin: 0 auto;
    max-width: 920px;
    padding: 0 10px;
    height: 1px;
    background: rgb(135,105,71); /* Old browsers */
    background: -moz-linear-gradient(45deg, rgba(135,105,71,1) 9%, rgba(193,158,103,1) 26%, rgba(182,141,76,1) 43%, rgba(233,212,179,1) 62%, rgba(182,141,76,1) 83%, rgba(135,105,71,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, rgba(135,105,71,1) 9%,rgba(193,158,103,1) 26%,rgba(182,141,76,1) 43%,rgba(233,212,179,1) 62%,rgba(182,141,76,1) 83%,rgba(135,105,71,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, rgba(135,105,71,1) 9%,rgba(193,158,103,1) 26%,rgba(182,141,76,1) 43%,rgba(233,212,179,1) 62%,rgba(182,141,76,1) 83%,rgba(135,105,71,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    padding-top: 6px;
    margin-top: 30px;
}


.container {
    max-width: 950px;
    margin: 0 auto;
    padding: 8px 8px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 180px 200px;
    grid-gap: 5px;
    grid-auto-flow: dense;
    /* background: rgba(0, 0, 0, 0.708); */
    box-shadow: 0px 0px 10px rgb(55, 55, 55);

}

.gallery-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-item .image {
    width: 100%;
    height: 100%;
    overflow: hidden;
    /* background: rgba(50, 50, 50, 0.399); */

}

.gallery-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 0;
    cursor: pointer;
    transition: .3s ease-in-out;
    opacity: 1;
    /* filter: grayscale(60%); */
}

.gallery-item:hover .image img {
    transform: scale(1);
    opacity: 1;
    filter: grayscale(0);
    background: rgba(50, 50, 50, 0.399);
}

.gallery-item .text
{
    text-align: left;
}

.gallery-item h2 span
{
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
    display: block;
    float: left;
}

.gallery-item h2 {
    display: block;
    float: left;
    opacity: 0;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, 0%);
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    pointer-events: none;
    z-index: 1000;
    transition: .3s ease-in-out;
}
.gallery-item .popicon 
{
    width: 20px;
    height: 20px;
    display: block;
    float: right;
    position: absolute;
    right: 0.3em;
    top: 0.6em;
    opacity: 0.8;
}

.gallery-item:hover h2 {
    opacity: 1;
    animation: move-down .4s linear;
    padding: 0.6em;
    width: 100%;
    text-shadow: 0 0 10px black;
    background: -moz-linear-gradient(left, rgba(44,44,44,0.8) 0%, rgba(36,36,36,0.85) 30%, rgba(28,28,28,0.95) 60%, rgba(17,17,17,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(44,44,44,0.8) 0%,rgba(36,36,36,0.85) 30%,rgba(28,28,28,0.95) 60%,rgba(17,17,17,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(44,44,44,0.8) 0%,rgba(36,36,36,0.85) 30%,rgba(28,28,28,0.95) 60%,rgba(17,17,17,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.w-1 {
    grid-column: span 1;
}

.w-2 {
    grid-column: span 2;
}

.w-3 {
    grid-column: span 3;
}

.w-4 {
    grid-column: span 4;
}

.w-5 {
    grid-column: span 5;
}

.w-6 {
    grid-column: span 6;
}


.h-1 {
    grid-row: span 1;
}

.h-2 {
    grid-row: span 2;
}

.h-3 {
    grid-row: span 3;
}

.h-4 {
    grid-row: span 4;
}

.h-5 {
    grid-row: span 5;
}

.h-6 {
    grid-row: span 6;
}

@keyframes move-down {
    0% {
        bottom: 0;
    }

    50% {
        bottom: 0px;
    }

    100% {
        bottom: 0px;
    }
}


.link-hov {
    color: #fff;
}

.link-hov:hover {
    color: #ae9700cd;
}

/* fade in */

.fade-in.appear {
    transform: translateY(0);
    opacity: 1;
}

.fade-in {
    opacity: 0;
    transition: opacity 1000ms ease-in-out, transform 0.5s ease-in-out;
    transform: translateY(-5px);
}

.menu .fade-in:nth-child(1) {transition-delay: 0s;}

.menu .fade-in:nth-child(2) {transition-delay: .2s;}

.menu .fade-in:nth-child(3) {transition-delay: .4s;}

.menu .fade-in:nth-child(4) {transition-delay: .6s;}

.menu .fade-in:nth-child(5) {transition-delay: .8s;}

.menu .fade-in:nth-child(6) {transition-delay: 1s;}

.menu .fade-in:nth-child(7) {transition-delay: 1.2s;}

.menu .fade-in:nth-child(8) {transition-delay: 1.4s;}

.menu .fade-in:nth-child(9) {transition-delay: 1.6s;}

.form-left {
    transform: translateX(-50%);
    overflow: hidden !important;
}

.form-right {
    transform: translateX(50%);
    overflow: hidden !important;
}

.form-left,
.form-right {
    transition: opacity 600ms ease-in,
        transform 1000ms cubic-bezier(.95, -0.07, 0, 1.23);
    opacity: 0;
}

.form-left.appear,
.form-right.appear {
    transform: translateX(0);
    opacity: 1;
}

.form-right.appear
{
    overflow: hidden !important;
}
/* fade in-end */
.experience {
    height: auto;
    background-color: rgb(29,29,29); /* Old browsers */
    background-color: -moz-linear-gradient(left, rgba(29,29,29,1) 0%, rgba(51,51,51,1) 37%, rgba(51,51,51,1) 65%, rgba(29,29,29,1) 100%); /* FF3.6-15 */
    background-color: -webkit-linear-gradient(left, rgba(29,29,29,1) 0%,rgba(51,51,51,1) 37%,rgba(51,51,51,1) 65%,rgba(29,29,29,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background-color: linear-gradient(to right, rgba(29,29,29,1) 0%,rgba(51,51,51,1) 37%,rgba(51,51,51,1) 65%,rgba(29,29,29,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    padding: 130px 80px 130px 80px;
}

.experi {
    margin: 0 auto;
    max-width: 1000px;
    height: auto;
    display: flex;
    justify-content: space-around;

}

.experi h4 {
    margin-bottom: 40px;
    font-weight: 600;
    font-style: italic;
    color:#fff;
    font-size: 26px;
    border-bottom: 1px solid #575757;
}

.experi li p {
    font-size: 14px;
}

.experi-left {
    display: flex;
    flex-direction: column;
    width: 40%;
}

.skills {
    width: 100%;
    max-width: 400px;
    padding: 0 20px 0 0;
    margin-bottom: 30px;
}

.skill-name {
    font-size: 16px;
    font-weight: 400;
    text-transform: inherit;
    margin: 0 0 20px 0;
    color: #cacaca;
}

.skill-bar {
    height: 10px;
    background: #464646;
    border-radius: 2px;
}

.skill-per {
    height: 10px;
    background: -moz-linear-gradient(left,rgba(160,127,75,1) 0%,rgba(160,127,75,1) 85%, rgba(174, 151, 0, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left,rgba(160,127,75,1) 0%,rgba(160,127,75,1) 85%, rgba(174, 151, 0, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,rgba(160,127,75,1) 0%,rgba(160,127,75,1) 85%, rgba(174, 151, 0, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ae9700', endColorstr='#00ae9700', GradientType=1);
    /* IE6-9 */
    border-radius: 2px;
    width: 0%;
    position: relative;
    transition: 2s linear;
}

.skill-per::before {
    content: attr(per);
    position: absolute;
    padding: 4px 6px;
    background: rgb(77, 76, 76);
    color: #cacaca;
    font-size: 12px;
    border-radius: 3px;
    top: -30px;
    right: 0;
    transform: translate(50%);
}

.skill-per::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgb(77, 76, 76);
    color: #fff;
    top: -15px;
    right: 0;
    transform: translate(50%) rotate(45deg);
    border-radius: 1px;

}

/* skill end */
.experi-right {
    width: 50%;
    display: block;
}

.experi-right img {
    max-width: 100%;
    height: 40px;
    display: block;
    border-radius: 5px;
    margin-right: 10px;
    box-shadow: 0px 2px 2px rgb(222, 222, 222);
}

.experi-right img:hover {
    max-width: 100%;
    height: auto;
    display: block;
    margin-right: 10px;
}

.experi-right li {
    display: flex;
    justify-content: start;
    /* margin-bottom: 0px; */
}

.right-skill ul li {
    margin-bottom: 14px;
}

.experi-right li p {
    line-height: 1.7em;
    color: #cacaca;
}

.experi-right li img {
    max-width: 90px;
    height: auto;
    background-color: #fff;
    line-height: 40px;
}

.footer {
    max-width: 100%;
    height: auto;
    background-color: #fff;
}

.footer ul {
    margin: 0 auto;
    max-width: 1108px;
    height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

.clearfix {
    clear: both;
}

.footer-title {
    width: 308px;
    height: 26px;
    display: block;
    float: left;
    margin-top: 42px;
    border-bottom: 1px solid #a2a2a2;
    margin-bottom: 15px;
}

.footer-title p {
    font-size: 20px;
    font-weight: 800;
    color: #a2a2a2;
}

.footer-link a{
    font-size: 20px;
    font-weight: 800;
    color: #a2a2a2;
    text-decoration: underline;
    transition: 1s;
}
.footer-link a:hover{
    font-size: 20px;
    font-weight: 800;
    color: #ae9700cd;
    text-decoration: none;
    
}

.footer-infor {
    max-width: 1200px;
    display: block;
    text-align: center;
    margin-bottom: 35px;
}

.footer-infor p {
    font-size: 14px;
    color: #a2a2a2;
    margin-bottom: 27px;
}

.footer-infor h5 {
    font-size: 48px;
    font-style: italic;
    font-weight: 900;
    margin-bottom: 24px;
    font-family: Helvetica, sans-serif;
    transition: 0.3s;
}

.footer-infor h5:hover {
    font-size: 48px;
    font-style: italic;
    font-weight: 900;
    margin-bottom: 24px;
    /* font-family: Helvetica, sans-serif; */
    color: #ae9700cd;
}

.footer-infor a {
    width: 180px;
    height: 20px;
    display: block;
    font-size: 14px;
    color: #a2a2a2;
    margin: 0 auto;
}

.footer-infor span {
    width: 180px;
    height: 20px;
    display: block;
    font-size: 16px;
    color: #a2a2a2;
    margin: 0 auto;
    transition: 0.3s;
}

.footer-infor span:hover {
    width: 180px;
    height: 20px;
    display: block;
    font-size: 16px;
    color: #ae9700cd;
    margin: 0 auto;
}

.footer-download {
    display: block;
    float: right;
}

.footer-download p {
    /* font-family: "Helvetica", sans-serif; */
    color: #a2a2a2;
    font-size: 12px;
    font-weight: 300;
    text-decoration: none;
}

/* 反選色 */
::-moz-selection {
    background: rgb(181, 149, 44);
    color: white;
}

::selection {
    background: rgb(181, 149, 44);
    color: white;
}

/* Responsive */
@media screen and (max-width:1000px)
{
    .slider-text-top
    {
        max-width: 70%;
        padding: 3rem 4rem;
    }
    .slider-text-top h5
    {
        font-size: 2em;
        font-weight: 400;
        font-family: 'Raleway', sans-serif;
        text-transform: uppercase;
        letter-spacing: 3px;
        margin-bottom: 0.5em;
    }
}


@media(max-width:991px) {
    
    header,
    header.sticky
    {
        padding: 10px 50px;
        z-index: 1000000;
    }
    #car
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: url(../images/Effect/car-1024.png);
        background-position: center;
        /* transform: translate(0%,0%); */
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        z-index: 4;
    }
    .menu
    {
        position: fixed;
        top: 60px;
        left: -100%;
        display: block;
        padding: 100px 50px;
        text-align: center;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: .3s;
        z-index: 999;
        border-top: 1px solid rgba(0, 0, 0, 0.2);
    }

    .menu.active
    {
        left: 0;
    }
    header ul li a
    {
        color: #111;
        font-size: 30px;
        margin: 15px;
    }

    .toggle{
        width: 40px;
        height: 40px;
        background: url(../images/menu.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 30px;
        cursor: pointer;
    }

    .toggle.active{
        width: 40px;
        height: 40px;
        background: url(../images/close.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 25px;
        cursor: pointer;
    }

    header.sticky .toggle
    {
        filter: invert(1);
    }
    section
    {
        padding: 100px 50px; 
    }

    .banner
    {
        padding: 150px 50px 100px;
        background-position: center;
    }
    .banner h2
    {
        font-size: 1.5em;
    }
    .banner h3
    {
        font-size: 1em;
    }

    video {
        margin: 20px auto 0;
    }
    .contentBx{
        padding-right: 15px;
    }
    .contentBx h3 {
        font-size: 20px;
    }
    
    .contentBx p {
        font-size: 0.95em;
        line-height: 1.5em;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .experience {
        padding: 100px 50px 50px;
    }
    .testimonial {
        padding: 100px 50px 50px;
    }
    .testimonial .content-new .testimonialBx 
    {
        max-width: calc(100% - 20px);
        padding: 40px 20px;
        margin: 10px;
    }
    .testimonial .content-new .testimonialBx h3 
    {
        margin-top: 20px;
    }
    .contact 
    {
        padding: 50px 50px;
    }
    .contactInfo
    {
        margin: 0;
    }
    

}

@media screen and (max-width:767px) {
    .slider-text-top
    {
        max-width: 100%;
        padding: 2rem;
        top: initial;
        bottom: 0;
        transform: initial;
    }
    .slider-text-top h5
    {
        font-size: 2em;
        margin-bottom: 0.5em;
    }

    #car
    {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: url(../images/Effect/car-780.png);
        background-position: center;
        background-repeat: no-repeat;
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        z-index: 4;
    }
    .textmain .textBx h2 {
        font-size: 1.3em;
        color: #fff;
        font-weight: 400;
        line-height: 1.3em;
        font-style: italic;
    }
    .textmain .textBx h2 span {
        font-size: 1.8em;
        font-weight: 800;
        line-height: 1.3em;
    }
    .container {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-item .image img {

        opacity: 1;
        /* filter: grayscale(100%); */
    }
    .experi {
        margin: 0 auto;
        width: 100%;
        height: auto;
        padding: 20px 20px 60px 20px;
        display: block;
    }

    .experi-left {
        width: 100%;
    }

    .experi-left ul {
        display: flex;
        justify-content: space-around;
    }

    .experi-left li {
        width: 50%;
        margin-bottom: 30px;
    }

    .skills {
        width: 100%;
        max-width: 400px;
        padding: 0 20px 0 0;
        margin-bottom: 25px;
        /* font-family: 'Verdana', Helvetica, sans-serif; */
    }

    .experi-right {
        clear: both;
        width: 100%;
        display: block;
    }

    .form-left {
        transform: translateY(-10px);
    }

    .form-right {
        transform: translateY(-10px);
    }

    .form-left,
    .form-right {
        transition: opacity 600ms ease-in,
            transform 1000ms cubic-bezier(.95, -0.07, 0, 1.23);
        opacity: 0;
    }

    .form-left.appear,
    .form-right.appear {
        transform: translateX(0);
        opacity: 1;
    }

    .footer-infor h5 {
        font-size: 66px;
        font-style: italic;
        font-weight: 900;
        margin-bottom: 24px;
        /* font-family: Helvetica, sans-serif; */
    }

    .footer-infor h5:hover {
        font-size: 66px;
        font-style: italic;
        font-weight: 900;
        margin-bottom: 24px;
        color: #ae9700cd;
    }
    .contentBx{
        padding-right: 0px;
    }
    .content-new{
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }



}

@media (max-width:680px) {
   
    header,
    header.sticky
    {
        padding: 10px 20px;
    }
    .banner
    {
        padding: 150px 20px 100px;   
    }
    section
    {
        padding: 100px 20px;
    }
    .portfolio {
        margin: 20px;
        text-align: center;
        height: auto;
        background: url(../images/img4.jpg) -50% 0 no-repeat fixed;
        background-position: left;
        background-color: #1d1d1d;
        margin: 0;
        padding: 130px 30px 130px;
        height: 100%;
    
    }
    .experience {
        padding: 50px 20px 50px;
    }
    .testimonial {
        padding: 50px 20px 50px;
    }

    .contact {
        padding: 50px 20px 50px;
    }

}

@media (max-width:640px) {
    .footer-infor h5 {
        font-size: 40px;
        font-style: italic;
        font-weight: 900;
        margin-bottom: 24px;
        /* font-family: Helvetica, sans-serif; */
    }
    .container {
        max-width: 950px;
        margin: 0 auto;
        padding: 8px 8px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px 200px;
        grid-gap: 15px;
        grid-auto-flow: dense;
        /* background: rgba(0, 0, 0, 0.708); */
        box-shadow: none;
    }

    .w-1,
    .w-2,
    .w-3,
    .w-4,
    .w-5,
    .w-6 {
        grid-column: span 2;
    }
    .h-1,
    .h-2,
    .h-3,
    .h-4,
    .h-5,
    .h-6 {
        grid-row: span 2;
    }
    .experi-right ul li {
        width: 100%;
    }

    .about-new, #about {
        background-color: #1d1d1d;
        height: auto;
        padding: 30px;
    }
    #car
    {
        background: url(../images/Effect/car-780.png);
        background-position: center;
        background-repeat: no-repeat;
    }
    
}

@media screen and (max-width:580px) {
    .slider-text-top h5
    {
        font-size: 1.6em;

        margin-bottom: 0.5em;
    }

    .slider-text-top p
    {
        font-size: 0.9em;
    }

    .experi-left {
        width: 100%;
    }

    .experi-left ul {
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }

    .experi-left li {
        width: 100%;
        margin-bottom: 0px;
    }

    .skills {
        width: 100%;
        max-width: 100vw;
        padding: 0 20px 0 0;
        margin-bottom: 25px;
        /* font-family: 'Verdana', Helvetica, sans-serif; */
    }

}

@media screen and (max-width:500px) {
    .container {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 15px;
    }
    .portfolio {
        padding: 60px 10px 90px;    
    }
    .w-1,
    .w-2,
    .w-3,
    .w-4,
    .w-5,
    .w-6 {
        grid-column: span 2;
    }
    .h-1,
    .h-2,
    .h-3,
    .h-4,
    .h-5,
    .h-6 {
        grid-row: span 1;
    }
    .skills {
        padding: 0;
    }
    #car
    {
        background: url(../images/Effect/car-580.png);
        background-position: center;
        background-repeat: no-repeat;
    }
}




@media (max-width:400px) {

    #car {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: url(../images/Effect/car-400.png);
        background-position: center;
        background-repeat: no-repeat;
        transform: translate(0%,0%);
        height: 100%;
        object-fit: cover;
        pointer-events: none;
        z-index: 4;
    }
    .textmain .textBx {
        top: -100px;
    }
    #moon {
        top: 74px;
    }
    .banner {
        min-height: 38vh;
    }
    .experi {
        margin: 0 auto;
        width: 100%;
        height: auto;
        padding: 20px 0px 0px 0px;
        display: flex;
        flex-direction: column;
    }
    header.sticky ul li a {
        font-size: 1.8em;
    }

    .experi-right {
        width: 100%;
    }

    .experi-right ul li {
        width: 100%;
        margin-bottom: 15px;
    }

    .experi-right li p {
        font-size: 14px;
        line-height: 20px;
        margin-bottom: 0px;
    }

    .experi-right li img {
        max-width: 100%;
        height: auto;
        background-color: #fff;
        line-height: 40px;
    }

    .footer-title {
        width: 334px;
        height: 26px;
        display: block;
        float: left;
        margin-top: 42px;
        border-bottom: 1px solid #a2a2a2;
        margin-bottom: 10px;
    }

    .footer-infor p {
        font-size: 12px;
        color: #a2a2a2;
        margin-bottom: 25px;
    }

    .footer-infor h5 {
        font-size: 40px;
        font-style: italic;
        margin-bottom: 20px;
    }

    .footer-infor h5:hover {
        font-size: 40px;
        font-style: italic;
        font-weight: 900;
        margin-bottom: 20px;
        color: #ae9700cd;
    }

    .footer-download {
        display: block;
        float: none;
    }

    .footer-infor span {
        color: #ae9700cd;
    }

    .footer-download p {
        /* font-family: "Helvetica", sans-serif; */
        color: #a2a2a2;
        font-size: 12px !important;
        font-weight: 300;
        text-align: center;
    }
}

/* go to top */
.ui-to-top {
    position: fixed;
    text-align: center;
    overflow: hidden;
    right: 15px;
    bottom: 15px;
    z-index: 100;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 36px;
    text-decoration: none;
    opacity: .2;
    border-radius: 50%;
    -webkit-transform: translate3d(0, 100px, 0);
    transform: translate3d(0, 100px, 0);
    transition: all .45s ease-in-out;
}

.ui-to-top,
.ui-to-top:focus {
    color: #fff;
    background: #416194;
}

.ui-to-top:hover {
    opacity: 1;
    color: #fff;
    text-decoration: none;
}

.ui-to-top.active {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    transition: 0.3s;
}

html.mobile .ui-to-top,
html.tablet .ui-to-top {
    display: none !important;
}

@media (min-width: 576px) {
    .ui-to-top {
        right: 40px;
        bottom: 40px;
    }
}