@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;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: 400;
    line-height: 2;
}

::selection{
    color: rgb(237,236,232);
    background-color: rgba(129,81,83,0.9);
}

h1{
    letter-spacing: 2px;
    text-indent: 0;
    padding-left: 30px;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
}

h1 > span{
    color: rgba(129,81,83,0.8);
    font-size: 10px;
    letter-spacing: 0;
}

.ham-nav-button{
    width: 20px;
    position: fixed;
    top: 20px;
    right: 20px;
    transition: 0.5s;
    z-index: 3;
}

.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: top right;
}

.ham-nav1{
    transform: rotate(-47deg);
    border-top: 1px solid rgb(129,81,83);
}

.ham-nav2{
    transform: rotate(47deg) translate(5px,3px);
    border-top: 1px solid rgb(129,81,83);
}

.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: 2;
}

.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{
    min-height: 100%;
    display: flex;
    position: relative;
}

.logo-area{
    width: 100%;
    min-height: 100%;
    position: absolute;
    background-color: rgb(129,81,83);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: -1;
    opacity: 0.7;
}

.logo-area>img{
    width: 30%;
    max-width: 150px;
    filter: brightness(300%);
    opacity: 1;
    pointer-events: none;
    user-select:none;    
    -webkit-user-select:none;
    -moz-user-select:none;
    -o-user-select:none;
}

.logo-area>div{
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('../background.webp');
    opacity: 0.9;
}

.contact-area{
    width: 100%;
    display: grid;
    grid-template-rows: 80px auto;
    align-items: center;
}

.contact-list{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 100px;
}

.contact a:link,.contact a:visited{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 250px;
    padding: 5px 20px;
    margin-top: 20px;
    border-radius: 50rem;
    color: rgb(129,81,83);
    background-color: rgba(129,81,83,0);
    border: 1px solid rgb(129,81,83);
    text-decoration: none;
    transition: 1s;
}

.contact a:hover,.contact a:active{
    color: rgb(237,236,232);
    background-color: rgba(129,81,83,1);
}

@media screen and (min-width: 800px){
    .ham-nav-line{ border-top: 1px solid rgba(237,236,232,0.8);}
    .ham-nav1,.ham-nav2{ border-top: 1px solid rgb(129,81,83); }
    .logo-area{ width: 30%;}
    .contact-area{ width: 70%;}
    .logo-area{ position: relative; z-index: 1; opacity: 1;}
    .logo-area>div{ opacity: 0;}
    .logo-area>img{ opacity: 0.1;}
}