*{
	margin: 0;
	padding: 0;
	box-sizing: border-box; 
	font-family: 'Noto Sans TC', sans-serif;
}

body{
	overflow-x: hidden;
	overflow-y: scroll;
	height: 100vh;
	cursor: url('../image/cursor.svg'), auto;
}

a:hover{
	cursor: url('../image/hover.svg'), auto;
}

.loading{
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: 9999;
	background-color: #5aa6a5;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wavy{
	position: relative;
	-webkit-box-reflect: below -12px linear-gradient(transparent, rgba(0,0,0,0.2)) ;
}

.wavy span{
	position: relative;
	display: inline-block;
	color: white;
	font-size: 2em;
	animation: animate 2s ease-in-out infinite;
	animation-delay: calc(0.2s * var(--i));
}

@keyframes animate{
	0%{
		transform: translateY(0px);
	}
	20%{
		transform: translateY(-20px);
	}
	40%,100%{
		transform: translateY(0px);
	}
}

.rwdimage{
	position: relative;
	display: none;
}

.rwdimage img{
	width: 100%;
	height: 100%;
}

.bg{
	width: 100%;
	height: 100%;
	top: 0;
	position: fixed;
	background-image: url(https://i.imgur.com/ujb52B7.png);
	background-position: center;
	background-size: cover;	
}

.inner-bg{
	width: 100%;
	height: 200vh;
	top: 0;
	right: 0;
	position: absolute;
	background: url(https://i.imgur.com/cT73oSB.png);
	background-size: cover;
	background-position: center;
}

.inner-bg img{
	position: absolute;
	top: 0;
	right: 0;
	width: 100vw;
	height: auto;
}

.header{
	height: 8vh;
	width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: flex-end;
    position: absolute;
	z-index: 9999;
}

#headerContainer{
	width: 100%;
	position: absolute;
	background-color: transparent;
	display: flex;
	min-height: 10vh;
	align-items: center;
	justify-content: space-around;
	transition: 0.8s ease;
}

.mainNav{
	position: absolute;
	right: 5%;
}

.headerContainer .mainNav ul li{
	display: block;
	float: left;
	list-style: none;
}

.headerContainer .mainNav ul li a{
	color: #5aa6a5;
	text-decoration: none;
	transition: 0.5s ease-in-out;
	padding: 5px 20px;
}

.headerContainer .mainNav ul li a:hover{
	background-color: white;
	color: #6a9d9f;
	text-decoration: none;
}

.burgerwrapper{
	position: fixed;
	top: 10px;
	right: 10px;
	z-index: 9999;
}

.menu{
	position: fixed;
	opacity: 0;
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.8s ease-in-out;
	z-index: 1;
}

.menu.active{
	opacity: 1;
	background: #5aa6a5;
	z-index: 9998 ;
}

.menulogo{
	position: relative;
	max-width: 250px;
}

.menulogo img{
	width: 100%;
	height: 100%;
}

.data_wrapper{
	position: fixed;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.data{
	opacity: 0;
	pointer-events: none;
	transition: 0.8s;
}

.data.active{
	opacity: 1;
	pointer-events: all;
}

.rwdBurger div{
	background-color: white;
	width: 25px;
	height: 2px;
	margin: 5px;
	display: none;
}

.data ul{
	letter-spacing: 3px;
	list-style: none;
	margin-bottom: 0;
	padding-left: 0;
}

.data li{
	margin-top: 35px;
	margin-bottom: 35px;
}

.data ul a{
	color: #fff;
	text-decoration: none;
}

.image{
	position: absolute;
	top: 25px;
	left: 125px;
	width: 25vw;
	height: auto;
	z-index: 3;
}

.image img{
	width: 100%;
	height: 100%;
}

.content{
	display: flex;
	justify-content: center;
}

.title{
	position: relative;
	top: 30%;
	left: 14%;
}

.title h2{
	font-size: 2.5em;
	letter-spacing: 10px;
	font-weight: 700;
	color: #305351;
}

.title p{
	font-size: 1.3em;
	font-weight: 700;
	letter-spacing: 10px;
	padding-top: 20px;
	padding-left: 25px; 
}

.s1{
	width: 100vw;
	display: flex;
	justify-content: center;
}

.wrapper{
	position: relative;	
	top: 70vh;
	width: 1200px;
	display: flex;
	justify-content: space-around;
	align-content: center;
	flex-wrap: wrap;
	z-index: 2;
}

.maincontainer{
	position: relative;
	width: 320px;
	height: 410px;
	margin: 20px 20px;
	perspective: 1000px;
}

.thecard{
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	-webkit-transform-style: preserve-3d;
	transition: transform 1s;
	cursor: url('../image/hover.svg'), auto;
}

.thecard img{
	width: 90%;
	height: auto;
	border: 4px solid black;
	margin-bottom: 90px;
}

.thefront{
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	background-color: white;
	transform: rotateY(0deg);
	-webkit-transform: rotateY(0deg);
	box-shadow: 11px 12px 4px 0px rgb(0 0 0 / 30%);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border: 4px solid black;
}

.thecard .thefront p{
	opacity: 1;
	position: absolute;
	color: white;
	letter-spacing: 5px;
	padding: 5px 20px;
	background-color: black;
	border-radius: 3px;
	left: 18px;
    margin-bottom: 0;
    bottom: 35px;
    transition: 0.5s ease-in-out;
}

.theback p{
	margin: 0px 30px;
	line-height: 35px;
}

.theback h2,h4{
	margin-bottom: 20px;
}

.theback a{
	text-decoration: none;
	color: black;
}

.theback{
	position: absolute;
	width: 100%;
	height: 100%;
	-webkit-backface-visibility: hidden;
	background-color: white;
	transform: rotateY(180deg);
	-webkit-transform: rotateY(180deg);
	box-shadow: 11px 12px 4px 0px rgb(0 0 0 / 30%);
	border: 4px solid black;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.icon{
	position: absolute;
	font-size: 40px;
	bottom: 10px;
}

.icon i{
	padding: 0 10px;
}

.fa-instagram:hover{
	color: #e1306c;
}

.fa-facebook-square:hover{
	color: #3b5998;
}

.fa-envelope:hover{
	color: #0072C6;
}

.footer{
	overflow-x: hidden;
	width: 100%;
	top: 100%;
	left: 0;
	position: relative;
	background-color: white;
}

.content{
	padding: 20px 0;
	width: 90%;
	height: auto;
	margin: 0 auto;
}

.content .top{
	width: 100%;
	height: auto;
	text-align: center;
}

.content .top ul{
	padding: 0;
	margin: 0;
}

.content .top ul li{
	list-style: none;
	text-align: center;
	display: inline-block;
	width: 250px;
	height: auto;
	margin: 10px 60px;
	position: relative;
}

.content .top ul li img{
	width: 100%;
	height: 100%;
}

.school{
	width: 55%;
}

.ICS{
	width: 85%;
}

.social-media{
	display: flex;
	justify-content: center;
}

.social-media a{
	width: 40px;
	height: 40px;
	margin: 0 8px;
	border-radius: 50%;
	text-align: center;
	color: white;
	text-decoration: none;
	font-size: 17px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-media a:nth-child(1){
	background-color: #4267B2;
	border: 2px solid #4267B2;
	transition: 0.5s;
}

.social-media a:nth-child(1):hover{
	color: #4267B2;
	background-color: #fff;
}

.social-media a:nth-child(2){
	background-color: #E1306C;
	border: 2px solid #E1306C;
	transition: 0.5s;
}

.social-media a:nth-child(2):hover{
	color: #E1306C;
	background-color: #fff;
}

.footer .copyrights{
	margin-top: 20px;
	white-space: nowrap;
	display: flex;
	flex-direction: row;
	justify-content: center;
	font-weight: 300;
}

.copyrights p{
	margin-bottom: 0;
}

.copyrights p:nth-child(1){
	margin-right: 10px;
}

.copyrights p:nth-child(2){
	margin-left: 10px;
}

@media only screen and (max-width: 1366px){
	.social-media{
		justify-content: center;
	}
}

@media only screen and (max-width: 768px){
	.rwdimage{
		display: block;
	}

	.nav-links{
		visibility: hidden;
	}

	.logo img{
		padding-top: 15px;
		width: 60%;
	}

	.mainNav{
		display: none;
	}

	.logo img{
		display: none;
	}

	.burgerwrapper{
		position: fixed;
		top: 10px;
		right: 10px;
		z-index: 9999;
	}

	.rwdBurger{
		cursor: pointer;
		z-index: 9999;
	}

	.rwdBurger div{
		display: inherit;
	}

	.inner-bg{
		display: none;
	}

	.title{
		padding: 0px 40px;
		top: 0;
		left: 0;
	}

	.title p{
		font-size: 1em;
	}

	.wrapper{
		margin-bottom: 40px;
		top: 0;
	}

	.footer{
		z-index: 2;
		top: 0;
	}
}

@media only screen and (max-width: 720px){
	.image{
		display: none;
		pointer-events: none;
	}

	.content{
		width: 100%;
	}

	.footer .copyrights{
		margin-top: 0;
		flex-direction: column;
	}

	.copyrights p{
		font-size: 12px;
	}

	.copyrights p:nth-child(1){
		margin-right: 0px;
	}

	.copyrights p:nth-child(2){
		margin-left: 0px;
	}
}

@media (max-height: 500px){
	.data_wrapper{
		flex-direction: row;
	}

	.data li {
	    margin-top: 20px;
	    margin-bottom: 20px;
	}
}


