﻿@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@100;300;400;500;700&display=swap");
@import url("https://pro.fontawesome.com/releases/v5.10.0/css/all.css");

body{
    background-image: 
	url("../images/03/03_bg_main.jpg");
	background-color: #040615;
	background-repeat: no-repeat;
	background-size: contain;
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Serif TC', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
}

.container{
    max-width: 1200px;
    margin: auto;
}

.main-padding{
    padding: 120px;
}

@media screen and (max-width: 575px) {
	.main-padding{
		margin: 0px;
		padding: 30px;
	}
}
@media screen and (min-width: 576px) and (max-width: 991px) {
	.main-padding{
		margin: 0px;
		padding: 20px;
	}
}

h2{
    margin: 50px;
    vertical-align: middle;
    margin-bottom: 100px;
	color: #fff;
	font-size: 3.25rem;
	border: 1px solid #76DAF1;
	text-align: center;
	line-height: 50px;
	padding: 30px 0;
}

@media screen and (max-width: 575px) {
	h2{
		margin: 50px;
		margin-bottom: 50px;
		color: #fff;
		font-size: 2.375rem;
		padding: 10px 0;
	}
}

@media screen and (min-width: 576px) and (max-width: 991px) {
	h2{
		margin-bottom: 50px;
		color: #fff;
		font-size: 2.625rem;
		padding: 10px 0px;
	}
}

/* $header */
.header{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}

.scroll{
    position: fixed;
    top: 0;
	left: 0;
    width: 100%;
    background-color: #76DAF1;
  }

.scroll a{
    color: #040615;
  }

.nav {
    display: flex;
    justify-content: center;
}
.hidden_l_logo{
    display: none;
}

@media (max-width: 960px){
	.navbar--collapse{
		margin-right: 0px;
		margin-left: 0px;
	}
    .nav{
        display: block;
    }
    .hidden_l_logo{
        display: block;
		box-sizing: border-box;
    }
}
.navbar__logo{
	display: inline-block;
	width: 144px;
	height: 70px;
	background: url('../images/index/2049_logo_s.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 80px;
	transition: all 0.3s;
    vertical-align: bottom;
}

@media (max-width: 960px){
	.navbar__logo{
		height: 80px;
		background-color: inherit;
		background-size: 80px;
		display: block;
		margin-right: auto;
		margin-left: auto;
	}
}
.navbar__nav{
	float: right;
}
.nav__menu{
	float: left;
}
.nav__menu li{
	float: left;
}
.nav__menu .menu__item{
	display: block;
	padding: 16px;
	color: #fff;
	line-height: 32px;
	font-size: 1.125rem;
	transition: all 0.3s;
}
.nav__menu .menu__item:hover{
	color: #293d45;
}
.nav__icon-group{
	padding: 16px;
	line-height: 32px;
	float: left;
}
.nav__icon-group i{
	color: #fff;
}

/* menu-toggle */
.menu-toggle{
	position: absolute;
	top: 0;
	right: 0;
	width: 56px;
	height: 56px;
	display: inline-block;
	padding: 12px;
	padding-top: 16px;
}
@media (min-width: 961px){
	.menu-toggle{
		display: none;
	}
}
.menu-toggle span{
	display: block;
	width: 100%;
	height: 2px;
	background-color: #dcb677;
	margin-bottom: 8px;
}

/* menu-toggle */
.menu-toggle{
	position: absolute;
	top: 0;
	right: 0;
	width: 56px;
	height: 56px;
	display: inline-block;
	padding: 12px;
	padding-top: 16px;
}
@media (min-width: 961px){
	.menu-toggle{
		display: none;
	}
}
.menu-toggle span{
	display: block;
	width: 100%;
	height: 2px;
	background-color: #fff;
	margin-bottom: 8px;
}

/* popup-nav */
@media (max-width: 960px){
	.popup-nav{
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: #1c1c1c;
		opacity: 0;
		visibility: hidden;
		transition: all 0.3s;
	}
	#overlay:target{
		opacity: 1;
		visibility: visible;
	}
	.popup-nav .nav__menu{
		float: none;
		padding-top: 56px;
	}
	.popup-nav .nav__menu li{
		float: none;
	}
	.popup-nav .menu__item{
		text-align: center;
		padding: 16px;
	}
	.popup-nav .nav__icon-group{
		float: none;
		text-align: center;
		padding: 16px;
	}
	/* popup-close */
	.popup-close{
		position: absolute;
		top: 0;
		right: 0;
		width: 56px;
		height: 56px;
		display: inline-block;
		padding: 12px;
		padding-top: 16px;
	}
	.popup-close span{
		height: 3px;
		width: 32px;
		background-color: #fff;
		position: absolute;
		top: 50%;
	}
	.popup-close span:nth-child(1){
		transform: translateY(-50%) rotate(45deg);
	}
	.popup-close span:nth-child(2){
		transform: translateY(-50%) rotate(-45deg);
	}
}

.icon_btn{
    padding: 10px;
}

/* $Main 
-------------------*/
.main{
	background-color: rgba(0, 0, 0,.7);
	width: 90%;
	margin: auto;
}
@media screen and (max-width: 575px) {
	.main{
		width: 100%;
	}
}
/* $banner */
.main-banner{
    width: 100%;
    height: 100vh;
    background-image:
	url("../images/03/完.svg"),
	url("../images/03/美.svg"),
	url("../images/03/預.svg"),
	url("../images/03/測.svg"),
	url("../images/03/03_bg_main.jpg")
	;
    background-position:
	10% 15%,
	90% 15%,
	10% 90%,
	90% 90%,
	top;
    background-size: 10%,10%,10%,10%,100%;
	background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
	justify-content: space-between;
}
@media screen and (max-width: 575px) {
    .main-banner{
		justify-content: center;
	}
}
.main-banner .subtitle img{
	margin-top: 20%;
    padding: 0 30px;
    width: 70%;
}
.main-banner h1 img{
    width: 80%;
}
.time{
    color: #fff;
    text-align: center;
    font-weight: 500;
    text-shadow: 0px 0px 8px #101a21;
    margin-bottom: 50px;
}
.time p{
    font-size: 2rem;
}
.time span{
    font-size: 3.25rem;
}
@media screen and (max-width: 575px) {
    .time{
        padding: 20px;
    }
    .time p{
        font-size: 1.25rem;
    }
    .time span{
        font-size: 1.75rem;
    }
}

/* $story */
.main-story{
	background-image: url("../images/03/03_09.png");
	background-repeat: no-repeat;
	background-size: 12%;
	background-position: 10% bottom;
}
.main-story .text{
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.75;
}

@media (max-width: 575px){
	.main-story .text{
		font-size: 1.25rem;
	}
	
}

/* $people */
.main-people{
	background-image: 
	url("../images/03/03_04.png"),
	url("../images/03/03_05.png"),
	url("../images/03/03_08.png");
	background-repeat: no-repeat;
	background-position: 
	right 50%,
	bottom left,
	95% 55%;
}
.main-item{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 80px 0px;
}
.main-item > :first-child{
    margin: -10%;
}
.main-item .pic{
    width: 65%;
}
.main-item .text{
    width: 45%;
    background-color: #B6F6FE;
    padding: 50px 30px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}
.main-item .pic img{
    width: 100%;
    vertical-align: middle;
}
.main-item .name-title{
    font-size: 1.125rem;
    color:  #040615;
	margin: 20px 0px 5px 0px;
}
.main-item h3{
	display: inline;
    font-size: 2.5rem;
    color: #040615;
    padding-bottom: 8px;
	border-bottom: 1px solid #535353;
}
.main-item span{
    color: #337c9f;
    font-size: 1.5rem;
	margin-left: 20px;
	display: inline-block;
}
.main-item p{
    font-size: 1.125rem;
    color: #535353;
    padding-bottom: 15px;
}

@media screen and (max-width: 575px) {
	.main-item{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 20px 0px;
	}
	.woman{
		display: flex;
		flex-direction: column-reverse;
	}
	.main-item > :first-child{
		margin: 0;
	}
	.main-item .pic{
		width: 90%;
	}
	.main-item .text{
		width: 90%;
		padding: 20px 30px;
	}
	.main-item .pic img{
		width: 100%;
	}
}

@media screen and (min-width: 576px) and (max-width: 991px) {
	.main-item{
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 50px 0px;
	}
	.main-item > :first-child{
		margin: 0%;
	}
	.main-item .pic{
		width: 55%;
	}
	.main-item .text{
		width: 45%;
		padding: 40px 30px;
	}
	.main-item .pic img{
		width: 100%;
	}
	.main-item .name-title{
		font-size: 18px;
		margin: 20px 0px 5px 0px;
	}
}


/* $plot */
.plot{
    display: flex;
}
.plot .pic img{
    width: 100%;
}
.plot .text{
    width: 100%;
    padding: 50px;
	color: #fff;
}
@media screen and (max-width: 575px) {
	.plot{
		display: flex;
		flex-direction: column;
	}
}
/* $photos */
.main-photos{
	background-image: 
	url("../images/03/03_bg.png"),
	url("../images/03/03_07.png"),
	url("../images/03/03_06.png");
	background-repeat: no-repeat;
	background-size: 
	cover,
	30%,
	20%;
	background-position:
	0, 
	left 50%,
	right 0;
}
.main-photos .gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.main .main-photos .gallery_item .image img{
    width: 300px;
    padding: 8px;
}

/* $footer */
.copyright{
    text-align: center;
    background-color: #76DAF1;
    padding: 20px;
    color: #040615;
    font-weight: 100;
}

/* $back-to-top */
.back-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    outline: none;
    cursor: pointer; /* 滑鼠移到按钮上顯示手 */
    padding: 10px 15px 15px 15px;
    background-color: #76DAF1;
    color: #386087;
    border: 1px solid #386087;
    transition: .5s;
    border-radius: 50%;
  }
  
  .back-to-top:hover {
    background-color: #386087;
    color: #d9ffff;
    border: 1px solid #d9ffff;
  }
