:root {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
    --wemine-orange: #E64100;
    --wemine-black: #000000;
    --theme-background: var(--wemine-orange);
    --theme-text: #fff;
    --toolbar-height: 0px;
    /* --toolbar-height: 80px; */
    letter-spacing: 0.5px;
}

@media only screen and (max-width: 480px) {
    :root {
        /* --toolbar-height: 60px; */
    }
}


body, html{
    position: fixed;
	padding: 0px;
    margin: 0px;
    overflow-x: hidden;
    height: calc(var(--vh, 1vh)*100);
    width: calc(var(--vh, 1vw)*100);
    font-family: -apple-system, Roboto, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background: var(--wemine-black);
    overflow: hidden;
}
.no-select {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}
/* start home page content */
.homepage {
    position: absolute;
    /* background: url(../images/splash.png); */
    background-position: bottom center;
    background-repeat: no-repeat;
    background-origin: border-box;
    background-size: cover;
    text-align: center;
    color: var(--theme-text);
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#homepage-wrapper {
    position: absolute;
    width: calc(var(--vw, 1vw)*100 - min(120px, var(--vw, 1vw)*16));
    padding: max(90px, calc( var(--vh, 1vh)*100 - max(540px, var(--vh, 1vh)*50) - 60px )) min(60px, var(--vw, 1vw)*8);
    text-align: center;
    top: 60%;
    transform: translateY(-40%);
}
@media screen and (max-width: 600px), screen and (max-height: 600px){
    .homepage{
        overflow-y: scroll;
    }
    #homepage-wrapper {
        position: relative;
        width: calc(var(--vw, 1vw)*100 - min(120px, var(--vw, 1vw)*16));
        padding: max(90px, calc( var(--vh, 1vh)*100 - max(540px, var(--vh, 1vh)*50) - 60px )) min(60px, var(--vw, 1vw)*8);
        text-align: center;
    }
}


.home-title {
    font-size: 42px;
    font-weight: 300;
    letter-spacing: 3px;
}
.home-title:lang(en) {
    letter-spacing: 0.5px;
}
.home-description {
    font-size: 20px;
    line-height: 28px;
    margin: 10px auto;
    display: none;
    letter-spacing: 0.5px;
    word-break: keep-all;
    max-width: 756px;
    display: flex;  
    flex-wrap: wrap;
}
.home-description:lang(en){
    width: fit-content;
    max-width: 680px;
    font-weight: 300;
}

.external-link{
    cursor: pointer;
    color: #000000;
    text-decoration: underline; 
}

.external-link:hover{
    color:#00E5FF
}
.external-link img:hover {
    fill: #00E5FF
}


@media only screen and (max-width: 480px) {
    .home-title {
        font-size: 34px;
        letter-spacing: 2ox
    }
    .home-title:lang(en) {
        font-size: 30px;
        letter-spacing: 0.5px;
    }
    .home-description {
        word-break: break-word;
        font-size: 16px;
        line-height: 20px;
    }
}
@media only screen and (min-width: 800px) {
    .home-description {
        width:auto;
    }
}

.intro {
    background-color: var(--wemine-black);
    /* opacity: 0.75; */
    width: fit-content;
    align-self: center;
    margin: 10px auto;
    padding: 8px 15px;
    border-radius: 10px;
}
@media only screen and (max-width: 480px) {
    .intro {
        margin: 10px 0px 25px 0px;
        padding: 8px 10px;
    }
}

#home-lang-selector {
    width: 280px;
    margin: auto;
}

#home-language-selected {
    line-height: 50px;
    padding: auto;
    font-size: 16px;
    vertical-align: center;
    letter-spacing: 1px;
    min-width: 100px;
    max-width: 100px;
    
}
#home-language-selected::before{
    content: url('../images/icon/globe-solid.svg');
    padding-right: 10px;
    vertical-align: middle;
    color: var(--theme-text);
}

.language-menu {
    height: 150px;
    border-radius: 10px;
    display: none;
    background-color: var(--wemine-black);
    color: var(--theme-text);
    text-align: center;
    display: none;
    box-shadow: 2px 2px 4px grey;
}

.language-menu > div{
    line-height: 50px;
    display: block;
    cursor: pointer;
}
/* .language-menu > div:first-child{
    font-size: 14px;
} */

::placeholder{
    color: #CCCCCC;
}

.zoom-icon {
    color: var(--wemine-black);
}

.zoom-icon.disabled {
    color: #CCCCCC;
}

input[type="password"]
{
    color: #000000;
    border: 0;
    border-radius: 30px;
    background-color: #ffffff;
    outline: 0;
    font-size: 18px;
    width: 260px;
    position: relative;
    margin-top: 20px;
    padding: 10px;
    z-index:19999;
    text-align: center;
    display: none;
}
@media only screen and (max-width: 480px) {
    input[type="password"]
    {
        font-size: 16px;
    }
}




#magic-word-error{
    color:var(--wemine-black);
    display: none;
    word-break: keep-all;
}


#logo{
    position:absolute;
    z-index:10002;
    top: 30px;
    left: 15px;
    height: min(90px, max(50px, var(--vh, 1vh)*6.5));
}
@media only screen and (max-width: 480px) {
    #logo{
        top: 20px;
        left: 20px;
    }
}


#lang{
    position:absolute;
    z-index:10002;
    top: 35px;
    right: 27px;
    /* color: #000; */
    filter: invert(100%);
    cursor: pointer;
}

#home-bgm{
    color: #cccccc;
    height: 24px;
    margin: auto;
    width: 200px;
    background-color: var(--wemine-black);
    border-radius: 8px;
    padding: 2px;
}

#home-bgm-icon{
    height:20px;
    padding: 2px;
    display: inline-block;
}

#home-bgm-text{
    position: relative;
    transform: translateY(-50%);
    font-size: 12px;
    display: inline-block;
}

#audio{
    position: fixed;
    z-index:10002;
    left: 27px;
    height: 25px;
    cursor: pointer;
    display: none;
    bottom: calc(var(--toolbar-height) + 25px);
}

#main-lang-menu{
    position:absolute;
    z-index:10002;
    top: 35px;
    right: 27px;
    display: none;
    width: 100px;
}


@media only screen and (max-width: 480px) {
    .language-menu{
        height: 120px;
        width: 80px;
    }
    .language-menu > div{
        line-height: 38px;
    }
}

.loading{
	position: fixed;
	left: 0px;
	top:0px;
	width: 100%;
	height: 100%;
	background-color: var(--wemine-black);
	color: var(--theme-text);
	z-index: 10001;
	display: none;
}
.loading-container {
    position: relative;
}
.loading-content{
	position: absolute;
	width: 300px;
	height: 40px;
	left: calc(var(--vw, 1vw)*50 - 150px);
	top:calc(var(--vh, 1vh)*50 - 20px);
	text-align: center;
}

canvas{
	display: block;
    z-index: 9999;
    height: 100%;
    width: 100%;
}

div#container {
    display: block;
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

.toolbar-container {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    background: var(--theme-background);
    height: var(--toolbar-height);
    width: 100%;
    white-space: nowrap;
    display: none;
}
/* @media only screen and (max-width: 480px) {
    .toolbar-container{
        height: 60px;
    }
} */



.zoom-container{
    position: relative;
    top: 0px;
    /* right: -50px; */
    right: 50px;
    width: 0;
    height: 0;
    float: right;
}

.zoom-toolbar{
    position: absolute;
    right: 0px;
    top: -70px;
    height: 40px;
    width: 90px;
    background-color: #ffffff;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0,0,0, 50%);
}
@media only screen and (max-width: 480px) {
    .zoom-toolbar{
        right: 8px;
        top: -65px;
        height: 40px;
        width: 90px;
    }
}

.zoom-icon {
    height: 30px;
    width: 24px;
    padding: 5px;
    cursor: pointer;
}

.toolbar {
    position: sticky;
    position: -webkit-sticky;
    position: -moz-sticky;
    position: -o-sticky;
    display: inline-block;
    width: calc(100% - 120px);
    height: 100%;
    overflow-x: scroll;
    white-space: nowrap;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.toolbar::-webkit-scrollbar{
    display: none;
}

.button {
    position: relative;
    width: min-content;
    max-width: 100px;
    height: calc(100% - 40px);
    padding: 0px 18px;
    margin-left: auto;
    margin-right: auto;
    /* font-size: 14px; */
    font-size: 16px;
    color: #999999;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    white-space: break-spaces;
    word-wrap: break-word;
    height: var(--toolbar-height);
}
.button-wrapper {
    width: min-content;
    height: var(--toolbar-height);
    display: table;
}
@media only screen and (max-width: 480px) {
    .button {
        padding: 0px 15px;
    }
    /* .button-wrapper{
        height: 50px;
    } */
}


.button-wrapper:lang(en) {
    width: min-content;
}


.button span {
    /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%); */
    width: 120px;
    font-weight: bold;
    display: table-cell;
    vertical-align: middle;
}

.button:lang(en) {
    font-size: 14px;
}

.button.selected >.button-wrapper{
    color: #fff;
    box-shadow: inset 0  -7px  var(--wemine-black);
}
.button-wrapper:lang(en){
    width: min-content;
}

.arrow{
    display:inline-block;
    height: 40px;
    width: 20px;
    padding: 25px 20px; 
}
@media only screen and (max-width: 480px) {
    .arrow {
        padding: 10px 20px; 
    }
}


#left{
    float: left;
}
#right{
    float: right;
}

div#startButton {
    display: none;
    margin: 20px auto;
    width: 100px;
    height: 20px;
	background-color: var(--wemine-black);
    color: #fff;
    font-family: sans-serif;
    position: relative;
    text-align: center;
    padding: 10px;
    border-radius: 25px;
    cursor: pointer;
    letter-spacing: 1.5px;
    box-shadow: 2px 2px 4px rgba(0,0,0, 50%);
}

/* end of home page content */

/* panorama styling */
.gyrobutton{
	width: 50px;
	height: 66px;
	display: none;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 10000;
}
.popup{
	position: absolute;
    width: 300px;
    height: 300px;
    background-color: #ffffff;
    border-radius: 10px;
    top: 0;
    left: 0px;
    z-index: 10000;
}
.hoverlabel{
	position: absolute;
	top:0px;
	left: -500px;
	text-align: center;
    padding: 10px;
    background-color: var(--theme-background);
    margin-top: -80px;
    width: 120px;
    margin-left: -70px;
    color: #fff;
    border-radius: 10px;
}

.hoverlabel img{
	display: none;
}

.annotation {
    position: absolute;
    z-index: 1;
    margin-left: 15px;
    margin-top: 15px;
    padding: 1em;
    width: 400px;
    margin-left: -100px;
    margin-top: 50px;
    color: #fff;
    background: var(--theme-background);
    border-radius: .5em;
    font-size: 12px;
    line-height: 1.2;
    transition: opacity .5s;
    top:0px;
	left: 0px;
    opacity: 0;
}

@media only screen and (max-width: 480px) {
    .annotation {
        width: 250px;
        padding: 1em;
    }
}
.annotation.fullscreen {
    height: auto;
    width: 800px;
    max-width: min( calc(var(--vw, 1vw)*100 - 2em ),  calc(var(--vh, 1vh)*100 - 2em - var(--toolbar-height)) );
    max-height: min( calc(var(--vw, 1vw)*100 - 2em ),  calc(var(--vh, 1vh)*100 - 2em - var(--toolbar-height)) );
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin-left: 0;
    margin-top: 0;
    overflow-y: auto;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 50%);
}

.annotation-body img {
    width: 100%;
    max-width: 100%;
}
.annotation-title {
    font-size: 20px;
    margin-bottom: 8px;
    margin-right: 20px;
    display: block;
}

.annotation-title img{
    display: block;
}

.annotation-body {
    font-size: 16px;
    display: block;
}
.close-btn {
    position: sticky;
    margin-bottom: -15px;
    right: 0px;
    top: 0px;
    cursor: pointer;
    text-align: right;
}
.close-btn:hover{
	color: var(--wemine-black);
}

@media only screen and (max-height: 500px) {
    #homepage-wrapper {
        top: 0;
        transform: translateY(0);
    }
    .home-title {
        font-size: 20px;
    }
    .home-description {
        font-size: 12px;
        line-height: 15px;
    }
    #home-bgm {
        height: 14px;
    }
    #home-bgm-icon {
        height: 12px;
    }
    #home-bgm-text{
        height: 12px;
        line-height: 14px;
        padding: 2px;
        transform: translateY(-25%);
    }
    .annotation.fullscreen {
        top: 40%;
    }
}