@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@600&family=Noto+Sans+TC:wght@300;400;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;    
    font-family: 'Noto Sans TC', sans-serif;
    /* border: 1px solid #000; */
}
body,html{
    height: 100%;
    background-color: #EDEBE6;
}
/* $common */
.container{
    max-width: 1440px;
    margin: 0 auto;
}
.img-fluid{
    max-width: 100%;
    height: auto;
}
a{
    text-decoration: none;
}
h3{
    font-size: 2.75rem;
    color: #106F6F;
    letter-spacing: 1rem;
    font-weight: 300;
}
.tac{
    text-align: center;
}
.pc_d_n{
    display: none;
}
@media (min-width:1200px) and (max-width:1599px) {
    h3{
        font-size: 2.25rem;
    }
}
@media screen and (min-width: 576px) and (max-width: 1199px) {
    h3{
        font-size: 1.5rem;
        letter-spacing: 0.25rem;
    }
}
@media screen and (max-width: 575px){
    h2{
        margin: 0 24px;
    }
    h3{
        font-size: 2rem;
    }
    .mo_d_n{display: none;}
    .mo_d_b{display: block;}
}
/* $header */
.header{
    background-image: url("../images/main.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
.header_bg{
    width: 100%;
    height: 100vh;
    position: absolute;
    z-index: -1;
}
.leaf_all{ position: relative;}
.leaf{ position: absolute;}
.leaf_1{ top: -140px;left: -140px;}
.leaf_2{ top:500px;left: -80px;}
.leaf_3{ top: -120px;left: 30%;}
.leaf_4{ top: -220px;right: 20%;}
.leaf_5{ top: -120px;right: -5%;}
.leaf_6{ top: 700px;right: -2%;}

/* leaf animation */
.leaf_1,.leaf_4,.leaf_7,.leaf_5{
    animation: leaf_1_rotate 4s ease-in-out infinite alternate;}
.leaf_2,.leaf_3,.leaf_6,.leaf_8{ 
    animation: leaf_2_rotate 4s ease-in-out infinite alternate;}
@keyframes leaf_1_rotate {
    0%{ transform: rotate(0deg);}
    100%{ transform: rotate(10deg);}
}
@keyframes leaf_2_rotate {
    0%{ transform: rotate(10deg);}
    100%{ transform: rotate(0deg);}
}
.text_all{
    position: relative;
    top: 130px;
}
.time{
    color: #FF887D;
    font-size: 2.25rem;
    letter-spacing: 2px;
}
.time span{
    font-size: 4rem;
    margin: 0 8px;
    font-family: 'Comfortaa', cursive;
}
.ttv{
    color: #FF887D;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    padding-left: 6%;
}
.icon_group{
    margin-top: 20px;
}
.icon{
    width: 40px;
    height: 40px;
    margin: 0 16px;
}
@media (min-width:1200px) and (max-width:1599px) {
    .leaf_1{ top: -140px;left: -140px;
    width: 20%;}
    .leaf_2{ top: 550px;left: -80px;}
    .leaf_3{ top: -70px;left: 30%;
    width: 20%;}
    .leaf_4{ top: -220px;right: 20%;}
    .leaf_5{ top: -120px;right: -5%;
    width: 20%;}

    .header{        
        height: 88vh;
    }
    .text_all{
        top: 90px;
        margin: 0 80px;
    }
    .time{
        font-size: 2rem;
    }
    .time span{
        font-size: 3.5rem;
    }
    .ttv{
        font-size: 1.5rem;
    }
    .logo img{
        width: 40%;
    }
    .icon{
        width: 40px;
        height: 40px;
    }
}
@media screen and (min-width: 576px) and (max-width: 1199px) {
    .header{        
        height: 70vh;
    }
    .leaf_1{ top: -100px;left: -70px;
        width: 20%;}
    .leaf_2{ top: 380px;left: -80px;}
    .leaf_3{ top: -70px;left: 30%;
        width: 20%;}
    .leaf_4{ top: -160px;right: 20%;
    width: 20%;}
    .leaf_5{ top: -120px;right: -5%;
        width: 20%;}
        
    .text_all{
        top: 56px;
        margin: 0 40px;
    }
    .time{
        font-size: 1.5rem;
    }
    .time span{
        font-size: 2.75rem;
    }
    .ttv{
        font-size: 1.25rem;
    }
    .logo img{
        width: 40%;
    }
    .icon{
        width: 32px;
        height: 32px;
    }
}

@media screen and (max-width: 575px){
    .header{
        background-image: url("../images/main_mo.jpg");
        height: 89vh;
    }
    .text_all{
        top: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .logo{
        margin: 0 36px;
    }
    .time{
        font-size: 1.5rem;
    }
    .time span{
        font-size: 3rem;
    }
    .ttv{
        font-size: 1.25rem;
    }
    .icon{
        width: 32px;
        height: 32px;
        margin: 0 12px;
    }
}

/* $introduction */
.introduction{
    position: relative;
    background-image: url("../images/second.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 200vh;
}
.intro{
    padding-top: 5%;
}
.intro_bg{
    position: absolute;
    top: 0;
    z-index: -5;
    width: 100%;
    height: 200vh;
}
.intro_bg img{
    width: 100%;
}
.comimgsoon{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8%;
}
.musical_note{
    margin: 0 32px;
    position: relative;
}
.music_p{
    opacity: 0;
}
.note{
    position: absolute;
}
.musical_note .note_1{left: 0px;bottom: 100px;}
.musical_note .note_2{left: 75px;bottom: 320px;}
.musical_note .note_3{left: 130px;bottom: 180px;}
.musical_note .note_4{left: 300px;bottom: 300px;}
.musical_note .note_5{left: 370px;bottom: 40px;}
.musical_note .note_6{left: 580px;bottom: 98px;}
.musical_note .note_7{left: 640px;bottom: 0;}
.musical_note .note_line{left: 150px;;bottom: 20px;}

/* note animation */
.note_1,.note_3,.note_4,.note_6{
    animation: note_1_ani 0.8s ease-in-out infinite alternate;
}
.note_2,.note_5,.note_7{
    animation: note_2_ani 0.8s ease-in-out infinite alternate;
}
@keyframes note_1_ani {
    0%{ transform: rotate(0deg);}
    100%{ transform: rotate(15deg);}
}
@keyframes note_2_ani {
    0%{ transform: rotate(0deg);}
    100%{ transform: rotate(-10deg);}
}

.intro_text{
    font-size: 2rem;
    color: #3E3C3C;
    margin: 80px 0;
    line-height: 1.8;
}
.people_name{
    display: flex;
    justify-content: flex-end;
    margin-top: 6%;
    position: relative;
    padding-right: 17%;
}
.name{
    writing-mode: vertical-lr; 
    font-size: 1.75rem;
    letter-spacing: 5px;
    color: #3E3C3C;
    animation: name_move 1s ease-in-out infinite alternate;
}
.name_1,.name_2,.name_3,.name_4,.name_5,.name_6{
    position: absolute;
}
.name_1{ animation-delay: -3.5s; right: 75%;}
.name_2{ animation-delay: -3s; right: 66%;}
.name_3{ animation-delay: -2.5s; right: 54%;}
.name_4{ animation-delay: -2s; right: 46%;}
.name_5{ animation-delay: -1.5s; right: 38%;}
.name_6{ animation-delay: -1s; right: 28%;}
.name_7{ animation-delay: -0.5s;}

@keyframes name_move {
    0%{ transform: translateY(0px);}
    100%{ transform: translateY(15px);}
}

@media (min-width:1200px) and (max-width:1599px) {
    .introduction{
        height: 170vh;
    }
    .intro_text{
        margin: 60px 0;
        font-size: 1.75rem;
    }
    .comimgsoon{
        margin-top: 0;
    }
    .people_name{
        margin-top: 8%;
    }
    .name{
        font-size: 1.5rem;
    }
    .musical_note{
        transform: translateX(20%);
    }
    .musical_note .note_1{
        left: 0px;bottom: 70px;
        width: 6%;
    }
    .musical_note .note_2{
        left: 55px;bottom: 235px;
        width: 9%;
    }
    .musical_note .note_3{
        left: 90px;bottom: 135px;
        width: 5%;
    }
    .musical_note .note_4{
        left: 210px;bottom: 220px;
        width: 5%;
    }
    .musical_note .note_5{
        left: 260px;bottom: 35px;
        width: 7%;
    }
    .musical_note .note_6{
        left:400px;bottom: 75px;
        width: 6%;
    }
    .musical_note .note_7{
        left: 450px;bottom: 5px;
        width: 6%;
    }
    .musical_note .note_line{
        left: 105px;;bottom: 20px;
        width: 40%;
    }
    .music_p{
        width: 70%;
    }
}

@media screen and (min-width: 576px) and (max-width: 1199px) {
    .pad_d_n{
        display: none;
    }
    .introduction{
        height: 120vh;
    }
    .intro h2{
        width: 40%;
        margin: 0 auto;
    }
    .intro_text{
        margin: 40px 0;
        font-size: 1.5rem;
    }
    .comimgsoon{
        position: relative;
        top: 50px;
        margin: 0px 80px;
    }
    .people_name{
        margin-top: 13%;
    }
    .name{
        font-size: 1.25rem;
    }
    .musical_note{
        width: 60%;
        transform: translateX(20%);
        margin: 0;
    }
    .musical_note .note_1{
        left: 0px;bottom: 30px;
        width: 4%;
    }
    .musical_note .note_2{
        left: 45px;bottom: 130px;
        width: 6%;
    }
    .musical_note .note_3{
        left: 70px;bottom: 80px;
        width: 4%;
    }
    .musical_note .note_4{
        left: 150px;bottom: 110px;
        width: 4%;
    }
    .musical_note .note_5{
        left: 160px;bottom: 35px;
        width: 6%;
    }
    .musical_note .note_6{
        left: 250px;bottom: 75px;
        width: 5%;
    }
    .musical_note .note_7{
        left: 230px;bottom: 5px;
        width: 5%;
    }
    .musical_note .note_line{
        left: 80px;;bottom: 20px;
        width: 30%;
    }
    .music_p{
        width: 40%;
    }
}

@media screen and (max-width: 575px){
    .introduction{
        background-image: url("../images/second_mo.jpg");
        height: 55vh;
    }
    .intro_bg{
        height: 100vh;
    }
    .comimgsoon{
        flex-direction: column;
    }
    .intro_text{
        font-size: 1.125rem;
        margin: 30px;
        line-height: 1.8;
    }
}

/* $photo */
.photo{
    position: relative;
    overflow: hidden;
}
.photo h2{
    margin: 80px 0 160px 0;
}
.photo_all{
    display: flex;
    margin-bottom: 80px;

}
.photo_all p{
    font-size: 1.325rem;
    line-height: 1.8;
    padding: 20px;
    color: #3E3C3C;
}
.photo_all:hover .photo_1{
    transform: perspective(500px) rotateY(15deg);
}
.photo_all:hover .photo_2{
    transform: perspective(500px) rotateX(5deg);
}
.photo_all:hover .photo_3{
    transform: perspective(500px) rotateY(-15deg);
}
.photo_1,.photo_2,.photo_3{
    width: calc(100% / 3);
    transition: 0.5s;
}
.photo_2{
    padding: 0 20px;
    position: relative;
    z-index: 5;
}
.photo_1,.photo_3{
    display: flex;
    flex-direction: column;
}
.photo_1{
    justify-content: flex-end;    
}
.photo_1 img{
    position: relative;
    z-index: 5;
}
.photo_3{    
    justify-content: space-between;
}
.photo_4{
    display: flex;
}
.photo_4 img{
    width: 50%;
}
.leaf_7{
    top: 5%;
    left: -5%;
}
.leaf_8{
    top: 30%;
    right: -5%;
    transform: rotate(-60deg);
}
@media screen and (min-width: 576px) and (max-width: 1199px) {
    .photo h2{
        width: 60%;
        margin: 0 auto 40px auto;
    }
    .photo_all p{
        font-size: 1rem;
        padding: 0 12px;
    }
    .photo_2{
        padding: 0;
    }
    .leaf_7{
        left: -15%;
        width: 30%;
    }
    .leaf_8{
        top: 25%;
        right: -5%;
        width: 20%;
        transform: rotate(-60deg);
    }
}
@media screen and (max-width: 575px){
    .photo h2{
        margin: 40px 24px;
    }
    .photo_all{
        margin-bottom: 0px;
        flex-direction: column;
    }
    .photo_1,.photo_2,.photo_3{
        width: 100%;
    }
    .photo_2{
        padding: 0;
    }
    .photo_3{    
        flex-direction: column-reverse;
    }
    .photo_all p{
        font-size: 1.125rem;
        line-height: 1.8;
        padding: 20px;
    }
    .photo_all:hover .photo_1,.photo_all:hover .photo_2,.photo_all:hover .photo_3{
        transform: perspective(0) rotateY(0deg);
    }
}


/* $video */
.video{
    padding-top: 100px;
}
.video_pic{
    display: flex;
}
.video_pic img{
    width: 50%;
}
.video h2{
    margin: 80px 0;
}
@media screen and (min-width: 576px) and (max-width: 1199px) {
    .video h2{
        width: 40%;
        margin: 0 auto;
        padding-bottom: 40px;
    }
}
@media screen and (max-width: 575px){
    .video{
        padding-top: 40px;
    } 
    .video h2{
        margin: 24px;
    }
    .video_pic{
        flex-direction: column;
    }
    .video_pic img{
        width: 100%;
    }
}

/* $footer */
footer{
    position: relative;
    margin-top: 160px;
}
.copyright{
    position: absolute;
    left: 50%;
    bottom: 32px;
    font-size: 1.25rem;
    transform: translateX(-50%);
    width: 100%;
}
.music{
    position: absolute;
    left: 50%;
    bottom: 50%;
}
.music .note_1{left: 640px;bottom: 100px;}
.music .note_2{left: 580px;bottom: 300px;}
.music .note_3{left: 500px;bottom: 60px;}
.music .note_4{left: 300px;bottom: 250px;}
.music .note_5{left: 255px;bottom: 40px;}
.music .note_6{left: 70px;bottom: 98px;}
.music .note_7{left: 0;bottom: 0;}
.music .note_line{ left: 150px;;bottom: 20px;}
.footer_bg{ width: 100%;}
.footer_bg img{ width: 100%;}
.footer_bg img{display: block;}

@media (min-width:1200px) and (max-width:1599px) {
    .music{
        left: 30%;
        bottom: 50%;
    }
    .copyright{
        bottom: 24px;
    }
}
@media screen and (min-width: 576px) and (max-width: 1199px) {
    .music{
        left: 20%;
        bottom: 50%;
    }
    .copyright{
        bottom: 12px;
        font-size: 1rem;
    }
}

@media screen and (max-width: 575px){
    footer{
        margin-top: 40px;
    }
    .copyright{
        font-size: 1rem;
        top: 30px;
    }  
}