@import url('https://fonts.googleapis.com/css2?family=Aboreto&family=Noto+Serif+TC:wght@400;700&display=swap');

html{scroll-behavior: smooth;}
body,html{height: 100%;}

body{
    margin: 0;
    padding: 0;
    font-family: 'Aboreto','Noto Serif TC',serif;
    color: rgb(129,81,83);
    background-image: url("../background.webp");
    background-position: center;
    text-indent: 0;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
}

body.active{
    overflow: hidden;
}

h1{
    margin: 0;
    letter-spacing: 2px;
    padding: 20px 0 0 20px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    position: sticky;
    top: 0;
    left: 0;
}

h2{
    font-size: 14px;
    margin: 0 10px 0 0;
}



.ham-nav-button{
    display: block;
    width: 20px;
    position: fixed;
    top: 20px;
    right: 20px;
    transition: 0.5s;
    z-index: 4;
}

.ham-nav-button:hover{
    scale: 1.1;
}

.ham-nav-line{
    position: relative;
    width: 100%;
    margin-bottom: 8px;
    border-top: 1px solid rgb(129,81,83);
    transition: 0.5s;
    transform-origin: center;
    transform-origin: top right;
}

.ham-nav1{
    transform: rotate(-47deg);
}

.ham-nav2{
    transform: rotate(47deg) translate(5px,3px);
}

.ham-nav{
    letter-spacing: 2px;
    background-image: url('../background.webp');
    width: 100%;
    height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: fixed;
    transition: 0.5s;
    z-index: 3;
}

.ham-nav.active{
    height: 100%;
}


.ham-nav img{
    width: 100px;
    margin-bottom: 50px;
}

.ham-nav a:link, .ham-nav a:visited{
    line-height: 1;
    color: rgba(129,81,83,0.8);
    border-left: 3px solid rgba(129,81,83,0);
    text-decoration: none;
    padding: 1px 8px 0 8px;
    margin: 15px 0;
    transition: 0.5s;
}

.ham-nav a:hover, .ham-nav a:active{
    color: rgb(129,81,83,0.5);
    border-left: 3px solid rgba(129,81,83,0.2);
}

.box{
    margin: 0 10px;
    display: grid;
    grid-template-columns: 90px auto;
}

.faq-area{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 10px 120px 0px;
}

.faq{
    width: 100%;
    max-width: 800px;
}

.q{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(129,81,83,0.9) ;
    padding: 10px;
    margin-top: 60px;
    cursor: pointer;
}

.q i{
    transform: rotate(0);
    transition: 0.5s;
}

.faq.active .q i{
    transform: rotateX(180deg);
}


.faq.active .a{
    max-height: 1000px;
}

.a{
    overflow: hidden;
    max-height: 0;
    transition: 0.5s;
}

.a>p{
    padding: 20px;
}


footer{
    color: rgba(237,236,232,0.8);
    background-color: rgb(124,80,83);
    display: flex;
    flex-direction: column;
    align-items: center;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
}

footer>a{
    position: absolute;
    font-size: 10px;
    letter-spacing: 0;
    text-decoration: none;
    color: rgba(237,236,232,0.7);
    background-color: rgb(124,80,83);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: -15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.footer-content>img{
    margin: 50px 0 0 0;
    width: 150px;
    filter: brightness(300%);
    opacity: 0.8;
    pointer-events: none;
    user-select:none;    
    -webkit-user-select:none;
    -moz-user-select:none;
    -o-user-select:none;
}

.footer-url{
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.footer-url>div{
    margin: 10px 20px 0 20px;
}


.footer-url a:link, .footer-url a:visited{
    display: inline-flex;
    align-items: center;
    line-height: 1;
    color: rgba(237,236,232,0.8);
    border-left: 3px solid rgba(237,236,232,0);
    text-decoration: none;
    padding: 1px 8px 0 8px;
    transition: 0.5s;
}

.footer-url a:hover, .footer-url a:active{
    color: rgb(237,236,232,0.5);
    border-left: 3px solid rgba(237,236,232,0.2);
}

footer svg{
    width: 13px;
    height: 13px;
    padding: 0 5px 0 1px;
    fill: currentColor;
}

#ins-svg{
    width: 15px;
    height: 15px;
    padding: 0 5px 0 0;
}

footer>p{
    width: 100%;
    letter-spacing: 1px;
    padding: 5px 0;
    margin: 0;
    font-size: 10px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

@media screen and (min-width: 850px){
    .footer-content{ flex-direction: row;}
    .footer-url{ flex-direction: row; text-align: left; margin: 0;}
    .footer-content>img{ margin: 60px;}
}
