/* fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

:root {
	--primary: #3250FF;
}


body {
	margin: 0;
	background-color: black;
}
iframe {
	display: block;
	position: absolute;
	background-color: transparent;
}

.commonUI {
	width: 100%;
	height: 20%;
	z-index: 999;
	left: 0%;
	top: 0;
	display:none;
	position:fixed;
}

#game-click-blocker{
	z-index: 900;
	display: none;
}

#regulation-drag-area{
	z-index: 10002;
	pointer-events: none;
	touch-action: none;
}

.fs-dialog-text-area {
	font-family: 'Noto Sans', 'Roboto', sans-serif;
}

#regulation-drag-area.captureEvents{
	pointer-events: auto;
	touch-action: auto;
}

.game {
	width: 100%;
	height: 100%;
	top:0;
	position:fixed;
}

.footer {
	bottom:0;
}

.fs-mask{
	position: absolute;
	width: 100%;
	height: 150%;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.3);

	display: flex;
	justify-content: center;
	align-items: center;
}

.fs-mask-text{
	color: white;
	font-weight: bold;
	font-family: Verdana, Arial, sans-serif;
}

.fs-dialog-box-ui{
	font-family: 'Noto Sans', sans-serif;
	font-size: 12px;

	width: 260px;
	padding: 15px;
	border-radius: 15px;
	color: white;
	background-color: rgba(13, 13, 15, 0.85);
	border: 2px solid var(--primary);
	display: none;
	gap: 10px;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	z-index: 999;
}

.fs-dialog-box-ui p{
	margin: 0;
}

.fs-dialog-btn{
	color: #ffffff;
	background-color: var(--primary);
	border-radius: 5px;
	border: none;
	width: 44px;
	height: 25px;
	text-transform: capitalize;
	outline: none;
}

.fs-dialog-button-container{
	display: flex;
	width: 60%;
	justify-content: space-evenly;
	align-items: center;
}

.fs-swipe-img-container{
	width: 100%;
	height: 100%;
	transform: scale(.5);
	display: flex;
	justify-content: center;
	align-items: center;
	bottom: 10%;
	position: relative;
}

.fs-swipe-arrow{
	height: 30%;
	width: auto;
}

.fs-swipe-hand{
	position: absolute;
	transform: scale(1.8);
	left: 47%;
	bottom: 25%;
	animation: fs-swipe-anim 3s linear infinite forwards;
}

@keyframes fs-swipe-anim{
	0%,20%{
		bottom:25%;
	}
	45%{
		opacity: 1;
	}
	70%, 100%{
		bottom: 70%;
		opacity: 0;
	}
}

dialog[open] {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
