/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
}

body {
	line-height: 1;
}
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;
}
*,*:before,*:after{ 
	box-sizing: border-box;
}
img{
	max-width: 100%;
	height: auto;
}

.wrap{
	margin: 0 auto;
	max-width: 1000px;
	overflow: hidden;
	position: relative;
}
.header {
	background-color: #fff;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000; 
}
.mobile-follow{
	display: none;
}
.follow{
	display: flex;
	justify-content: end;
	top: 0;
	background: #f6f6f6;
	padding-top: 15px;
	padding-bottom: 15px;
}
.fb{
	display: block;
	display: flex;
	align-items: center;
	font-weight: bold;
	text-indent: 5px;
	color: #5d6998;
	white-space: nowrap;
	text-decoration: none;
	margin-right: 10px;
}
.fb:hover{
	color: blue;
}
.follow span{
	display: block;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 15px;
	color: #cbcbcb;
}
.tw{
	display: block;
	display: flex;
	align-items: center;
	text-indent: 5px;
	color: #00aaff;
	white-space: nowrap;
	text-decoration: none;
	font-weight: bold;
	margin-left: 5px;
	margin-right: 15px;
}
.tw:hover{
	color: #0084ff;
}

.burgermenu{
	display: none;
}
h1{
	float: left;
	margin-top: 10px;
	margin-left: 20px;
}
.header h1 a{
	display: inline-block;
	background-image: url(../img/logo-01.svg);
	background-repeat: no-repeat;
	width: 250px;
	height: 60px;
	text-indent: 101%;
	white-space: nowrap;
	overflow: hidden;
}
.menu{
	margin-top: 10px;
	margin-right: 10px;
	float: right;
}
.menu li{
	display: inline-block;
	position: relative;
	padding: 5px 20px;
	/* padding-bottom: 20px; */

}
/* 問與答 箭頭 */
.ask{
	margin-left: 5px;
	position: relative;
}

.header > .container{
	/* border: 3px solid green; */
	height: 80px;
}
/* 下拉選單 */
.ask-menu{
	width: 210px;
	height: 0px;
	background: #00ab8c;
	position: absolute;
	top: 70px;
	right: 0;
	display: flex;
	flex-direction: column;
	align-items: end;
	transition: 0.7s ease;/* 關閉速度 */
	/* transform: translateY(-450px); */
	/* float: left; */
	z-index: 2;
	overflow: hidden;
}
.open {
	/* transform: translateX(0px); */
	/* 開啟速度 */
	transition: 0.5s ease;
	height: 250px;
}
.ask-menu li a{
	display: block;
	width: 210px;
	text-align: end;
	color: white;
	text-decoration: none;
	font-weight: bold;
	margin-top: 15px;
	padding-top: 15px;
	/* padding-right: 20px; */
	padding-bottom: 15px;
	transition: 0.3s ease;
}
.ask-menu li:hover{
	background: #255957;
}
.ask-menu a:hover{
	color: #fff;

}
/* 選轉箭頭 */
.fa-angle-right {
	position: absolute;
	top: 35%;
	left: 10%;
	color: #00ab8c;
    transition: transform 0.5s;
}
.fa-angle-right-t{
    transform: rotate(90deg);
}
.menu a{
	display: flex;
	justify-content: center;
	text-decoration: none;
	align-items: center;
	font-weight: bold;
	height: 50px;
	font-size: 18px;
	white-space: nowrap;
	padding-top: 2px;
	padding-bottom: 2px;
	color: #00ab8c;
	text-indent: 6px;
}

/* 讀條效果 */
.menu li::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 4px;
	background: #00ab8c;
	transition: width 0.3s;
}
.menu li:hover::after {
	width: 100%;
}
/* 輪播圖 & 下拉選單 區塊 */
.swip{
	position: relative;
	overflow: hidden;
	clear: both;
}


/* 輪播圖 */
.swiper {
	max-width: 100%;
	max-height: 560px;
	margin-top: 120px;
	margin-bottom: 25px;
}
.swiper-pagination{
	display: none;
}
.swiper-wrapper{
	max-width: 100%;
	max-height: 100%;
}
.swiper-wrapper img{
	/* height: 100%; */
}
.bannerh2{
	display: block;
	position: absolute;
	top: 40%;
	left: 10%;
	font-size: 50px;
	color: white;
}
.swiperOne {
    /* height: 547px;  */
	/* 或某個固定的高度 */
}
.swiper-slide > a {
    display: block; /* 確保 a 是區塊級元素，可以設定高度 */
    height: 547px;
	text-indent: 101%;
	white-space: nowrap;
	overflow: hidden;
}
/* 讓banner1滿版 */
.swiperOne > a > img {
	max-width: none;
    height: 100%;
}
.swiperOne > .fistBanner{
	text-indent: 0px;
}
.laptop{
	background: url(../img/banner/bg_course.png);
}
.Code{
	background: url(../img/banner/bg_index.png);
}
.questionMark{
	background: url(../img/banner/bg_QA.png);
}


.swiper-button-prev,
.swiper-button-next{
	color: white;
}
.swiper-button-prev:hover,
.swiper-button-next:hover{
	color: #00cc98;
}


/* html5 響應式網站 jQuery實戰教學 區塊 */
.couese{
	display: flex;
	justify-content: space-evenly;
}
.course-item {
    display: flex;
    justify-content: space-evenly;
    position: relative;/* 效果線相對定位點 */
    width: 30.33333%;
	height: 400px;
    box-shadow: 0 2px 3px 2px #f1f1f1;
    overflow: hidden;
}
.course-item-a{
	width: 100%;
}


/* 線條效果 Top line */
.course-item:before, .course-item:after {
    content: "";
    position: absolute;
    background: #00ab8c;
    top: 0;
    left: 0;
    height: 10px;
    width: 0;
    transition: width 0.8s ease;
}
.course-item:hover:before {
    width: 100%;
}
/* 線條效果 Left line */
.course-item:after {
    content: "";
    position: absolute;
    background: #00ab8c;
    top: 0;
    left: 0;
    width: 10px;
    height: 0;
    transition: height 0.8s ease;
}
.course-item:hover:after {
    height: 100%;
}
/* 線條效果 Bottom line */
.course-item .bottom-line {
    content: "";
    position: absolute;
    background:  #00ab8c;
    bottom: 0;
    right: 0;
    height: 10px;
    width: 0;
    transition: width 0.8s ease;
}
.course-item:hover .bottom-line {
    width: 100%;
}
/* 線條效果 Right line */
.course-item .right-line {
    content: "";
    position: absolute;
    background:  #00ab8c;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 0;
    transition: height 0.8s ease;
}
.course-item:hover .right-line {
    height: 100%;
}
.course-item:hover{
	box-shadow: 0 0 10px 5px #e5e5e5;
}
.course-item-a{
	text-decoration: none;
	color: black;
}
.course-item h2{
	text-align: center;
	font-size: 25px;
}
.coueseP{
	padding: 20px;
	line-height: 1.5;
}

/* UI設計師 網頁設計師 前端工程師 */
.job{
	margin-top: 50px;
	font-size: 50px;
	text-align: center;
}
.jobBlock{
	display: flex;
	justify-content: space-evenly;
}
.jobItem{
	text-decoration: none;
	color: black;
	position: relative;
	/* 加號 定位點 */
}
.jobTitle{
	margin-top: 50px;
	margin-bottom: 20px;
	font-size: 30px;
	text-align: center;
	font-weight: bold;
	font-family: Arial, sans-serif;
}
.jobBox {
	width: 300px;
	height: 300px;
	background-color: #255957;
	overflow:hidden;
	border-radius:5px;
}

.jobBox_image {/* 平行四邊形遮蓋範圍 */
	width:380px;/* 圖片露出寬度 */
	height: 300px;
	margin-left:-80px;
	background-color:green;
	transform:skewX(150deg);/* 平行四邊形平移成正方形 */
	overflow:hidden;
	transition: all 800ms cubic-bezier(0.680, -0.550, 0.265, 1.550);
	/* 貝茲曲線 */
}
.jobBox_imageOpen {
	width:100px;
	 /* 展開 or 收起 */
}
.jobBox_rotate {
	width:300px;
	height:80px;
	margin-left:20px;
	transform:skewX(-150deg);
}
.jobBox_rotate img {
	margin-left: -4px;
	/* width:105%; */
}
.jobHeading{
	position:absolute;
	margin-top:50px;
	margin-left:100px;
	color: #00cc98;
	font-size: 20px;
	font-weight: bold;
	letter-spacing: 0.3em;
	display: flex;
}

.fa-palette, .fa-pager, .fa-wrench{
	padding-left: 5px;
	padding-right: 10px;
	/* font-family: Arial, sans-serif; */
}

.jobOverlay {
	opacity: 0;
	transition: opacity 1s;
	position:absolute;
	color:white;
	width: 180px;
	margin-top:80px;
	margin-left:100px;
	font-size: 17px;
	line-height: 1.5em;
	letter-spacing: 0.1em;
}
.celebrity{
	position: absolute;
	right: 10px;
	top: 70px;
	font-size: 17px;
}
.Suitable{
	border: 2px dashed #E6AF2E;
	color: #ffffff;
	position: absolute;
	width: 200px;
	left: -70px;
	top: 120px;
	font-size: 18px;
	padding: 3px;
	padding-left: 10px;
}
.show{
	opacity: 1;
    transition: opacity 2s;
}
.fa-plus{
	color: #fff;
	position: absolute;
	right: 15px;
	bottom: 15px;
	/* padding: 20px; */
	font-size: 35px;
	transition: transform 0.5s;
	z-index: 5;
}
.Circle{
	background-color: #255957;
	border-radius: 50%;
	/* border-radius: 10px; */
	width: 44px;
	height: 44px;
	position: absolute;
	right: 10px;
	bottom: 10px;
	/* padding: 20px; */
	z-index: 4;
}
.fa-plusOpen {
	transition: transform 0.5s;
	transform: rotate(-45deg);
}


/* 線上及實體課程差異 */
.table-title{
	text-align: center;
	font-size: 38px;
	padding-top: 60px;
	padding-bottom: 28px;
	font-weight: bold;
}
.compare{
	margin-left: 80px;
	margin-bottom: 60px;
	width: 838px;
}
.compare th,.compare td{
	border-top: 1px solid #dcdcdc;
	border-bottom: 1px solid #dcdcdc;
	padding: 10px;
}
.compare tr:hover{
	background: #f7fffa;
}
.compare th{
	font-weight: bolder;
	background: #f7f7f7;
	text-align: left;
	padding-left: 23px;
}
.compare td{
	padding-left: 23px;
}
.green{
	color: #2e9573
}

/* 對我們的課程有興趣嗎？ */
.form{
	background: -webkit-linear-gradient(top, #00674b, #02986e);
	max-width: 1000px;
}
.enter{
	display: flex;
	width: 100%;
}
.quiz{
	padding-left: 20px;
	padding-bottom: 29px;
}
.textarea{
	width: 460px;
	height: 245px;
	background-color: white;
	border-radius: 3px;
	border: none;
	resize: none;
}
.form h3{
	padding-top: 38px;
	padding-bottom: 34px;
	font-size: 21px;
	text-align: center;
	line-height: 1.5;
	color: white;
}
.personal{
	margin-left: 40px;
}
.personal h4{
	margin-bottom: 5px;
}
.n, .p, .m{
	margin-bottom: 15px;
	color: white;
}
.n input, .p input, .m input{
	width: 460px;
	height: 32px;
	border-radius: 5px;
	border: none;
}
input:focus {
	outline: none;
    box-shadow: 0 0 1px 2px #00cc98;
}
.textarea:focus{
	outline: none;
	box-shadow: 0 0 1px 2px #00cc98;
}
.sb{/* 送出按鈕 */
	width: 70px;
	height: 32px;
	margin-top: 5px;
	margin-left: 390px;
	color: white;
	background-color: #00cc98;
	border-radius: 5px;
	border: none ;
}
.sb:hover{
	background: #ffffff;
	color: #00cc98;
	cursor: pointer;
}


/* 頁尾 */
.footer{
	display: flex;
	justify-content: space-between;
	padding-top: 26px;
	padding-bottom: 58px;
}
.footerLogo{
	margin-left: 20px;
}
.footer li{
	display: flex;
	font-size: 13px;
	margin-right: 16px;
	margin-bottom: 11px;
}
.footer a{
	display: block;
	text-decoration: none;
	color: #df3272;
	margin-right: 16px;
}
.footer a:hover{
	color: #ff0000;
	text-decoration: underline;
}
/* 回頂部 */
.fa-angle-double-up{
	color: #fff;
	background: #2e9573;
	font-size: 60px;
	position: fixed;
	right: 0;
	bottom: 0;
}
.animate__animated {
	--animate-duration: 2s;
}

@media(max-width:844px){
	.swiper {
		max-width: 100%;
		max-height: 420px;
		margin-bottom: 25px;
	}
	.swiper-pagination{
		display: block;
	}
	.swiper-button-prev, .swiper-button-next{
		display: none;
	}
	.swiper-wrapper{
		max-width: 100%;
		max-height: 100%;
	}
	.bannerh2{
		line-height: 1.5;
		top: 25%;
	}
	.swiper-slide > a{
		max-height: 420px;
		background-position: 50%;
	}

	.course-item-a p, .coueseP{
		font-weight: bold;
	}
	.job{
		font-size: 38px;
		font-weight: bold;
	}
	.jobBlock{
		float: left;
		flex-wrap: wrap;
		margin-bottom: 10%;
	}
	.jobItem{
		margin: 0 5%;
	}
	.differences, .table-title{
		clear: both;
	}
	.compare{
		max-width: 100%;
		margin-left: 0px;
	}
	.compare th,.compare td{
		border-top: 1px solid #dcdcdc;
		border-bottom: 1px solid #dcdcdc;
	}
	.form{
		width: 100%;
	}
	.enter{
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.quiz{
		display: flex;
		justify-content: center;
		align-items: center;
		padding-left: 0;
		padding-bottom: 0;
	}
	.personal{
		margin-left: 0px;
		margin-top: 3%;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.personal h4{
		margin-top: 0.5%;
		margin-right: 1%;
	}
	.sb{/* 送出按鈕 */
		margin-bottom: 3%;
	}
}


@media(max-width:767px){
	.follow{
		display: none;
	}
	.mobile-follow{
		display: block;
		position: absolute;
		bottom: 0;
		right: 2%;
	}
	.mobile-follow > li > .fa-facebook-f,
	.mobile-follow > li > .fa-twitter{
		font-size: 30px;
		/* margin-left: 50px; */
	}
	.header {
		background-color: #255957;
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		z-index: 1000; 
	}
	
	.header > .container > h1 > a{
		background: url(../img/logo-04.svg);
		background-size: contain;
		width: 60px;
		height: 53px;
		/* border: 1px solid red; */
	}
	h1{
		margin-top: 15px;
	}
	.burgermenu{
		width: 80px;
		height: 80px;
		display: inline-block;
		display: flex;
		justify-content: center;
		align-items: center;
		position: absolute;
		right: 0;
		z-index: 4;
	}
	.fa-bars,.fa-xmark{
		font-size: 40px;
		color: #00cc98;
		/* transition: all 1.5s; */
		
	}
	.fa-xmark{
		font-size: 45px;
		transition: all 1.5s;
		color: #fff;
	}
	
	.menu{
		display: flex;
		flex-direction: column;
		position: fixed;
		top: -10px;
		right: -80%;
		bottom: 0;
		width: 240px;
		margin-right: 0;
		z-index: 3;
		background-color: #255957;
		transition: 0.5s ease;
	}
	.burgerOpen{
		position: fixed;
		right: 0;
		transition: 0.5s ease;
	}
	.menu > li > a{
		color: #fff;
	}
	.menu > li > .home{
		margin-top: 35%;
	}
	.menu > li{
		border-bottom: 1px solid #2e9573;
	}
	.fa-angle-right{
		color: #fff;
	}
		/* 下拉選單 */
	.ask-menu{
		width: 240px;
		height: 0px;
		top: 60px;
		background: #2e9573;
	}
	.open {
		/* transform: translateX(0px); */
		/* 開啟速度 */
		transition: 0.5s ease;
		height: 250px;
	}
	.ask-menu li a{
		display: block;
		width: 210px;
		text-align: center;
		color: white;
		text-decoration: none;
		font-weight: bold;
		margin-top: 15px;
		padding-top: 15px;
		/* padding-right: 20px; */
		padding-bottom: 15px;
		transition: 0.3s ease;
	}
	.ask-menu li:hover{
		background: #00ab8c;
	}
	.ask-menu a:hover{
		color: #fff;
	}


	.swiper {
		max-width: 100%;
		max-height: 420px;
		margin-top: 80px;
		margin-bottom: 25px;
	}
	.swiper-pagination{
		display: block;
	}
	.swiper-button-prev, .swiper-button-next{
		display: none;
	}
	.swiper-wrapper{
		/* max-width: 100%;
		max-height: 100%; */
	}
	.swiper-slide > a{
		max-width: none;
		height: 650px;
	}
	.swiper-slide > a > img{
		max-width: none;
	}
	.bannerh2{
		/* position: absolute; */
		/* z-index: 3; */
		line-height: 1.5;
		top: 30%;
		font-size: 40px;
		width: 250px;
		white-space: pre-wrap;
	}
	.laptop{
		background: url(../img/banner/bg_course_02_moblie.png);

	}
	.Code{
		background: url(../img/banner/bg_index_03_mobile.png);
	}
	.questionMark{
		background: url(../img/banner/bg_QA_03.png);
	}

	.swiper-slide > a{
		background-position: -1%;
	}
	
	.couese{
		float: left;
		flex-wrap: wrap;
		margin-bottom: 10%;
	}
	.course-item {
		float: left;
		width: 310px;
		height: 310px;
		margin-top: 5%;
		margin-bottom: 1%;
		box-shadow: 0 1px 10px 3px #f1f1f1;
		/* overflow: hidden; */
	}
	.course-item-a > a{
		display: block;
		position: relative;
		top: 5%;
		left: 0;
		width: 150px;
		height: 80px;
	}

	.course-item-a > h2{
		font-size: 20px;
		font-weight: bold;
		position: absolute;
		top: 20%;
		right: 5%;
	}
	.course-item-a p, .coueseP{
		font-weight: bold;
		font-size: 18px;
		margin-top: 10px;
		padding: 15px 28px;
		/* letter-spacing: 0.1em; */
		position: relative;
		right: 0;
	}
	.jQueryP{
		/* text-align: center; */
		margin-top: 30px;
		margin-left: 15%;
	}
	

	.job{
		clear: both;
		font-size: 30px;
		font-weight: bold;
		margin-left: 21%;
		margin-right: 21%;
		line-height: 1.5;
		
	}
	.jobBlock{
		float: left;
		flex-wrap: wrap;
		margin-bottom: 10%;
	}
	.jobItem{
		margin: 0 5%;
	}
	.jobTitle{
		font-size: 30px;
		letter-spacing: 2px;
	}

	.table-title{
		clear: both;
		font-size: 30px;
	}
	.compare{
		max-width: none;
		
		margin-left: 0px;
		font-size: 20px;
	}
	.differences{
		overflow-x: auto;

	}
	.compare th,.compare td{
		border-top: 1px solid #dcdcdc;
		border-bottom: 1px solid #dcdcdc;
		
	}

	.form{
		width: 100%;
	}
	.enter{
		width: 100%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.quiz{
		width: 100%;
		display: flex;
		justify-content: center;
		align-items: center;
		padding-left: 0;
		padding-bottom: 0;
	}
	.textarea{
		width: 85%;
	}
	.personal{
		width: 100%;
		margin-left: 0px;
		margin-top: 3%;
		display: flex;
		flex-direction: column;
		justify-content: start;
		/* align-items: ; */
	}
	.n,.p,.m{
		display: flex;
		align-items: center;
		width: 85%;
	}
	.n > input,
	.p > input,
	.m > input {
		width: 100%;
	}
	
	.personal h4{
		white-space: nowrap;
		margin-left: 5%;
		margin-right: 5%;
	}
	.sb{/* 送出按鈕 */
		margin-bottom: 5%;
		margin-left: 0;
	}

		/* 頁尾 */
	.footer{
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		padding-bottom: 10%;
	}
	.footerLogo{
		margin-top: 5%;
		margin-bottom: 0;
	}
	.footerLogo > img{
		width: 200px;
	}
	.footer ul{
		margin-left: 10%;
	}
	.footer li{
		display: flex;
		justify-content: center;
		font-size: 20px;
		margin-right: 0px;
		margin-bottom: 5%;
	}

	/* 回頂部 */
	.fa-angle-double-up{
		font-size: 50px;
		position: fixed;
		right: 1%;
		bottom: 1%;
		z-index: 3;
	}
}