/* style.css */
body, html { 
    font-family: "LINE Seed JP";
    font-weight: 400;
    font-style: normal;
    height: 100%; 

    padding: 0; 
    margin: 0; 
    display: flex; 
    flex-direction: column; 

}

.layout-layout-background{ 
    background-position: -15px -25px; 
    background-color: #efefef; 
    background-image: url(../image/bg_image1.png); 
    background-repeat: repeat; 
    background-origin: border-box; 
    background-size: 52px, 52px; 
}

.partial-footer-outer{ 
    display: flex; 
    align-items: flex-end; 
    justify-content: flex-end; 
    height: 100%; 
    width: 100%; 
    
}

.partial-footer-inner{ 

    color: white; 
    display: flex; 
    justify-content: flex-end; 
    align-items: flex-end; 
    padding: 20px; 
}

.partial-header{ 
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 80px; 
    background-color: transparent; 
    z-index: 100; 
    align-items: center;
    font-size: 20px; 
    color: #1e5a71; 
    user-select: none; 
    display: flex; 
    backdrop-filter: blur(10px); 
    z-index: 10; 

}  

.partial-header::after{ 
    content: ""; 
    position: absolute; 
    bottom: -2px; 
    left: 0; 
    width: 100%;
    height: 100px; 
    background-color: rgba(255, 255, 255, 0.5); 
    filter: blur(10px); 


}


.partial-header-icon-design{ 
    display: inline; 
    text-decoration: none; 
    color: inherit;  
    position: relative; 
    display: flex; 
    margin-left: 50px; 
    align-items: center; 
    width: fit-content;  
    height: 100%; 
    z-index: 11; 

}

.partial-header-icon-design h1{ 
    margin: 0; 
    padding-left: 10px; 
    padding-right: 10px;  

}

.partial-header-icon-design img{ 
    width: 44px;   
    height: auto; 

}

.partial-header-tabs{ 
    display: flex; 
    align-items: center; 
    margin-left: auto; 
    margin-right: 500px; 
    height: 100%; 
    z-index: 11; 

}

.partial-header-tabs a{ 
    user-select: none; 
    text-decoration: none; 
    color: inherit; 
    font-weight: bold; 
    font-size: 30px; 
    margin-left: 50px; 
    margin-right: 50px; 

} 

.layout-index-cover{ 
    display: flex;
    height: calc(100vh - 60px); 
    width: 100%; 
    margin-top: 60px; 
    overflow: hidden; 
    
}

.LIC-container{ 
    display: flex; 
    position: relative;
    width: 100%; 
    height: 100%;
    padding: 0; 
    margin: 0; 
    z-index: -1; 
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 65%, rgba(0,0,0,0) 100%); 
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%); 
    
}

.LIC-container img{ 
    position: absolute; 
    width: 75%; 
    margin-left: -13%; 
    margin-top: -10%; 
} 

.LIC-information{  
    align-self: center; 
    margin-left: 55%; 
    display: flex; 
    flex-direction: column; 
    font-size: 2rem; 
    margin-bottom: 10%; 
} 

.LIC-information-main-title{ 
    color: #3290b2; 
    margin: 0; 
} 

.LIC-information-subcontent{ 
    display: flex; 
    margin: 0; 
}

.LIC-information-subtitle{ 
    margin: 0; 
    color: #3290b2; 
} 

.LIC-information-KODI{ 
    margin: 0; 
    margin-left: 3%; 
    background-color: #3290b2; 
    color: white; 
} 

.layout-layout-content{ 
    margin-top: 100px; 
    flex: 1; 

}

.partial-footer-container{ 
    width: 100%; 

}

.partial-footer-container-img{ 
    width: 100%; 
    height: 110px; 
    margin-bottom: -5px;
    background-image: url(../image/footer_design.svg);
}

.partial-footer{ 
    bottom: 0; 
    width: 100%; 
    height: 435px; 
    background-color: #282828;  
    
} 

.layout-index-blogpost{  
    
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));  
    gap: 20px; 
    text-align: center; 

    margin-top: 50px; 
    padding-left: 10px; 
    padding-right: 20px; 
    margin-bottom: 50px; 

} 

.LIB-h1{ 
    margin: 0 auto; 
    text-align: center; 
    padding: 20px; 

}


.LIB-post{ 
    /* display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); */
    display: flex;          
    flex-wrap: wrap;   
    justify-content: center; 
    gap: 20px;
    align-items: stretch; 
}

/* 2. 重點在這裡！把寬度、顏色、圓角都交給 a 標籤 (.post-link) */
.LIB-box{
    width: 400px; 
    height: 200px; 


    text-decoration: none;
    color: inherit;
    display: block; /* 這個很重要！讓超連結變成一個乖乖的方塊 */
    
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s; 
    text-align: center; 
} 

.LIB-box:hover{ 
    transform: translateY(-5px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15); 
}

.LIB-box-content{ 
    display: flex; 
    height: 100%; 
    width: 100%; 

}

.LIB-box-img{ 
    width: auto; 
    height: 100%; 
    object-fit: cover; 
    
}

.LIB-box-word{ 
    display: flex; 
    justify-content: left; 
    flex-direction: column; 
    align-items: flex-start; 
    padding: 5px; 
    
}

.LIB-title{ 
    margin: 0 0 10px 0; 
    color: #2c3e50; 

} 

.LIB-date{ 
    font-size: 0.9rem; 
    color: #888; 

}

.LIB-blurb{ 
    margin-top: 10px; 
    color: #555; 
    line-height: 1.5; 

}

.article-inner {
    background-color: #ffffff; /* 紙張的顏色 */
    padding: 40px;            /* 讓內容跟邊緣有間距，才不會太擠 */
    margin-top: 20px;         /* 和上方的 Header 拉開距離 */
    border-radius: 8px;       /* 稍微圓角，看起來比較溫柔 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); /* 給個淡淡的陰影，讓它浮起來！ */
    max-width: 800px;         /* 限制寬度，這樣閱讀起來不會因為太寬而很累 */
    margin-left: auto;        /* 水平置中 */
    margin-right: auto; 
    margin-bottom: 50px; 

} 

figure.highlight { 
    position: relative !important;
    background-color: #30333b; 
    color: white; 
    
}
.copy-btn {
    position: absolute;
    top: 5px; right: 5px;
    padding: 3px 8px; font-size: 12px;
    color: #fff; background: rgba(0,0,0,0.5);
    border: none; border-radius: 4px;
    cursor: pointer; opacity: 0;
    transition: opacity 0.3s;
    z-index: 99;
} 

figure.highlight:hover .copy-btn { opacity: 1; } 

.article-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee; /* 加一條淡淡的橫線，區分內文 */
  display: flex;
  justify-content: flex-start; /* 讓標籤靠左對齊 */
}

.article-footer-tags {
  /* 如果你的 tags 有特定的 class，可以在這裡調整標籤的圓角、顏色 */
  font-size: 0.9rem;
} 

/* 預設的標籤樣式 */
.article-tag {
  display: inline-block;
  padding: 4px 10px;
  margin: 0 5px 5px 0;
  border-radius: 12px;
  font-size: 0.85rem;
  text-decoration: none;
  color: #fff; /* 文字設為白色，這樣背景深色才看得清楚 */
  transition: opacity 0.3s;
}

.article-tag:hover {
  opacity: 0.8;
}

/* 這裡開始定義不同標籤的顏色 */
.tag-Hexo { background-color: #4e4e4e; }   /* Hexo 標籤用灰色 */
.tag-技術 { background-color: #3498db; }    /* 技術文章用藍色 */
.tag-生活 { background-color: #e67e22; }    /* 生活日記用橘色 */
.tag-學習 { background-color: #27ae60; }    /* 學習筆記用綠色 */


.LT-main-title {
    font-size: 2em;
    color: #333; /* 標題顏色 */
    margin-bottom: 20px;
    border-bottom: 2px dashed #ccc; 
    padding-bottom: 10px;
} 

.LT-main-title span {
    color: #ff6b6b; /* 讓標籤名字變成特別的顏色！ */
}


.LT-postlist{
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 20px; 
} 
 
.LT-postlink{ 
    text-decoration: none;
    color: inherit;
    display: block; 
    height: 100%; 
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;  

} 

.LT-poatlink:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px  15px rgba(0, 0, 0, 0.15);
} 


.LT-post-title{
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.LT-post-date{
    font-size: 0.9em;
    color: #888;
}

.LT-post-blurb{
    margin-top: 10px;
    color: #555;
    line-height: 1.5;
} 
 
