
*{box-sizing: border-box;}
.caption1 {
    font-size: 20px;
    margin-top: 0px;
    color: dimgray;
}

.container {
display: flex;
justify-content: space-between;
}



.image-caption {
margin-top: -8px;
text-align: center;


}

@media (max-width: 768px) {
.container {
flex-direction: column; /* 在小屏幕上垂直排列 */
}

.right-column {
width: 100%; /* 在小屏幕上占满整个宽度 */
}

.menu-button {
display: block; /* 在小屏幕上显示菜单按钮 */
font-size: 25px;
}
}

.img-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    margin-bottom: 20px;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3cm;
    background-color: black;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    z-index: 10;
}

.left-text {
    color: white;
    font-size: 24px;
}

.right-text {
    color: orange;
    font-size: 24px;
    display: flex;
    gap: 20px;
}

.right-text a {
    color: orange;
    text-decoration: none;
}

.right-text a:hover {
    text-decoration: none;
    color: #ffa500;
}

.main-container {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
    margin-top: 30px;
    margin-left: 15px;
    margin-right: 0px;
    padding: 0 20px;
    box-sizing: border-box;
}


.top-section {
    width:75%;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    line-height: 1.5;
    gap:0px;
} 
.top-section h1 {
    color: black
}
 .top-section p {
    color: black;
    text-decoration: none;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.8;
}

.down-section {
    width: 100%;
    text-align: center;
    padding: 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    line-height: 1.2;
    gap: 0px;
} 
    .down1-section {
        width: 90%; /* 佔據80%的寬度 */
        margin: 20 auto; /* 將容器居中 */
        text-align: left; /* 文字左對齊 */
        padding: 5px;
        box-sizing: border-box;
        display: flex;
        flex-wrap: wrap; /* 讓連結可以換行 */
        font-weight: bold;
        line-height: 1.5;
        gap: 10px;
    }

    .down1-section a {
        color: dimgrey;
        text-decoration: none;
        width: 23%; /* 每行顯示4個連結 */
        text-align: left; /* 連結文字左對齊 */
    }

    .down1-section a:hover {
    color: #ffa500;
        text-decoration: underline;
    }

@media (max-width: 768px) {
.down1-section {
width: 100%;
flex-direction: column; /* 改為垂直排列 */
}

.down1-section a {
width: 100%; /* 每個連結佔滿寬度 */
margin-bottom: 12px; /* 手機上每個連結之間的間距調整 */
padding: 8px 0; /* 增加內部間距使連結看起來更整齊 */
line-height: 1.8; /* 調整行高，使文字更舒展 */
border-bottom: 1px solid #ddd; /* 增加底線以視覺上區隔各連結 */
}
.main-container {
    display: block;
    width: 100%;
    margin-top: 30px;
    margin-left: 0px;
    margin-right: 0px;
    padding: 0 10px;
    box-sizing: border-box;
}
.top-section {
    width:95%;
    padding: 5px;
    box-sizing: border-box;
    font-weight: bold;
    line-height: 1.5;
    gap:0px;
} 
}
    

.center-section {
    width: 35%;
    padding: 0 0px;
    box-sizing: border-box;
}

.center-section img {
    width: 100%;
    height: auto;
}

.right-section {
    width: 38%;
    padding: 0 20px;
    box-sizing: border-box;
}

.right-section h1 {
    font-size: 30px;
    color: black
}
.right-section h2 {
    font-size: 25px;
    color: black
}


.right-section p {
    font-size: 17px;
    line-height: 1.8;
}

 .orange-button {
            background-color: #FF8C00; /* 橘色 */
            color: white; /* 反白字 */
            padding: 10px 20px;
            margin-bottom: 20px;
            border: none;
            border-radius: 8px; /* 四角圓弧 */
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 20px;
            cursor: pointer;
            transition: background-color 0.3s;
        }
.button-container {
    text-align: center; /* Center the inline-block button */
}

 .magenta-button {
            background-color: purple; /* 橘色 */
            color: white; /* 反白字 */
            padding: 20px 20px;
            margin-bottom: 20px;
            border: none;
            border-radius: 8px; /* 四角圓弧 */
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 20px;
            cursor: pointer;
            transition: background-color 0.3s;
            width: 4cm; /* Set the button width to 4 cm */
        }
        
/* Responsive layout for mobile */
@media (max-width: 768px) {

    .center-section {
       width: 100%;
    padding: 0 0px;
    box-sizing: border-box;
}
.right-section {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}
}
