body {
    margin: 0;
    /* background-color: #000; */
    color: #fff;
    font-family: "Noto Sans CJK TC" Monospace;
    font-size: 16px;
    line-height: 24px;
    overscroll-behavior: none;
    overflow: hidden;
    font-weight: 500;
}

.progress-bar-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.8); */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(55px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.progress-bar-container-class{
    width: 40%;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    color: black;
}
#progress-bar {
    width: 90%;
    margin: auto;
    margin-top: 1.5%;
    height: 10px;   
}

label {
    color: white;
}

.bottom-control {
    position: fixed;
    bottom: 20px;
    right: 15px;
    display: none;
}

.bottom-control .btn {
    width: 48px;
    height: 48px;
    background-color: white;
    text-align: center;
    margin: auto;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-control .btn.btnup {
    margin-bottom: 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.bottom-control .btn.btnleft {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin: 5px;
}

.bottom-control .btn.btndown {
    margin: 5px;
}

.bottom-control .btn.btnright {
    margin: 5px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

i {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 4px;
}

.right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    translate: 50% 0%;
    pointer-events: none;
}

.left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    translate: 50% 0%;
    pointer-events: none;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    translate: 0% 50%;
    pointer-events: none;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    pointer-events: none;
}

a {
    color: rgb(22, 59, 135);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

button {
    cursor: pointer;
    text-transform: uppercase;
}

/* ----------------- menu ----------------- */
.menu-btn {
    position: fixed;
    z-index: 10000;
    right: 15px;
    top: 10px;
    display: none;
}

.menu-btn .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px 5px 5px 15px;
    display: inline-table;
}

.menu-btn .btnAll .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-btn .btnAll .icon.start {
    background-image: url('../image/icon/icon_menu.svg');
}

.menu-list {
    position: fixed;
    z-index: 10000;
    right: 0px;
    top: 0px;
    box-shadow: 3px 0px 15px 0px #888888;
    backdrop-filter: blur(15px);
    border-bottom-left-radius: 10px;
    width: 235px;
    height: 490px;
    display: none;
}

.menu-list .box {
    position: relative;
    right: 15px;
    top: 5px;
    width: 100%;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.menu-list .box .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px 5px 5px 15px;
    display: inline-table;
}

.menu-list .box .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-list .box .icon.close {
    background-image: url('../image/icon/icon_o_close.svg');
}

.menu-list .box .icon.fullscreen {
    background-image: url('../image/icon/icon_o_fullscreen.svg');
}
.menu-list .box .icon.closefullscreen {
    background-image: url('../image/icon/icon_o_closefullscreen.svg');
    background-size: 55%;
}

.menu-list .box .icon.operate {
    background-image: url('../image/icon/icon_o_help.svg');
}

.menu-list .box .icon.topMap {
    background-image: url('../image/icon/icon_o_map.svg');
}

.menu-list .box .icon.topMapAct {
    background-image: url('../image/icon/icon_o_map_click.svg');
}

.menu-list .box .icon.list {
    background-image: url('../image/icon/icon_o_list.svg');
}

.menu-list .box .icon.info {
    background-image: url('../image/icon/icon_o_info.svg');
}

.menu-list .box .icon.guide {
    background-image: url('../image/icon/icon_o_guide.svg');
}

.menu-item-list {
    position: fixed;
    z-index: 10000;
    right: 0px;
    top: 0px;
    box-shadow: 3px 0px 15px 0px #888888;
    backdrop-filter: blur(15px);
    width: 400px;
    height: 100vh;
    display: none;
    color: #333;
}

.menu-item-list .box {
    position: relative;
    top: 5px;
    width: 100px;
    text-align: right;
    width: 100%;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.menu-item-list .box .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px 20px;
    display: inline-table;
}

.menu-item-list .box .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-item-list .box .searchBar {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 5px 20px;
}

.menu-item-list .box #searchQueryInput {
    width: 90%;
    height: 2.2rem;
    background: #ffffff;
    outline: none;
    border: none;
    border-radius: 1.625rem;
    padding: 0 3.5rem 0 1.5rem;
    font-size: 1rem;
}

.menu-item-list .box #searchQuerySubmit {
    width: 3.5rem;
    height: 2.8rem;
    margin-left: -3.5rem;
    background: none;
    border: none;
    outline: none;
    color: black;
}

.fa-solid,
.fas {
    font-weight: 900;
}


.menu-item-list .box .icon.close {
    background-image: url('../image/icon/icon_o_close.svg');
}

.menu-item-list .box .icon.search {
    background-image: url('../image/icon/icon_search.svg');
    width: 30px;
    height: 30px;
    background-size: 70%;
    border: none;
}

.menu-item-list .itembox {
    overflow-x: scroll;
    max-height: 80vh;
    cursor: pointer;
}

.menu-item-list .itembox .itemInBox {
    margin: 15px 30px 15px 30px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 2px white solid;
}

.menu-item-list .itembox .itemInBox .imgBox {
    pointer-events: none;
    width: 35%;
    height: 100px;
    background-position: 50%;
    background-size: cover;
    border-radius: 5px;
}

.menu-item-list .itembox .itemInBox .wordBox {
    margin-left: 25px;
    width: 65%;
    pointer-events: none;
}

.menu-about {
    position: fixed;
    z-index: 10000;
    right: 0px;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 3px 0px 15px 0px #888888;
    backdrop-filter: blur(15px);
    width: 400px;
    height: 100vh;
    display: none;
    color: #333;
}

@media screen and (max-width: 400px) {

    .menu-about {
        width: unset;
    }
    .menu-item-list{
        width: unset;
    }
}

.menu-about .box {
    position: relative;
    right: 15px;
    top: 5px;
    width: 100px;
    text-align: right;
    width: 100%;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
    cursor: pointer;
}

.menu-about .box .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px 5px 5px 15px;
    display: inline-table;
}

.menu-about .box .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-about .box .icon.close {
    background-image: url('../image/icon/icon_o_close.svg');
}

.menu-about .itembox {
    overflow-x: scroll;
    max-height: 100vh;
    width: 80%;
    margin: auto;
    margin-top: -35px;
}

.menu-about .itembox .itemInBox {
    text-align: left;
    padding-bottom: 10px;
}

.menu-about .itembox .itemInBox .wordTitleBox {
    color: rgb(22, 59, 135);
    margin: 10px 0 10px 0;
    letter-spacing: 2px;
    font-size: 24px;
}

.menu-about .itembox .itemInBox .imgBox {
    height: 300px;
    margin-top: 20px;
    border: 10px solid white;
}

.menu-about .itembox .itemInBox .imgBox img {
    width: 100%;
    height:100%;
}

.menu-about .itembox .itemInBox .wordBox {
    letter-spacing: 1px;
    line-height: 28px;
    margin-top: 25px;
    padding-bottom: 40px;
}

.menu-obj-content-list {
    position: fixed;
    z-index: 10000;
    right: 0px;
    top: 0px;
    box-shadow: 3px 0px 15px 0px #888888;
    backdrop-filter: blur(15px);
    border-bottom-left-radius: 10px;
    width: 235px;
    height: 294px;
    display: none;
}

.menu-obj-content-list .box {
    position: relative;
    right: 15px;
    top: 5px;
    text-align: right;
    width: 100%;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 16px;
}

#introWord {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 44%;
}

.menu-obj-content-list .box .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px 5px 5px 15px;
    display: inline-table;

}

.menu-obj-content-list .box .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-obj-content-list .box .icon.close {
    background-image: url('../image/icon/icon_o_close.svg');
}

.menu-obj-content-list .box .icon.surround {
    background-image: url('../image/icon/icon_o_360.svg');
}

.menu-obj-content-list .box .icon.voice {
    background-image: url('../image/icon/icon_o_voice.svg');
}

.menu-obj-content-list .box .icon.voiceAct {
    background-image: url('../image/icon/icon_o_voice_click.svg');
}

.menu-obj-content-list .box .icon.introduce {
    background-image: url('../image/icon/icon_o_info.svg');
}

/* ------------------------------------------------------------- */
/* ---------------------------- Intro --------------------------*/
.menu-item-intro {
    position: fixed;
    z-index: 10000;
    right: 0px;
    top: 0px;
    backdrop-filter: blur(15px);
    box-shadow: 3px 0px 15px 0px #888888;
    width: 540px;
    height: 100vh;
    color: #333;
    display: none;
}
@media screen and (max-width: 540px) {
    .menu-item-intro {
        width: unset;
    }
}
.menu-item-intro .box {
    position: relative;
    right: 15px;
    top: 5px;
    width: 100px;
    text-align: right;
    width: 100%;
    color: #333;
    margin-top: 5px;
    letter-spacing: 1px;
    cursor: pointer;
}

.menu-item-intro .box .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px;
    display: inline-table;
}

.menu-item-intro .box .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.menu-item-intro .box .icon.close {
    background-image: url('../image/icon/icon_o_close.svg');
}

.menu-item-intro .itembox {
    overflow-x: scroll;
    width: 80%;
    margin: auto;
    margin-top: 20px;
    max-height: 85vh;
    padding: 0px 30px;
}
.menu-item-intro .itembox::-webkit-scrollbar {
    width: 5px;
    height: 0px;
    background-color: transparent;
    /* or add it to the track */
}

.menu-item-intro .itembox::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 10px;
}
.menu-item-intro .itembox .itemInBox {
    text-align: left;
    padding-bottom: 15px;
    display: flex;
}

.menu-item-intro .itembox .itemInBox .wordTitleBox {
    color: #333;
    letter-spacing: 2px;
    width: 30%;
}

.menu-item-intro .itembox .itemInBox .wordBox {
    letter-spacing: 1px;
    line-height: 1.5rem;
    width: 67%;
    margin-left: 3%;
}

.menu-item-intro .itembox .itemInBox .wordBox.title {
    color: rgb(22, 59, 135);
}

/* ---------------------------- surround ---------------------------- */
.showSurround {
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    text-align: center;
    display: none;
}

.showSurround .box {
    width: 95%;
    margin: auto;
    border-radius: 25px;
    height: 70vh;
    position: relative;
    top: 10vh;
    max-width: 1300px;
}

.showSurround iframe {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    /* display: none; */
}

.showSurround .box .btnAll {
    position: relative;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
    margin: 5px 5px 5px 15px;
    display: inline-table;
    position: absolute;
    right: -20px;
    top: -20px;
}

.showSurround .box .icon {
    width: 52px;
    height: 52px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.showSurround .box .icon.close {
    background-image: url('../image/icon/icon_o_close.svg');
}

/* ------------------------------------------------------------- */
/* ---------------------------- instruction ---------------------------- */
.showInstruction {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0px;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    text-align: center;
    display: none;
    z-index: 10000;
}

.showInstruction .box {
    width: 80%;
    max-width: 840px;
    margin: auto;
    border-radius: 25px;
    height: 80vh;
    position: relative;
    top: 20vh;
}

.showInstruction .box img {
    width: 100%;
    cursor: pointer;
}

/* ------------------------------------------------------------- */
/* ---------------------------- Audio ---------------------------- */
.voiceIntro {
    text-align: center;
    position: fixed;
    width: 100vw;
    bottom: 20px;
    display: none;
    /* transform: translate(120px, 50%); */
}

/* ------------------------------------------------------------- */

a,
button,
input,
select {
    pointer-events: auto;
}

.lil-gui {
    z-index: 2 !important;
    /* TODO Solve this in HTML */
}

@media all and (max-width: 640px) {
    .lil-gui.root {
        right: auto;
        top: auto;
        max-height: 50%;
        max-width: 80%;
        bottom: 0;
        left: 0;
    }
}

#overlay {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.7);
}

#overlay button {
    background: transparent;
    border: 0;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 4px;
    color: #ffffff;
    padding: 12px 18px;
    text-transform: uppercase;
    cursor: pointer;
}

#notSupported {
    width: 50%;
    margin: auto;
    background-color: #f00;
    margin-top: 20px;
    padding: 10px;
}