﻿
.image-container {
    width: 100%;
    height: 100px; /* 設定固定高度，可依需求調整 */
    background-size: cover; /* 確保圖片覆蓋整個 div */
    background-position: center; /* 圖片置中 */
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0px; /* 圖片之間的間距 */
}

.image-container a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
}

.image-text {
    position: absolute;
    background: rgba(0, 0, 0, 0.01); /* 半透明黑色背景 */
    color: white;
    padding: 5px 10px;
    font-size: 24px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap;
}

</style >
