body {
    margin: 0;
    padding: 0;
    overflow-x: scroll;
    overflow-y: scroll;
    font-family: Microsoft JhengHei, "Arial", "Helvetica", sans-serif;
    background: #EDEDED;
    opacity: 1;
    transition: opacity 2s ease-in-out;
}
body.fade-out {
    opacity: 0;
}

.banner {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    z-index: 999;
    width: 1920px;
    position: relative;
}

.banner img {
    width: 100%;
}

canvas {
    z-index: 1;
    object-fit: contain; /* 將圖片縮放到完整顯示在 canvas 內 */
    display: none;
    position: relative;
}

.button-container {
    position: fixed;
    display: flex;
    flex-direction: column;
    z-index: 999;
    right: 10px;
    top: 210px;
}

.button {
    width: 60px;
    height: 60px;
    margin-left: 10px;
    border: 2px solid white;
    border-radius: 50%;
    background-color: #BFBFBF;
    cursor: pointer;
    margin: 5px 0;
}

.button.active, .button:hover {
    background-color: #00903b;
    color: #fff;
}



#overview-button img {
    display: block;
    position: relative;
    right: 2px;
    top: 2px;
    width: 50px;
    height: 50px;
}

#overview-button .zoom-in {
    display: none;
}

#overview {
    position: relative;
}
#large-image {
    width: 1920px;
    height: auto;
}
#overview .attraction {
    position: absolute;
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#overview .attraction:hover {
    transform: scale(1.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 99999999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.overview-modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 100%;
    height: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    overflow-x: hidden;
}

.overview-modal-content img {
    width: 100%;
    height: auto;
}

.overview-modal-content .close {
    color: white;
    position: absolute;
    top: 7px;
    right: 7px;
    font-size: 45px;
    font-weight: bold;
    z-index: 999;
}

.modal-content {
    position: relative;
    margin: auto;
    display: block;
    width: 600px;
}

.modal-content #modalImg {
    width: 100%;
}

.modal-content #title {
    color: #7f7f7f;
    font-size: 24px;
    margin: 5px 0;
}

.modal-content #desc {
    margin: 5px 0;
}

.modal-content .close {
    color: white;
    position: absolute;
    top: -60px;
    right: 7px;
    font-size: 45px;
    font-weight: bold;
    z-index: 999;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}