*{
    padding:0px;
    margin:0px;
    box-sizing: border-box; 
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'Arial', 'Helvetica', 'sans-serif', 'Font Awesome 6 Free';
}
body{
    background-color: #faf0f0;
    width: 100%;
    height: 100%;
}
.main{
    position: absolute;
    top: 70px;
}
h1{
    color: #fff;
    font-size: 30px;
}
h2{
    color: #fff;
    line-height: 70px;
    font-weight: 500;
}
h3{
    color: #6f494a;
    font-size: 20px;
    margin: 15px 0px;
}
p{
    color: #6f494a;
    font-size: 18px;
}
a{
    text-decoration: none;
    color: #ae9294;
    display: block;
}
li{
    list-style-type: none;
}
input{
    outline: none;
    border: none;
    background-color: transparent;
}


/*============side-menu===========*/
.headline{
    display: flex;
    background-color: #ff99a2;
    width: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 10;
}
.menu-switch{
    width: 90px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.line{
    display: block;
    width: 20px;
    height: 2px;
    background-color: #6f494a;
    border-radius: 3px;
}
.line::before{
    content:"";
    width: 20px;
    height: 2px;
    border-radius:3px;
    background-color: #6f494a;
    position: absolute;
    margin-top: -6px;
}
.line::after{
    content:"";
    width: 20px;
    height: 2px;
    border-radius:3px;
    background-color: #6f494a;
    position: absolute;
    margin-top: 6px;
}
.off{
    background-color: transparent;
}
.off::before{
    transform: rotate(45deg);
    transition: all .3s;
    margin-top: 0px;
}
.off::after{
    transform: rotate(-45deg);
    margin-top: 0px;
    transition: all .3s;
}
.head-title{
    flex: none;
    width: 85%;
    text-align: center;
    flex-grow: 1;
}
.side-menu{
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 100;
    background-color: rgba(174, 146, 148, .3);
    transition: all 2s;
}
.side-menu .content{
    flex: none;
    max-width: 300px;
    height: 100%;
    background-color: #fff;
    padding: 30px 30px  100px;
    overflow-y: auto; 
}
.nav-logo img{
    max-width: 120px;
    margin: 20px 0px;
}
.list-title{
    display: flex;
    align-items: center;
    color: #ae9294;
    font-size: 20px;
    padding: 10px;
    margin: 5px 0;
}
.list-title a{
    flex-grow: 2;
}
.fa-chevron-down{
    font-size: 16px;
    padding: 0 10px;
}
.list-content{
    display: none;
    padding-left: 20px;
}
.list-content a{
    padding: 10px 20px;
    margin: 5px 0px;
    font-size: 18px;
}
.login-info{
    margin-top: 50px;
    border-top: 1px solid #ae9294;
    padding-top: 10px;
}
.login-info p,
.logout-btn{
    color: #ae9294;
    padding: 10px;
}
.logout-btn .logout{
    color: #ae9294; 
    font-size: 20px;
    font-weight: 400;
}
.front::before{
    content: url(../image/front-icon-s.png);
    margin-right: 10px;
}
.back::before{
    content: url(../image/back-icon-s.png);
    margin-right: 10px;
}
.login-info p::before{
    content: '\f2bd';
    font-weight: 900;
    font-size: 18px;
    margin-right: 10px;
}
.logout-btn::before{
    content: '\f011';
    font-weight: 900;
    font-size: 18px;
    margin-right: 6px;
}
.list-title:hover,
.list-content a:hover,
.logout-btn:hover{
    color: #fff;
    background-color: #ff99a2;
    border-radius: 6px; 
}
.list-title:hover::before{
    filter: brightness(100);
} 
.list-title:hover a,
.logout-btn:hover .logout{
    color: #fff;
}
.active{
    color: #fff;
    background-color: #ff99a2;
    border-radius: 6px;    
}
.active a{
    color: #fff;
}
.active::before{
    filter: brightness(100);
} 







@media screen and (min-width: 1024px) {
    .main{
        padding: 10px 50px 0px 350px;
    }
    .headline{
        position: static;
        padding: 10px 0px 0px 350px;
    }
    .menu-switch{
        display: none;
    }
    .side-menu{
        display: block;
        top: 0;
        max-width: 300px;
        background: none;
    }
    .front-list, .back-list{
        display: block;
        font-size: 18px;
    }
    .item-content{
        padding: 30px;
    }
}