body{
    margin: 0px;
    font-family: "Noto Sans TC";
}

.coverpage{
	animation: coverpagemove 10s cubic-bezier(0, 0, 0.2, 1);

}

.popupbgclass{
	background-color: #ffffff8a;
	background-position: center;
	position: fixed;
	z-index: 103;
}
.popupclass{
	position: fixed;
	z-index: 104;
	Top:5%;
	left: 5%;
	background-color: #000000cc;
	padding: 2%;
	border-radius:10px;
	box-shadow: 0 20px 25px -15px rgb(0 0 0 / 30%);

}
.popupimg{
	width: 100%;
	object-fit: contain;
	height: 100%;
}
.popupvideo{
	width: 100%;
	object-fit: contain;
	height: 100%;
}
.popupclosetextclass{
	color: white;
	position: absolute;
	bottom: 10px;
}

@keyframes coverpagemove {
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

.boxAll{
    grid-template-columns: auto;
    grid-template-rows: auto auto auto auto auto auto;
    position: relative;
    z-index: 1;
}

.box0{
    width: 99%;
    grid-row: 1 / 1 span;
    grid-column: 1 / 1 span;
    z-index: -100;
}

#inbox1920x1080{
    background-color: white;
    width: 100%;
    padding-top: 56.25%;
}
#inbox483x412{
    background-color: white;
    width: 100%;
    padding-top: 85.3%;
}

.video{
    grid-row: 1 / 1 span;
    grid-column: 1 / 3 span;
    width: 100%;
}

#bound-two{
	background-image: linear-gradient(to right, #ffffff, #ffffff ,#ffffff ,#ffffff00, #ffffff00);
	
}
#bound-three {
	position: relative;
	
}
.scroll-bound {
	height: 460vh;

}

.coverpage-container {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%; 
    overflow: hidden;
  }
  .coverpage-container video {
    /* Make video to at least 100% wide and tall */
    min-width: 100%; 
    min-height: 100%; 
  
    /* Setting width & height to auto prevents the browser from stretching or squishing the video */
    width: auto;
    height: auto;
  
    /* Center the video */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }

.content {
	width: 100%;
	position: sticky;
	top: 70px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.scroll-bound {
	height: 640vh;

}

.welcome-arrow
{
	display: grid;
	grid-template-columns:  3% 25% auto 25% 3% ;
	place-items: center ;
	bottom: 2%;
	position: inherit;

}
.welcome-arrow a{
	text-decoration: none;

}
#bntVTid{
    color: black;
    width: 100%;
    height: 200px;
    top: 45%;
    background-color: white;
    text-align: center;
    text-decoration: none;
    box-shadow: inset 3px 5px 12px 0px rgb(0 0 0 / 60%);
    background-image: url(./skin/timelinebntVT.png);
    background-repeat: no-repeat;
    position: absolute;
    display: none;
    animation: coverpagemove 5s cubic-bezier(0, 0, 0.2, 1);
    position: fixed;
    border-style: solid none;
    border-color: #9f7d00;
    background-position: center;
    font-size: 22px;
}
#bntVTid h3{
    font-size: 22px;
    padding-right: 35px;

}
#bntVTid p{
    font-size: 15px;
    padding: 16px 35px 0 0;
}

.arrow{
	font-size: 20px;
	-webkit-writing-mode: vertical-lr;
	animation: blinker 2.5s linear infinite;
	grid-column: 3 / span 1;
	color: gray;

}
.arrow2{
	font-size: 20px;
	-webkit-writing-mode: vertical-lr;
	animation: blinker 3.5s linear infinite;
	grid-column: 3 / span 1;
	grid-row: 2 / span 1;
	color: gray;

}
.welcome{
	width: 100%;
	animation: blinker 3s linear infinite;
	font-size: 25px;
	text-align: center;
	position: absolute;
	bottom: 5%;
	z-index: 106;
}

#myNavbar{
    position: fixed;
    z-index: 2;
    display: none;
    grid-template-columns: 100px auto;
    top: 0;
    width: 100%;
    background-color: white;
}
#NavASDlogo{
    width: 50px;
    grid-column: 1 / 1 span;
    margin: 10px;
    margin-left: auto;
}
#Navsubject{
    grid-column: 2 / 1 span;
    padding-left: 20px;
    align-self: center;
    font-weight: bold;
    font-size: 20px;
}
.NavManu {
    display: inline-grid;
}
#NavManuid{
    right: -250px;
    margin-left: auto;
    border-radius: 0 0 20px 20px;
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
#NavManuid a{
    position: relative;
    right: 0px;
    transition: 0.3s;
    padding: 15px;
    width: 300px;
    text-decoration: none;
    color: black;
    border-radius: 30px 0 0 30px;
    box-shadow: 0px 0 20px 0px rgb(0 0 0 / 10%), inset -5px -5px 12px 0px rgb(0 0 0 / 32%);
    background-image: linear-gradient(to left, #363636 , #ffffffba 3%);
    font-size:15px;
    text-shadow: 1px 1px 7px rgb(255, 255, 255);
    display: grid;
    margin: 1px 0px;
    justify-content: left;
}

#NavManuid a:hover{
    right: 250px;
    background-image: linear-gradient(to left, #363636 , #ffffffce 3%);
    box-shadow: 0px 0 20px 0px rgb(0 0 0 / 60%), inset -5px -5px 12px 0px rgb(0 0 0 / 32%);
}


#NavManuid img{
    grid-column: 1 / 1 span;
    width: 30px;
}


#NavManuid a:hover img{
    width: 120px;
}

#NavManuid a:hover span{
    display: block;
}

#NavManuid span{
    grid-column: 2 / 1 span;
    display: none;
}

#NavManuid h1{
    color: black;
    font-size: 18px;
}
#NavManuid p{
    color: gray;
    font-size: 12px;
}

#NavManuid-bnt{
    display: none;
}

#Nav360Museum{
    position: absolute;
}
#Nav3DModel{
    position: absolute;
}

#coverpageid{
    display: block;
}

@media screen and (max-width: 1368px) {
    .content {
        width: 90%;
        right: 0px;
        position: fixed;
    }

}
@media screen and (max-width: 850px) {
    #myNavbar{
        grid-template-columns:100px auto 10%;
    }
    .content {
        width: 100%;
        right: unset;
        position: fixed;
    }
    .coverpage-container video{
        width: 200%;
        height: 100%;
        left: 48%;
    }

    .NavManu {
        display: none;
    }
    
    #NavManuid {
        right: unset;
        margin-left: unset;
        border-radius: unset;
        position: relative;
        top: unset;
        width: 100%;
        -webkit-transform: unset;
        -ms-transform: unset;
        transform: unset;
        grid-column: 1 / 3 span;
        flex-wrap: wrap;
        flex-direction: row;
        box-shadow: inset -5px -5px 12px 0px rgb(0 0 0 / 32%);
    }
     #NavManuid a {
        position: relative;
        right: unset;
        transition: 0.3s;
        padding: 15px;
        width: 50%;
        text-decoration: none;
        color: black;
        border-radius: unset;
        box-shadow: unset;
        background-image: unset;
        font-size: 15px;
        text-shadow: 1px 1px 7px rgb(255 255 255);
        display: grid;
        margin: 1px 0px;
        justify-content: left;
    }
    #NavManuid a:hover{
        right: unset;
        background-image: linear-gradient(to left, #363636 , #ffffffce 3%);
        box-shadow: 0px 0 20px 0px rgb(0 0 0 / 60%), inset -5px -5px 12px 0px rgb(0 0 0 / 32%);
    }
    #NavManuid a:hover img{
        width: 70px;
    }
    #NavManuid span {
     grid-column: 2 / 1 span;
     display: block;
    }
    #NavManuid img{
        grid-column: 1 / 1 span;
        width: 70px;
    }
    #NavManuid-bnt {
        display: block;
        grid-column: 3 / 1 span;
        grid-row: 1 / 1 span;
        border: unset;
        background-color: white;
        cursor: pointer;
    }
    .navManuShow{
        display: flex;
    }

}