﻿body {
    margin: 0;
    padding: 0;
    background-image: url(/Asset/img/bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition-duration: 5s;
    transition-timing-function: ease-in-out;
    font-family: "Arial", 'Chinese', "微軟正黑體", sans-serif;
}




.wrapper {
    width: 100%;
    /*height: 118px;*/
    background: linear-gradient(to bottom,#604f3f 12px,rgba(0,0,0,0) 112px);
    position: absolute;
    top: 0;
}

.header_img {
    width: 228px;
    margin: auto;
    padding-top: 28px;
}

@media screen and (max-width: 767px) {
    .header_img {
        position: relative;
    }
}

.header-lang {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 20px;
    margin-top: 40px;
}

@media screen and (max-width: 767px) {
    .header-lang {
        right: 32%;
        top: 110%;
        margin: auto;
    }
}

.list-lang li:not(:last-child) {
    border-right: 1px solid #c5c3c1;
}

.list-lang li a {
    color: white;
}


@media screen and (max-width: 820px) {
    .list-lang li a {
       font-size:20px;
    }
}



@media screen and (max-width: 767px) {
    .list-lang li a:link, .list-lang li a:visited {
        color: #7c5723;
    }

    .list-lang li a {
        color: #ba3c3f;
        font-size: 14px;
    }
}

.header-desc-basic {
    letter-spacing: 10px;
    color: white;
    margin: auto;
    width: max-content;
}

.header-desc {
    margin-top: 40px;
}

.dash {
    border-bottom: 1px solid white;
    padding: 2px;
}

.header-desc-basic h2 {
    font-weight: 500;
    font-size: 22px;
}

.header-desc-basic h5 {
    font-weight: 500;
    font-size: 12px;
    padding-top: 10px;
    letter-spacing: 5px;
}

.footer {
    text-align: center;
    padding: 20px;
    color: #d9e5e5;
}


@media screen and (max-width: 767px) {
    .footer {
        padding: 10px;
        font-size: small;
    }
}


/*其他共用*/
.catalog {
    display: flex;
    margin: auto;
    /*border: 1px solid red;*/
    border-bottom: 2px dashed #f5f5f575;
    width: 960px;
    margin-top: 5%;
    flex-wrap: wrap; /*使他可以折行*/
    padding-bottom: 20px;
   
}

@media screen and (max-width: 820px) {
    .catalog {
        width: 66vh;
        justify-content: space-between;
    }
}


@media screen and (max-width: 767px) {
    .catalog {
        width: 100%;
        margin-top: 10%;
    }
}



.item {
    background-color: rgb(0 0 0 / 0%);
    float: left;
    margin: 10px;
    border: 5px solid white;
    padding: 10px;
    margin-left: 50%;
    /*字體水平垂直置中*/
    text-align: center;
    /* 使不會因為margin 跟border而拓寬,此寬度就為300px;*/
    box-sizing: border-box;
    position: relative;
}

    .item > span {
        color: white;
    }

    .item:hover {
        background-color: #1fa98c33;
        cursor: pointer
    }

.clearFlex {
    width: 100%;
    clear: both; /*讓下方的圖片不會因為float影響*/
}


.catalog .content {
    color: white;
}

    .catalog .content h1 {
        margin-top: 30%;
        font-size: 25px;
        padding: 10px;
        font-weight: bold;
    }

    .catalog .content h5 {
        font-size: 20px;
    }


@media screen and (max-width: 767px) {
    .catalog_banner {
        /*margin-left: 35px;*/       
        padding: 10px;    
        text-align: center;
        width: 100%;
    }
}

.catalog_banner > a {
    color: white;
    text-decoration: none;
    cursor: pointer;
    font-size: 20px;
    letter-spacing: 4px;
    border-bottom: 2px dashed #f5f5f575;
}

@media screen and (max-width: 820px) {
    .catalog_banner > a {
        font-size: 30px;
    }
}

@media screen and (max-width: 767px) {
    .catalog_banner > a {
        font-size: 20px;
    }
}
.caption::after {
    content: ">";
}
