@import url('https://font.emtech.cc/css/Iansui');

body {
	font-family: "Iansui", PingFang, STHeiti, "Noto Sans TC", "Microsoft JhengHei", sans-serif, serif;
	margin:0;
	backdrop-filter: blur(20px);
}

/* CSS Grid Styles */
.container {
	display: grid;
	flex-direction: column;
}
.container > *{
	grid-area: 1 / -1;
}

/* Each item in the grid contains numbers */
.item {
	/* Center the contents of the grid items. Making each grid item a Flex Container */
	display: flex;

	/* Horizontal and Vertical centering */
	justify-content: center;
	align-items: center;
}

.item0{
	height: 100dvh;
	z-index:3;
}

.item1{
	z-index:4;
}

#bgm {
	width:0;
	height:0;
}

video{
	width:100dvw;
	height:100dvh;
	object-fit: contain;
}

#tips:hover
{
	cursor:pointer;
}

#opening, #home, #trans, #quote_bg, #quote_content{
	display:none;
}

#play_button {
	display:none;
	height:100dvh;
	width:100dvw;
}
 
 #master {
	display:none;
 }

/*desktop */
@media only screen and (min-width: 1200px){

#quote_content{  
	max-height:50dvh;
	text-align: justify;
	writing-mode:vertical-rl;
	text-orientation:upright;
	font-size:2.2rem;
	letter-spacing:0.1rem;
	line-height: 1.7;
	order:2;
}

#master{
	width:9rem;
	height:20rem;
	order:1;
}
}

/*landscape */
@media only screen and (max-width: 1440px) and (orientation: landscape){

#quote_content{  
	max-height:50dvh;
	text-align:justify;
	writing-mode:vertical-rl;
	text-orientation:upright;
	font-size:1.3rem;
	letter-spacing:0.1em;
	line-height: 1.7;
	order:2;
}

#master{
	width:5rem;
	height:12rem;
	order:1;
}
}
/* phone */
@media only screen and (max-width: 1024px) and (orientation: portrait){

.item0{
		padding-bottom:5rem;
}

#quote_content{
	max-width: 40dvw;
	writing-mode:horizontal-tb;
	text-align:justify;
	font-size:1.1rem;
	letter-spacing:0.15rem;
	line-height: 1.7;
	order:1;
}
#master{
	width:10rem;
	height:5rem;
	order:2;
}
}
/* tablet */
@media only screen and (min-width: 768px) and (orientation: portrait){

.item0{
		padding-bottom:5rem;
}

#quote_content{
	max-width: 38dvw;
	writing-mode:horizontal-tb;
	text-align:justify;
	font-size:1.2rem;
	letter-spacing:0.15rem;
	line-height: 1.7;
	order:1;
}

#master{
	width:10rem;
	height:5rem;
	order:2;
}
}