@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Whisper&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@700&display=swap');

*{
    font-family: 'Noto Sans TC', sans-serif;
}
body{
    background: linear-gradient(#F4B2CD 5%, #FFFBED, #FFFBED, #FDE492, #FDE492, #FFFBED, #FFFBED, #FFFBED);
}
html{
    scroll-behavior: smooth;
}
.container{
    max-width: 1200px;
    margin: 0 auto;
}
main{
    margin-top: 200px;
}
/* $header */
.bg{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
}
.bg img{
    width: 200%;
}
.header{
    position: relative;
    display: flex;
    align-items: center;
    top: 80px;   
    margin: 0 40px; 
}
.logo{
    width: 50%;
}
.banner{
    width: 50%;
}
.date,.ttv{
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
    border-radius: 20px;
}
.time{
    text-shadow: 0px 0px 15px rgba(19, 48, 87, 0.8);
    margin: 80px 0 64px 0;
}
.date{ font-size: 2.125rem; }
.date span{ 
    font-size: 4rem; 
    font-family: 'Comfortaa', cursive;
    color: #ffee00;
} 
.ttv{ font-size: 1.75rem;}

.nav a{
    color: #fff;
    text-decoration: none;
}
.nav,.nav ul{
    display: flex;
    align-items: center;
}
.nav ul li{
    font-size: 1.5rem;
    padding: 20px;
    letter-spacing: 3px;
}
.nav{
    justify-content: center;
    align-items: center;
}
.icon{
    width: 36px;
    height: 36px;
}
.copyright{
    position: relative;
    top: 120px;
    text-align: center;
}
.mo_d_b{
    display: block;
}
.pc_d_n{
    display: none;
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .pad_d_n{
        display: none;
    }
    .pad_d_b{
        display: block;
    }
    .bg{
        width: 180%;
    }
    .date,.ttv{ font-size: 1.25rem;}
    .date span{ font-size: 2.75rem;} 
    .nav ul li{
        font-size: 1.125rem;
        padding: 10px;
    }
}
@media screen and (max-width: 575px){
    .mo_d_n{
        display: none;
    }
    .mo_d_b{
        display: block;
    }
    .header{
        flex-direction: column-reverse;
        top: 40px;
    }
    .logo{
        width: 90%;
        margin-top: 40px;
    }
    .banner{
        width: 70%;
    }
    .time{
        margin: 30px 0 20px 0;
    }
    .date,.ttv{ font-size: 1.5rem;}
    .date span{ font-size: 3rem;} 
    .nav ul li{
        font-size: 1.25rem;
        padding: 10px;
        letter-spacing: 2px;
    }
    .icon{
        width: 32px;
        height: 32px;
    }
}

/* $story */
.story_all{
    margin: 400px 0 200px 0;
}
.story_all h2{
    text-align: center; 
}
.story_all p{
    color: #593954;
    font-size: 1.5rem;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: justify;
    margin-top: 80px;
    padding: 0 10%;
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .story_all{
        margin: 350px 0 120px 0;
    }
    .story_all h2{
        width: 400px;
        margin: 0 auto;
    }
    .story_all p{
        font-size: 1.25rem;
    }
}
@media screen and (max-width: 575px){
    .story_all{
        margin: 280px 0 120px 0;
    }
    .story_all h2{
        width: 300px;
        margin: 0 auto;
    }
    .story_all p{
        font-size: 1.25rem;
        margin-top: 40px;
    }
}

/* $people */
.people_all{
    position: relative;
    display: flex;
    align-items: center;
}
.people_all .title{
    position: relative;
    display: flex;
    align-items: center;
    width: 40%;
    margin-top: -15%;
}
.people_all .title h2{
    position: absolute;
    z-index: 5;
    margin-left: 45%;
}
.people_all .turntable{
    position: relative;
    left: -50%;
    animation: turntable_rotate 20s linear infinite;
}
@keyframes turntable_rotate {
    0%{ transform: rotate(0deg);}
    100%{ transform: rotate(360deg);}
}
.people{
    display: flex;
    margin: 80px 0;
    position: relative;
}
.people_circle,.people_point{
    position: absolute;
    z-index: -1;
}
.people .people_circle{
    animation: turntable_rotate 5s linear infinite;
}
.people:nth-of-type(1) .people_circle{    
    top: 5%;
    right: 10%;
}
.people:nth-of-type(2) .people_circle{    
    top: -10%;
    left: -15%;    
}
.people:nth-of-type(3) .people_circle{    
    top: 25%;
    right: 8%;
}
.people:nth-of-type(4) .people_circle{    
    top: 5%;
}
.people:nth-of-type(5) .people_circle{    
    top: 30%;
    right: 15%;
}
.people .people_point{
    animation: bg_opacity 1s linear infinite alternate;
}
.people:nth-of-type(1) .people_point,.people:nth-of-type(3) .people_point{    
    top: 5%;
    left: -7%;
}
.people:nth-of-type(odd) .people_point{    
    animation-delay: -1s;
}
.people:nth-of-type(2) .people_point{    
    top: 50%;
    right: 10%;
}
.people:nth-of-type(4) .people_point{    
    top: 50%;
    right: 15%;
}
.people:nth-of-type(5) .people_point{    
    top: 10%;
    left: -17%;
}
@keyframes bg_opacity {
    0%{ opacity: 0.2;}
    100%{ opacity: 0.8;}
}
.people .pic{
    width: 30%;
    text-align: right;
    padding: 0 5%;
}
.people img{
    transition: 0.5s;
}
.people .pic img:hover{
    transform: rotate(5deg);
}
.people .text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
}
.people:nth-of-type(1),.people:nth-of-type(4){
    margin-left: -50%;
}
.people:nth-of-type(5){
    margin-left: -50%;
}
.people:nth-of-type(5) .pic{
    width: 40%;
}
.people:nth-of-type(5) .text{
    width: 40%;
}
.people_info_all{    
    width: 60%;
}
.name h4{
    font-size: 2.25rem;
    letter-spacing: 3px;
    font-weight: 700;
    margin-bottom: 40px;
}
[class^="name_en"]{
    font-size: 2.5rem;
    font-family: 'Whisper', cursive;
    margin-bottom: 8px;
}
.name_1{color: #D0424D;}
.name_2{color: #F18B1E;}
.name_3{color: #005197;}
.name_4{color: #7C328F;}
.name_5{color: #086279;}

.name_en_1{color: #F5BAC5;}
.name_en_2{color: #FBD39C;}
.name_en_3{color: #B0D1E9;}
.name_en_4{color: #C6BBC9;}
.name_en_5{color: #93C3CF;}

.intro{
    font-size: 1.25rem;
    line-height: 1.8;
    color: #5f5e5e;
    text-align: justify;
    font-weight: 400;
    position: relative;
    z-index: -1;
}
@media screen and (min-width: 576px) and (max-width: 991px) {    
    .people_all .title{
        width: 65%;
        margin-top: 10%;
    }
    .people_all .title h2{
        margin-left: 0%;
    }
    .people_all{
        flex-direction: column;
    }
    .people{
        margin-top: 20%;
    }
    .people .pic,.people:nth-of-type(5) .pic{
        width: 50%;
    }
    .people .text,.people:nth-of-type(5) .text{
        width: 40%;
    }
    .people .pic img:hover{
        transform: rotate(0deg);
    }
    .people:nth-of-type(1),.people:nth-of-type(4),.people:nth-of-type(5){
        margin-left: 0%;
    }
    .people_info_all{    
        width: 100%;
    }
    .name h4{
        font-size: 2rem;
    }
    [class^="name_en"]{
        font-size: 2.125rem;
    }
    .intro{
        font-size: 1.125rem;
    }
    .people .people_circle{
        animation-duration: 15s;
    }
    .people{
        overflow: hidden;
    }
    .people:nth-of-type(1) .people_circle{    
        top: 20%;
        right: -15%;
    }
    .people:nth-of-type(2) .people_circle{    
        top: 0%;
        left: -20%;    
    }
    .people:nth-of-type(3) .people_circle{    
        top: 28%;
        right: -30%;
    }
    .people:nth-of-type(4) .people_circle{    
        top: 5%;
        left: -10%;
    }
    .people:nth-of-type(5) .people_circle{    
        top: 30%;
        right: 15%;
    }
    .people:nth-of-type(1) .people_point{    
        left: -20%;
    }
    .people:nth-of-type(2) .people_point{    
        top: 45%;
        right: -10%;
    }
    .people:nth-of-type(3) .people_point{  
        left: -15%;
    }    
    .people:nth-of-type(4) .people_point{    
        top: 60%;
        right: -15%;
    }
    .people:nth-of-type(5) .people_point{    
        top: 10%;
        left: -17%;
    }
    .people:nth-of-type(5){
        margin-left: 15%;
    }
}
@media screen and (max-width: 575px){
    .people_all .title{
        width: 75%;
        margin-top: 5%;
    }
    .people_all .title h2{
        margin-left: 0%;
    }
    .people_all,.people{
        flex-direction: column;
    }
    .people{
        align-items: center;
    }
    .people .pic,.people:nth-of-type(5) .pic{
        width: 100%;
    }
    .people .text,.people:nth-of-type(5) .text{
        width: 80%;
    }
    .people .pic img:hover{
        transform: rotate(0deg);
    }
    .people:nth-of-type(1),.people:nth-of-type(4),.people:nth-of-type(5){
        margin-left: 0%;
    }
    .people_info_all{    
        width: 100%;
    }
    .people .pic{
        margin-bottom: 40px;
        text-align: center;
    }
    .name h4{
        font-size: 1.75rem;
        letter-spacing: 3px;
    }
    [class^="name_en"]{
        font-size: 2rem;
    }
    .intro{
        font-size: 1.125rem;
    }
    .people .people_circle{
        animation-duration: 15s;
    }
    .people{
        overflow: hidden;
    }
    .people:nth-of-type(1) .people_circle{    
        top: 20%;
        right: -30%;
    }
    .people:nth-of-type(2) .people_circle{    
        top: 0%;
        left: -20%;    
    }
    .people:nth-of-type(3) .people_circle{    
        top: 28%;
        right: -30%;
    }
    .people:nth-of-type(4) .people_circle{    
        top: 5%;
        left: -10%;
    }
    .people:nth-of-type(5) .people_circle{    
        top: 30%;
        right: 15%;
    }
    .people:nth-of-type(1) .people_point{    
        left: -20%;
    }
    .people:nth-of-type(2) .people_point{    
        top: 40%;
        right: -20%;
    }
    .people:nth-of-type(3) .people_point{  
        left: -10%;
    }    
    .people:nth-of-type(4) .people_point{    
        top: 60%;
        right: -15%;
    }
    .people:nth-of-type(5) .people_point{    
        top: 10%;
        left: -17%;
    }
    .people:nth-of-type(5){
        flex-direction: column-reverse;
    }
}

/* .photo */
.photo_all{
    background: url('../images/stave.png') no-repeat center;
}
.photo_group2{
    display: flex;
}
.photo_group2 div:nth-child(1){
    margin-top: -15%;
}
.photo_group3{
    text-align: center;
}
@media screen and (min-width: 576px) and (max-width: 991px) {

}
@media screen and (max-width: 575px){
    .people_all,.photo_group2{
        flex-direction: column;
    }
}

/* $footer */
.footer{
    background: linear-gradient(#FFFBED, #ffedb1);
}
.footer p{
    text-align: center;
    font-size: 1.125rem;
    letter-spacing: 1px;
    color: #A54A96;
    padding: 32px 0;
    margin: 0 20px;
}

@media screen and (max-width: 575px){
    .footer p{
        font-size: 1rem;
        line-height: 1.8;
    }
}