@charset "utf-8";

body {
    background-color: #eeeeee !important;
}

.container-fluid,
.row {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

header {
    padding-bottom: 50px;
}

.logo {
    font-size: 200px;
    color: #00a8ff;
    position: relative;
    margin-bottom: -40px;
}

.btn {
    width: 100% !important;
}

.content {
    padding: 20px;
    background-color: #ffffff;
    border-radius: .25rem;
    font-size: 18px;
}

.img-thumbnail {
    margin: 25px 0 !important;
}

.content a {
    color: #999999;
    text-decoration: none;
    position: relative;
    transition: all 0.5s ease;

    &:before,
    &:after {
        content: '';
        position: absolute;
        transition: all 0.3s ease;
    }
    
    &:hover{
        color: #00a8ff;
    }
}

/*
.content a {
    text-decoration: none;
    position: relative;
    transition: 0.5s;

    
    color: #00a8ff;
    transition: all 0.3s ease;
    text-decoration: none;

}
*/

.LinkEffect {
    &:before {
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background: #00a8ff;
        transform: scale(0);
    }

    &:hover:before {
        transform: scaleX(1);
    }
}

/*.content a:hover {
        color: #336699;
    transition: all 0.3s ease;

    position: relative;
    top: 2px;

}
*/
.content h4 {
    color: #00a8ff;
}

#gotop {
    position: fixed;
    z-index: 90;
    right: 30px;
    bottom: 31px;
    display: none;
    width: 50px;
    height: 50px;
    color: #fff;
    background: #00a8ff;
    line-height: 50px;
    border-radius: 50%;
    transition: all 0.5s;
    text-align: center;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}

#gotop:hover {
    background: #6cb100;
}



/* =========================================
   深色模式 (Dark Mode) 專屬樣式覆蓋
   ========================================= */
[data-bs-theme="dark"] body {
    /* 將原本的淺灰底改為深色背景 */
    background-color: #121212 !important; 
}

[data-bs-theme="dark"] .content {
    /* 內容區塊改為深灰色，並將文字轉為白色以提高辨識度 */
    background-color: #1e1e1e;
    color: #f8f9fa;
    border: 1px solid #333; /* 加上微幅邊框讓區塊更立體 */
}

[data-bs-theme="dark"] .content a {
    /* 原本的 #999999 在深色背景會看不清楚，調亮為 #cccccc */
    color: #cccccc;
}

[data-bs-theme="dark"] .content a:hover {
    /* Hover 時一樣維持您的亮藍色，不變 */
    color: #00a8ff; 
}

