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

body{
	margin: 0;
	background: #f5f7fb;
	color: #1f2937;
	width: 100%;
}

header{
	width: 100%;
	height: 80px;
	background: #ffffff;
	display: flex;
	justify-content: space-around;
    align-items: center;
    align-content: center;
}

.item{
	width: 33%;
	height: 80px;
	text-align: center;
	display: flex;
    align-items: center;
    align-content: center;
    justify-content: space-around;
}

.layer1{
	display: flex;
    align-items: center;
    align-content: center;
}

.layer2{
	display: flex;
	flex-direction: column;
}

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

main{
	width: 100%;
	height: auto;
}

.slideshow-container {
	max-width: 100%;
	position: relative;
	margin: auto;
}

/* Hide the images by default */
.mySlides {
	display: none;
}

/* Next & previous buttons */
.prev, .next {
	cursor: pointer;
	position: absolute;
	top: 50%;
	width: auto;
	margin-top: -22px;
	padding: 16px;
	color: white;
	font-weight: bold;
	font-size: 18px;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	user-select: none;
}

/* Position the "next button" to the right */
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
	background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
	color: #f2f2f2;
	font-size: 15px;
	padding: 8px 12px;
	position: absolute;
	bottom: 8px;
	width: 100%;
	text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
	color: #f2f2f2;
	font-size: 12px;
	padding: 8px 12px;
	position: absolute;
	top: 0;
}

/* The dots/bullets/indicators */
.dot {
	cursor: pointer;
	height: 15px;
	width: 15px;
	margin: 0 2px;
	background-color: #bbb;
	border-radius: 50%;
	display: inline-block;
	transition: background-color 0.6s ease;
}

.active, .dot:hover {
	background-color: #717171;
}

/* Fading animation */
.fade {
	animation-name: fade;
	animation-duration: 1.5s;
}

@keyframes fade {
	from {
		opacity: .4
	} to {
		opacity: 1
	}
}

.bottom-nav1{
	display: flex;
	position:fixed;
	bottom: 60px;
	left:0;
	width:100%;
	height:60px;
	background:#fff;
	border-top:1px solid #dbdbdb;
	justify-content:space-around;
	align-items:center;
	z-index:100;
}

.bottom-nav2{
	display: flex;
	position:fixed;
	bottom:0;
	left:0;
	width:100%;
	height:60px;
	background:#fff;
	border-top:1px solid #dbdbdb;
	justify-content:space-around;
	align-items:center;
	z-index:100;
}

.nav-item{
	font-size:22px;
}

.nav-item a {
	position: relative;
	text-decoration: none;
	color: #000;
	display: inline-block;
	padding: 5px;
}

.nav-item a::after {
	content: attr(data-title);
	position: absolute;
	bottom: 120%; /* 上方顯示 */
	left: 50%;
	transform: translateX(-50%);
	background: rgba(0,0,0,0.75);
	color: #fff;
	padding: 4px 8px;
	border-radius: 4px;
	font-size: 12px;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
	z-index: 10;
}

.nav-item a::before {
	content: '';
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	border-width: 5px;
	border-style: solid;
	border-color: transparent transparent rgba(0,0,0,0.75) transparent;
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 10;
}

.nav-item a:hover::after,
.nav-item a:hover::before {
	opacity: 1;
}

/* ---- 字體大小 ---- */

.fontsize1{
	font-size: 12px;
}

.fontsize2{
	font-size: 14px;
}

.fontsize3{
	font-size: 16px;
}

.fontsize4{
	font-size: 18px;
}

.fontsize5{
	font-size: 20px;
}

.fontsize6{
	font-size: 22px;
}

.fontsize7{
	font-size: 24px;
}

.fontsize8{
	font-size: 26px;
}

.fontsize9{
	font-size: 28px;
}


/* ---- Google Font 字體 ---- */

.story-script-regular {
	font-family: "Story Script", sans-serif;
	font-weight: 400;
	font-style: normal;
}

.nabla-uniquifier {
	font-family: "Nabla", system-ui;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
		"EDPT" 100,
		"EHLT" 12;
}

.rubik-doodle-shadow-regular {
	font-family: "Rubik Doodle Shadow", system-ui;
	font-weight: 400;
	font-style: normal;
}

.chiron-goround-tc-uniquifier {
	font-family: "Chiron GoRound TC", sans-serif;
	font-optical-sizing: auto;
	font-weight: 10px;
	font-style: normal;
}