html, body {
    margin: 0;
}
body{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    background-image: url('../image/bg.jpg'); /* 換成你嘅背景圖片路徑 */
    background-size: cover; /* 背景圖片覆蓋整個視窗 */
    background-position: center; /* 背景圖片置中 */
    background-attachment: fixed; /* 背景固定，唔隨滾動移動 */
}
html {
	scroll-behavior: smooth;
}
*{
    font-family:  "Source Sans Pro", Arial,OpenSans, "Hiragino Sans GB", "Microsoft JhengHei", STHeiti, åŽæ–‡é»‘ä½“, SimHei, é»‘ä½“, sans-serif;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: white;
}

#header{
    width: 100%;
}

/* Section */
section{
    padding: 25px;
    width: 100%;
    max-width: 1920px;
    position: relative;
    /* background-color: #eee; */
    color: #111;
    z-index: 10;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
center{
    font-size: 3em;
    font-weight: bold;
}
#video{
    width: 30%;
    height: 300px;
    text-align: center;
    font-size: 2.5em;
    color: #eee;
    margin: 0;
    background-image: url("../image/video_bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
#video:hover{
	box-shadow: #333 4px 4px 8px;
}
/* Gallery */
#photos{
    display: flex;
    flex-direction: row;
	flex-wrap: wrap;
    justify-content: space-around;
    align-content: stretch;
    align-items: baseline;
}
.galleryPhoto {
    margin: 15px;
    width: 400px;
    height: 300px;
}
.photo{
	width: 100%;
	border-radius: 12px;
	box-shadow: #333 4px 4px 8px;
}
.portrait{
	width: auto;
	height: 100%;
}
/* Footer */
footer{
	line-height: 1.5em;
    padding: 25px;
    width: 100%;
    position: relative;
    background-color:  rgb(230,230,230);
    color:rgb(20, 20, 20);
    z-index: 10;
}
footer a{
    color:#444;
    transition: all 0.5s;
}
footer a:hover{
	color:#666;
}
footer img#slashiecampus{
	position: absolute;
    padding: 30px;
    height: 100%;
	bottom: 0;
	right: 0;
}
footer img#memberOfVTC{
	position: absolute;
	bottom: 0;
	right: 0;
}

@media (max-width: 1280px){
    .photo{
        border-radius: 8px;
        box-shadow: #333 2px 2px 4px;
    }
    .galleryPhoto{
        width:240px;
        margin:32px;
    }
    section{
        padding: 25px 15px;
        width: 100%;
        flex-direction: column;
    }
}


@media (max-width: 1024px){
    footer img#slashiecampus{
        width: auto;
        height: 200px;
        opacity: 0.25;
    }
}
@media (max-width: 800px){
    .galleryPhoto{
        margin:16px;
    }
}