﻿#DIV1 {
    width: 50%;
    float: left;
}

#DIV2 {
    width: 50%;
    float: right;
}

#DIV3 {
    width: 50%;
    float: left;
}

#DIV4 {
    width: 50%;
    float: right;
}

.Home {
    width: auto;
}

.pic {
    overflow: hidden;
}

.pic img {
transform: scale(1,1);
transition: all 1s ease-out;
}

.pic img:hover {
    transform: scale(1.2,1.2);
}


.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 >
