

/*
 *  SquadChess.com
 *  
 *  CSS display configuration.
 *  
 *  Created by Scott Johnstone 
 *  ©2022 Austere Games
 *  
 *  info@squadchess.com
 * 
 */


body {
	transition: opacity 1s, background 1s;
}

.bovr hr {
	width:100%; 
	height: 0;
}




#covr_intro_dek {
	transform: translateY(-66%);
}

#byd_ctr_dek {
	flex-basis: 100%;
	font-size: min(2.3vw, 3vh);
}



#byd_btn_scrSkip {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	flex-flow: row wrap;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	color: #eee;
	background: #6683a0;
	font-size: min(3.5vw, 3.6vh);
	z-index: 100;
	display: none;
}

#byd_btn_scrSkip:hover {
	background: #619dd6;
}




#byd_dlg_plr,
#byd_dlg_opp {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-flow: row;
}

#byd_dlg_plr span {
	color: #ccc;
}

#dlg_plr_avt_wrap,
#dlg_opp_avt_wrap {
    height: fit-content;
    width: 21%;
	padding: 0 min(0.6vw, 0.6vh);
    margin-right: 2%;
    flex-flow: column;
    display: none;
}

#dlg_plr_avt_wrap {
    background: #555;
    box-shadow: 0 0 7px #999;
}

#dlg_opp_avt_wrap {
    background: #ccc;
    box-shadow: 0 0 7px #777;
}

#dlg_plr_avatar,
#dlg_opp_avatar {
	position: relative;
	height: min(7vw, 7vh);
    margin-bottom: min(0.5vw, 0.5vh);
}

#dlg_plr_avt_name,
#dlg_opp_avt_name {
	font-size: min(1.8vw, 1.8vh);
}

#dlg_plr_txt,
#dlg_opp_txt {
    width: 77%;
	font-size: min(2.3vw, 2.8vh);
	text-align: left;
}

#dlg_nar_txt {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 36%;
	height: 20%;
	transform: translate(-50%, -50%);
	padding: min(1vw, 1vh);
	background: #222222f7;
	border: 4px solid #999;
	box-shadow: 0 0 20px #111111e3;
	font-size: min(2.3vw, 2.8vh);
	text-align: left;
	color: #ccc;
	pointer-events: none;
	z-index: 101;
	display: none;
}

#dlg_ovr {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 99;
}






.scr_door {
	font-size: min(6.6vw, 6.6vh);
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 1;
}

.scr_tree {
	font-size: min(6.6vw, 6.6vh);
	opacity: 0;
	transition: opacity 0.4s;
	z-index: 1;
}





.zzz {
	position: fixed;
	font-size: min(3vw, 3vh);
	opacity: 1;
	transition: top 2s ease-in, left 0.333s ease-in-out, font-size 2s ease-in, opacity 1.7s ease-in;
	pointer-events: none;
	z-index: 5; 
}




#ht_marquis,
#ht_marquis_sub {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: min(20vw, 20vh);
	color: #eee;
	animation: anim_ht_marquis_flash 1s infinite;
	z-index: 101;
}

#ht_marquis_sub {
	top: 60%;
	font-size: min(5vw, 5vh);
	width: 100%;
}

#ht_talk {
	position: fixed;
	top: 75%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: min(4.4vw, 4.4vh);
	color: #eee;
}





#bovr_scr_ready h1 {
    margin: 2% 5% -8% 5%;
}

#bovr_scr_ready_btn {
	width: 30%;
	height: 11%;
    margin-top: -4%;
    margin-bottom: 4%;
    border-radius: 13px;
	color: #222;
}




#bovr_govr_hide {
	position: absolute;
    top: 3.3%;
    right: 4%;
    width: 9%;
	aspect-ratio: 1/1;
	cursor: pointer;
}

#bovr_govr_retry,
#bovr_govr_newgame,
#bovr_govr_menu {
	height: 15%;
    width: 30%;
    margin: 0 5%;
    border-radius: 13px;
    color: #222;
}




@keyframes anim_ht_marquis_flash {
	0%	{ color: #f00; }
	20%	{ color: #0f0; }
	40%	{ color: #00f; }
	60%	{ color: #f00; }
	80%	{ color: #0f0; }
	100%{ color: #00f; }
}







