@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&family=Courgette&display=swap');
*{
    padding: 0;
    margin: 0;
    list-style: none;
}

/* img */
.img-fluid{
    max-width: 100%;
    height: auto;
}

/* color */
.color_white{color: #fff;}
.color_pink{color: #EEA3B5;}
.color_green{color: #86CAC4;}

/* font */
.font_zh{font-family: 'Noto Serif TC', serif;}
.font_en{font-family: 'Courgette', cursive;}
.fw_300{font-weight: 300;}
.fw_500{font-weight: 500;}
.fw_600{font-weight: 600;}
.tac{text-align: center;}
.tal{text-align: left;}
.tar{text-align: right;}
.taj{text-align: justify;}
.fs_xs{font-size: 1rem;}
.fs_s{font-size: 1.125rem;}
.fs_m{font-size: 1.5rem;}
.fs_l{font-size: 1.75rem;}
.fs_xl{font-size: 3rem;}
.font_space{line-height: 1.8;letter-spacing: 2px;}

/* border */
.border_bootom{
    background:transparent;
    border-top-left-radius: 255px 15px;
    border-top-right-radius: 15px 225px;
    border-bottom-right-radius: 225px 15px;
    border-bottom-left-radius:15px 225px;
}
.border_bottom_pink{
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-bottom: solid 2px #EEA3B5;
}
.border_bottom_green{
    border-top: transparent;
    border-left: transparent;
    border-right: transparent;
    border-bottom: solid 2px #86CAC4;
}

/* margin */
.mx-l{margin: 32px 0px;}
.my-l{margin: 0 32px;}

/* padding */
.px-s{padding: 8px 0px;}
.px-m{padding: 16px 0px;}
.px-l{padding: 32px 0px;}
.py-s{padding: 0 8px;}
.py-m{padding: 0 16px;}
.py-l{padding: 0 32px;}

.d-b{display: block;}

/* other */
.center{
    margin: 0 auto;
}
.container{
    margin: 0 auto;
}
body{
    background-image: url("../images/cardboard_flat.png");
}
header{
    background-image: url("../images/bg_top.svg");
    background-repeat: no-repeat;
    background-size: 200%;
    background-position: 0 -15%;
}
ul{
    display: flex;
}
ul li{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 16px;
}
.introduction{
    overflow: hidden;
}
.flower_1{
    width: 35%;
    position: relative;
    right: -80%;
    animation: f1 5000ms ease-in-out infinite alternate;
    transform-origin: 100% 0%;
}

@keyframes f1 {
    0% { 
        transform: rotate(0deg); 
    }
    50% { 
        transform: rotate(8deg); 
    }
    100%{
        transform: rotate(0deg); 
    }
}
.flower_2{
    width: 35%;
    position: relative;
    left: -15%;
    animation: f2 5000ms ease-in-out infinite alternate;
    transform-origin: -100% 0%;
}
@keyframes f2 {
    0% { 
        transform: rotate(-5deg); 
    }
    50% { 
        transform: rotate(0deg); 
    }
    100%{
        transform: rotate(-5deg); 
    }
}
.t1{text-align: center;}
.t2{text-align: center;}
.t3{text-align: center;}
.p2{
    margin-top: -60px;
    width: 75%;
    padding-left: 10%;
}
.title{
    width: 75%;
    margin: 0 auto;
}
.in_text{
    background-image: url("../images/pink.svg");
    background-repeat: no-repeat;
    background-position: 0 100%;
}
.pic_item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.pic_group{
    background-image: url("../images/wave_line2.svg");
    background-repeat: no-repeat;
    background-position: 0% 95%;
}
.footer{
    background-image: 
     url("../images/flower_3.svg"),
     url("../images/flower_4.svg");
    background-repeat: no-repeat;
    background-position: 0%,100%;
}
.footer p {
    height: 140px;
    line-height: 1.7;
    background-color: rgb(238, 163, 181,0.8);
    position: relative;
    z-index: -5;
    padding: 0 20%;
}
.footer img{
    display: block;
    position: relative;
    z-index: -5;
}
/* $back-to-top */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 5%;
    width: 60px;
    height: 60px;
    padding: 10px 15px 15px 15px;
    border: transparent;
    text-align: center;
    padding-top: 12px;
    background-image: url("../images/green.svg");
    background-repeat: no-repeat;
    background-position: 0 -7%;
    transition: 0.5s;
}
.back-to-top:active {
    transform: scale(0.9);
}
@media screen and (min-width: 576px) and (max-width: 991px) {
    .fs_xs{font-size: 1rem;}
    .fs_s{font-size: 1.35rem;}
    .fs_m{font-size: 1.75rem;}
    .fs_l{font-size: 2.25rem;}
    .fs_xl{font-size: 2.5rem;}
    .px-l{padding: 40px 0px;}
    .container{
        margin: 0 auto;
    }
    header{
        background-size: 130%;
        background-position: 20% -5%;
    }
    ul li{
        width: 32px;
        height: 32px;
        margin: 28px;
    }
    .title{
        width:50%;
        margin: 0 auto;
    }
    .t1{
        text-align: left;
        padding-left: 50px;
        margin-bottom: 20px;
    }
    .t2{
        text-align: right;
        padding-right: 50px;
        margin-bottom: 25px;
    }
    .t3{
        text-align: center;
    }
    .p2{
        margin-top: -120px;
        width: 55%;
        padding-left: 30%;
    }
    .in_text p{
        max-width: 70%;
        margin: 0 auto;
        padding-bottom: 50px;
    }
    .in_text img{
        display: block;
        width: 70%;
        margin: 0 auto;
        padding-bottom: 20px;
    }
    .footer p {
        height: 80px;
        padding: 0 15%;
    }
    .back-to-top {
        right: 24px;
        bottom: 8%;
    }
}

@media screen and (min-width: 992px) {
    .fs_xs{font-size: 1.125rem;}
    .fs_s{font-size: 1.5rem;}
    .fs_m{font-size: 2.125rem;}
    .fs_l{font-size: 2.75rem;}
    .fs_xl{font-size: 5rem;}
    .container{
        max-width: 1400px;
    }
    header{
        background-size: 100%;
        background-position: 0 -5%;
    }
    ul li{
        width: 36px;
        height: 36px;
        margin: 28px;
    }
    .t1{
        text-align: left;
        margin-left: 150px;
        margin-bottom: 20px;
    }
    .t2{
        text-align: right;
        margin-right: 10%;
        margin-bottom: 25px;
    }
    .t3{
        text-align: left;
        margin-left: 30%;
    }
    .logo{
        display: block;
        width: 90%;
    }
    .title{
        width: 40%;
        margin: 0 auto;
    }
    .pic_item{
        flex-direction: row;
    }
    .flower_1{
        width: 25%;
        position: relative;
        right: -80%;
    }
    .flower_2{
        width: 25%;
        left: -5%;
    }
    .p1{
        width: 130%;
    }
    .p2{
        margin-left: -350px;
        margin-top: 400px;
    }
    .text_main{
        max-width: 80%;
        margin: 0 auto;
        padding: 50px 0;
    }
    .in_text{
        max-width: 50%;
    }
    .in_text img{
        width: 70%;
        margin-left: 150px;
    }
    .in_text p{
        margin-left: 150px;
    }
    .footer p {
        height: 60px;
        padding: 0 0%;
    }
    .back-to-top {
        right: 60px;
        bottom: 5%;
        cursor: pointer;
    }
}
