﻿@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-color: #8AADD2;
}

*{
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: 'Noto Sans TC', sans-serif;
    box-sizing: border-box;
    text-decoration: none;
    background-repeat: no-repeat;
}
.container{
    max-width: 1200px;
    margin: auto;
}
.main-padding{
    margin: 0px 50px;
    padding: 120px;
}
.title{
    margin: 50px;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
}

@media screen and (max-width: 575px) {
	.main-padding{
		margin: 0px;
		padding: 30px;
	}
    .title{
		padding-bottom: 0px;
	}
	.title img{
		margin: 10px;
		vertical-align: middle;
		display: flex;
		justify-content: center;
		width: 55%;
	}
}

@media screen and (min-width: 576px) and (max-width: 991px) {
    .main-padding{
		padding-top: 50px;
        padding-left: 0;
        padding-right: 0;
	}
    .title{
		padding-bottom: 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: #8AADD2;
  }

.scroll a{
    color: #fff;
  }

.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;
    }
}
.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: 18px;
	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: #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-image: url("../images/02/02_line.png");
    background-repeat: no-repeat;
}
/* $banner */
.main-banner{
    width: 100%;
    height: 100vh;
    background-image: url("../images/02/02_bg_main.jpg");
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    text-align: center;
}
.main-banner .logo{
    margin: 5px 0px;
    width: 80%;
}
.main-banner .subtitle{
    margin-bottom: 20px;
    padding: 0 30px;
    width: 60%;
}
.main-banner h1 img{
    width: 80%;
}
.time{
    color: #fff;
    text-align: center;
    font-weight: 500;
    text-shadow: 0px 0px 15px #282828;
    margin-bottom: 50px;
}
.time p{
    font-size: 1.75rem;
}
.time span{
    font-size: 3rem;
}
@media screen and (max-width: 575px) {
    .time{
        padding: 20px;
    }
    .time p{
        font-size: 1.25rem;
    }
    .time span{
        font-size: 2.125rem;
    }
}


/* $story */
.main-story{
    background-image: url("../images/02/02_4.png");
    background-position: right 40%;
    background-size: 18%;
}
.main-story .text{
    color: #fff;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.7;
}
@media screen and (max-width: 575px) 
{
    .main-banner .logo{
    margin: 5px 0px;
    width: 100%;
}
	.main-story .text{
		text-align: center;
		font-size: 1.25rem;
		font-weight: 300;
		line-height: 1.7;
	}
	.main-banner .subtitle{
    margin-bottom: 0px;
    padding: 0 30px;
    width: 90%;
}
}

/* $people */
.main-people{
	background-image: 
	url("../images/02/02_9.png"),
	url("../images/02/02_6.png"),
	url("../images/02/02_point.png"),
	url("../images/02/02_7.png"),
	url("../images/02/02_08.png"),
	url("../images/02/02.png");
	background-position:
	right 5%,
	left 10%,
	right 50%,
	right 50%,
	left bottom,
	right 90%;
}
.main-item{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 80px 0px;
}
.main-item > :first-child{
    margin: -10%;
}
.main-item .pic{
    width: 55%;
}
.main-item .text{
    width: 55%;
    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;
    padding: 10px 0;
    text-align: center;
    color: #535353;
    border-bottom: 1px solid #535353;
    border-top: 1px solid #535353;
}
.main-item h3{
    font-size: 2.5rem;
    color: #386087;
    padding-bottom: 10px;
    text-align: center;
}
.main-item span{
    color: #fff;
    background-color: #386087;
    font-size: 1.125rem;
    padding: 5px;
    text-align: center;
    display: block;
}
.main-item p{
    font-size: 1.125rem;
    color: #386087;
    padding: 15px;
}
@media screen and (max-width: 575px) {
	.main-item{
		display: flex;
		flex-direction: column;
		padding: 20px 0px;
	}
	.woman{
		display: flex;
		flex-direction: column-reverse;
	}
	.main-item > :first-child{
		margin: 0%;
	}
	.main-item .pic{
		width: 100%;
	}
	.main-item .text{
		width: 100%;
		padding: 20px 30px;
	}
}

/* $polt */
.plot{
    display: flex;
}
.plot .pic img{
    width: 100%;
}
.plot .text{
    width: 100%;
    padding: 50px;
}
@media screen and (max-width: 575px) {
	.plot{
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
}


/* $photos */
.main-photos{
	background-image: 
	url("../images/02/02_point.png"),
	url("../images/02/02_5.png"),
	url("../images/02/02_2.png");
	background-position: 
	left bottom,
	5% 50%,
	right 80%;
}
.main-photos .gallery{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.main .main-photos .gallery_item .image img{
    width: 300px;
    padding: 8px;
}
@media screen and (max-width: 575px) {
	.main-story .text{
		text-align: center;
		font-size: 1.25rem;
		font-weight: 300;
		line-height: 1.65;
	}
    .main-photos{
        background-position:
        85% 6%,
        5% 60%;
        background-size: 
        15%,
        40%;
    }
}

/* $footer */
.copyright{
    text-align: center;
    background-color: #386087;
    padding: 20px;
    color: #fff;
    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: #d9ffff;
    color: #869EAD;
    border: 1px solid #386087;
    transition: .5s;
    border-radius: 50%;
  }
  
  .back-to-top:hover {
    background-color: #386087;
    color: #d9ffff;
    border: 1px solid #d9ffff;
  }
