body{
	background-color: #e5e5e5;
    font-family: "Noto+Sans+TC", sans-serif;
}

#background_div{
    display: flex;
    width: 100%;
    height: 100%;
}

#bgimg{
    position: fixed;
    display: flex;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

#bgimg_sunshine{
    position: fixed;
    display: flex;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 0),   /* 最上方透明 */
        rgba(0, 0, 0, 1) 10%,  /* 10%開始不透明 */
        rgba(0, 0, 0, 1) 80%,  /* 80%維持不透明 */
        rgba(0, 0, 0, 0)       /* 底部漸變透明 */
    );
    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 1) 20%,
        rgba(0, 0, 0, 1) 80%,
        rgba(0, 0, 0, 0)
    );
    z-index: 110;
}

#bgimg_sun{
    position: fixed;
    display: flex;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 115;
}

#bgimg_wave{
    position: fixed;
    display: flex;
    width: 100%;
    height: auto;
    top: 12%;
    left: 0;
    z-index: 110;
}

#bgimg_bird{
    position: fixed;
    display: flex;
    width: 100%;
    height: auto;
    top: 12%;
    left: 5%;
    z-index: 110;
}

#bgimg_cloud{
    position: fixed;
    display: flex;
    width: 100%;
    height: auto;
    bottom: 0;
    left: 0;
    z-index: 110;
}

#bgimg_stairs{
    position: fixed;
    display: flex;
    width: 80%;
    height: auto;
    bottom: 0;
    right: 3%;
    z-index: 110;
}

#title{
    display: flex;
    position: relative;
    top: 0;
    left: 0;
    padding: 0 0 10% 0;
    width: 100%;
    height: auto;
}

#school_name, #graduation_name{
    display: flex;
    position: absolute;
    top: 0;
    left: 2%;
    width: auto;
    height: 120%;
    z-index: 120;
    /*border: 1px solid black;*/
}

#sidebar_div {
    display: flex;
    position: fixed;
    flex-direction: column;
    margin: 0% 0% 2% 2%;
    width: 18%;
    height: auto;
    z-index: 120;
    align-items: center;
    padding: 10px;
    transform: scale(0.9);
    transform-origin: top left;
}

#sidebar_div .trans_button, #sidebar_div .home_button {
    display: flex;
    width: 120px;
    height: 60px;
    font-size: 16px;
    text-decoration: none;
    margin: 1% 0;
}

#sidebar_div .trans_button button, #sidebar_div .home_button button, #sidebar_toggle_btn button {
    background-color: #ffffff;
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    width: 100%;
    height: 100%;
    color: #2e2e2e;
    font-family: "Noto+Sans+TC", sans-serif;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#sidebar_div .trans_button button:hover, #sidebar_div .home_button button:hover, #sidebar_toggle_btn button:hover {
    background-color: #5e5e5e;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#sidebar_div #sidebar_middle_div {
    margin: 0;
}

a {
    color: #0d6efd;
    text-decoration: underline;
}

.display {
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    top: 0;
    z-index: 120;
    width: 64%;
    height: 66%;
    margin: 10% 5% 0% 25%;
    padding: 2% 0%;
    background-color: #FFFFFF;
    opacity: 80%;
}

#table_div table {
    font-size: 14px;
    width: 80%;
    text-align: center;
    border-collapse: separate;
    font-family: "Noto+Sans+TC", sans-serif;
}

#table_div tbody {
    font-weight: 500;
}

#table_div tbody tr {
    color: #1E1E1E;
}

#table_div .table_secondary{
    color: #000;
    background-color: #BEBEBE;
}

#activity, #info, #staff{
    width: 75%;
    height: 95%;
    padding: 2%;
    overflow-y: scroll;
    text-align: left;
    font-size: 18px;
    color: #3E3E3E;
}

#activity h4, #celebrity h4, #info h4, #staff h4{
    color: #1E1E1E;
    font-size: 20px;
}

#celebrity{
    width: 75%;
    height: 95%;
    padding: 2%;
    text-align: left;
    font-size: 18px;
    color: #3E3E3E;
}

#dress__content__image {
    display: flex
;
    flex-direction: row;
    width: 100%;
    height: 100%;
}

#dress__content__image__div {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#dress__content__image__div:nth-child(1) {
    margin-right: 3%;
}

#dress__content__image__div iframe {
    width: 100%;
    height: 100%;
}

#dress__content__footer {
    display: flex;
    justify-content: center;
    font-size: 16px;
    color: #5E5E5E;
    font-family: "Noto+Sans+TC", sans-serif;
    font-weight: 500;
}

#parking {
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 101;
    width: 70%;
    height: 77%;
    margin: 8% 5% 0% 5%;
    padding: 2% 2% 2% 4%;
}

#parking div:nth-child(1){
    width: 30%;
    height: 80%;
    padding: 2%;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}

#parking div:nth-child(2){
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 70%;
    height: 80%;
}

#parking div img {
    width: 100%;
    height: auto;
    opacity: 1 !important;
}

#cover {
    opacity: 100%;
}

#url_div {
    position: absolute;
    display: flex;
    flex-direction: column;
    bottom: 20px;
    right: 0;
    margin: 0% 1% 2% 0%;
    z-index: 120;
   /* border: 1px solid black;*/
}

#url_div img{
	width: 70px;
    cursor: pointer;
}

#bottom_text{
	position: absolute;
    display: flex;
    bottom: 0;
    right: 0;
    padding-right: 1%;
    z-index: 120;
    font-size: 12px;
    color: #5E5E5E;
    font-weight: 400;
    font-family: "Noto+Sans+TC", sans-serif;
    text-align: right;
}

/* 行動端響應式設計 */
@media screen and (max-width: 768px) {
    #sidebar_container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 300;
    }
    #sidebar_toggle_btn {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 20px;
        z-index: 301;
        width: 60px;
        height: 60px;
    }
    #sidebar_toggle_btn button {
        font-size: 12px;
        padding: 5px;
    }
    #sidebar_div {
        position: fixed;
        top: 0;
        left: -80vw;
        width: 60vw;
        height: 100vh;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        background: rgba(255,255,255,0.97);
        box-shadow: 2px 0 8px rgba(0,0,0,0.15);
        transition: left 0.3s cubic-bezier(.4,0,.2,1);
        margin: 0;
        padding: 24px 0 40px 0;
        z-index: 302;
        transform: none;
        justify-content: flex-end;
        padding-top: 0 !important;
        padding-bottom: 16px !important;
        mask-image: linear-gradient(to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    -webkit-mask-image: linear-gradient(to right,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    }
    #sidebar_div.active {
        left: 0;
    }
    #sidebar_div .trans_button, #sidebar_div .home_button {
        width: 60px;
        height: 60px;
        margin: 0 0 8px 4px;
    }
    #sidebar_div .trans_button button, #sidebar_div .home_button button {
        padding: 5px;
        font-size: 12px;
    }
    .display {
        width: 90%;
        margin: 5% auto;
        height: auto;
        max-height: 80vh;
        overflow-y: auto;
        min-height: 75vh;
    }
    #table_div table {
        width: 95%;
        font-size: 14px;
    }
    #table_div h2{
        font-size: 20px;
    }
    #activity, #info, #staff, #celebrity {
        width: 90%;
        font-size: 16px;
    }
    #celebrity h4{
        font-size: 18px;
    }
    #dress__content__image {
        flex-direction: column;
    }
    #dress__content__image__div {
        width: 100%;
        margin: 10px 0;
    }
    #dress__content__image__div:nth-child(1) {
        margin-right: 0;
    }
    #parking {
        flex-direction: column;
        width: 90%;
        height: auto;
    }
    #parking div:nth-child(1),
    #parking div:nth-child(2) {
        width: 100%;
        height: auto;
    }
    #title {
        padding: 0 0 5% 0;
    }
    #school_name, #graduation_name {
        height: auto;
        max-width: 90%;
    }
    #url_div {
        display: none;
    }
    #bottom_text {
        font-size: 10px;
    }
}

@media screen and (min-width: 769px) {
    #sidebar_toggle_btn {
        display: none !important;
    }
    #sidebar_container {
        position: static;
        width: auto;
        z-index: auto;
    }
    #sidebar_div .trans_button, #sidebar_div .home_button {
        margin: 1%;
    }
}

/* 小型行動裝置的額外優化 */
@media screen and (max-width: 480px) {
    #sidebar_div .trans_button, #sidebar_div .home_button {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }

    #sidebar_div .trans_button button, #sidebar_div .home_button button {
        font-size: 10px;
    }

    .display {
        width: 95%;
        margin: 2% auto;
        min-height: 75vh;
    }

    #table_div table {
        font-size: 12px;
    }

    #activity, #info, #staff, #celebrity {
        font-size: 14px;
    }
}