body { 
	touch-action: none;
	font-family: Arial, sans-serif;
	width: 100%;
	height: 100%;
	margin: 0;
	font-size: 5vw;
}

p {
	text-align: center;
}

h1 {
	margin-top: 0.4em;
	font-size: 1.2em;
}

/*fullpage*/
.fp {
	position: fixed;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	top: 0;
	left: 0;
}

/*version*/
.v {
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	font-size: 0.75em;
}

/*mainpage*/
.mp {
	display: none;
	text-align: center;
}

/*mainpage-icon*/
.mpi {
	margin: auto;
	width: 75%;
}

/*mainpage-logo*/
.mpl {
	/*display: block;*/
	margin: auto;
	width: 90%;
}

/*button-main*/
.bm {
	background-color: black;
	color: white;
	text-align: center;
	width: 8em;
	aspect-ratio: 4/1;
	border-radius: 1em;
	border: 1px solid black;
	white-space: nowrap;
	font-size: 0.8em;
	margin: auto;
}

/*loadingicon*/
.li {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 3cm;
	height: 3cm;
	margin:-1.5cm 0 0 -1.5cm;
	-webkit-animation:s 1s linear infinite;
	-moz-animation:s 1s linear infinite;
	animation:s 1s linear infinite;
	display: block;
}
@-moz-keyframes s { 
	100% { -moz-transform: rotate(360deg); } 
}
@-webkit-keyframes s { 
	100% { -webkit-transform: rotate(360deg); } 
}
@keyframes s { 
	100% { 
		-webkit-transform: rotate(360deg); 
		transform:rotate(360deg); 
	} 
}

@keyframes fi {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes fo {
	0% { opacity: 1; display: block; }
	100% { opacity: 0; }
}

@keyframes fil {
	0% { opacity: 0; left: 100%; }
	100% { opacity: 1; left: 5%; }
}

@keyframes fol {
	0% { opacity: 1; left: 5%; display: block; }
	100% { opacity: 0; left: -100%; }
}

@keyframes fir {
	0% { opacity: 0; left: -100%; }
	100% { opacity: 1; left: 5%; }
}

@keyframes for {
	0% { opacity: 1; left: 5%; display: block; }
	100% { opacity: 0; left: 100%; }
}

/*popup*/
.pu {
	display: none;
}

/*backing-button*/
.bb {
	background-color: transparent;
    outline: none;
	top: 0;
	left: 0;
	z-index: 8;
}

/*popup-form*/
.puf {
	background-color: white;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	border: 0;
	border-radius: 5vw;
	width: 75vw;
	aspect-ratio: 2/3;
	margin: 0;
	outline: black solid 2px;
	text-align: center;
	overflow: hidden;
	z-index: 9;
	padding-left: 5vw;
	padding-right: 5vw;
}

/*popup-error*/
.pue {
	aspect-ratio: 2/1.2;
}

/*popup-header*/
.puh {
	margin-bottom: 0;
}

.ok {
	position: absolute;
	bottom: 10%;
	left: 50%;
	margin-left: -4em;
}

/*button-close*/
.bc {
	background-color: black;
	position: absolute;
	color: white;
	text-align: center;
	width: 7vw;
	height: 7vw;
	border-radius: 5vw;
	border: 1px solid black;
	white-space: nowrap;
	font-size: 5vw;
	top: 2.5vw;
	right: 2.5vw;
}

/*form-tutorial*/
.ft {
	position: absolute;
	width: 90%;
}

/*tutorial-text*/
.tt {
	margin-top: 0%;
	margin-left: 5%;
	margin-right: 5%;
	font-size: 0.80em;
}

/*tutorial-image*/
.ti {
	width: 90%;
	aspect-ratio: 1;
	margin: auto;
}

/*button-small*/
.bs {
	background-color: white;
	color: black;
	text-align:center;
	width: 8vw;
	height: 8vw;
	border-radius: 5vw;
	border: 2px solid black;
	font-size: 1.2em;
	padding: 0;
}

/*button-func*/
.bf { 
}

.bf:disabled {
	color: grey;
	border: 2px solid grey;
}

.bf:hover {
	background-color: #cccccc;
}

.bf:hover:disabled {
	background-color: white;
}

/*button-small-icon*/
.bsi {
	width: 5.5vw;
	height: 5.5vw;
	margin-top: 0.8vw;
}

/*share-button-main*/
.sbm {
	background-color: black;
	color: white;
	text-align: center;
	width: 8em;
	aspect-ratio: 4/1;
	border-radius: 1em;
	border: 1px solid black;
	white-space: nowrap;
	font-size: 0.8em;
	margin: auto;
	padding-right: 1.5em;
}

/*share-button-icon*/
.sbi {
	position: absolute;
	width: 5vw;
	height: 5vw;
}

/*pager*/
.pa {
	position: absolute;
	width: 40%;
	height: 10%;
	font-size: 1em;
	line-height: 150%;
	bottom: 0;
	left: 50%;
	margin-left: -20%;
}

.pal {
	float: left;
}

.par {
	float: right;
}

/*game*/
.g {
	display: none;
}

/*game-canvas*/
.gc {
	position: absolute;
	width: 100%;
	height: 100%;
}

/*game-buttons*/
.gb {
	position: absolute;
	top: 2vw;
	right: 2vw;
	width: 8vw;
	height: 28vw;
	display: table;
    table-layout: fixed;
}

.gb button {
    display: table-cell;
	margin-bottom: 0.5vw;
}

/*phrase*/
.pr {
	background-color: #ffffff;
	display: block;
	position: absolute;
	top: 5vw;
	left: 50%;
	margin-left: -35vw;
	border: 3px solid #00c24d;
	border-radius: 0.5cm;
	padding: 0px;
	width: 70vw;
	z-index: 4;
	outline: black solid 2px;
	text-align: center;
	overflow: auto;
}

/*phrase-header*/
.prh {
	text-align: center;
	color: white;
	background-color: #00c24d;
	margin-top: 0px;
	font-size: 1.2em;
}

/*phrase-text*/
.prt {
	text-align: center;
	color: black;
	font-size: 0.9em;
	padding: 0;
	margin-top: -0.5em;
	margin-bottom: 0.5em;
}

/*phrase text hard mode*/
.prhm {
	position: absolute;
	top: 1%;
	left: 0.135%;
	width: 99.75%;
	height: 98%;
	background-color: white;
	border-radius: 0.5cm;
	border: 0px solid white;
	font-size: 0.9em;
}

/*phrase-clock*/
.prc {
	position: absolute;
	left: 50%;
	margin-left: -30vw;
	text-align: left;
	color: black;
	font-size: 0.7em;
	padding: 0;
}

/*clock-text*/
.ct {
	font-size: 1.25em;
}

/*dropdown-button*/
.db {
	cursor: pointer;
}

/*dropdown*/
.d {
	display: inline-block;
}

/*dropdown-content*/
.dc {
	display: none;
	position: absolute;
	right: 0;
	background-color: #f9f9f9;
	min-width: 35vw;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	border: 2px solid grey;
	font-size: 0.75em;
}

.dc a {
  color: black;
  padding: 2vw 2vw;
  text-decoration: none;
  display: block;
}

.dc a:hover {
	background-color: #f1f1f1
}

/*stats-bar*/
.sb {
	width: 100%;
	height: 3vw;
	background-color: black;
}

/*stats-content*/
.sc {
	text-align: left;
	margin-top: 0.5em;
}

.stat {
	margin-top: 0.5em;
}

.st {
	font-size: 0.75em;
}

/*ad*/
.ab {
	position: absolute;
	bottom: 10px;
	width: 100%;
	aspect-ratio: 5;
	/*outline: black solid 2px;*/
}

.sf {
	font-size: 0.75em;
	text-align: left;
}

.hmm {
	font-size: 0.75em;
}

.att {
	margin: 10px;
}

.pra {
	font-size: 0.6em;
}

.c {
	margin: auto;
}

/*leaderboard*/
.lb {
	position: relative;
	margin-top: 1em;
	margin-bottom: 0.5em;
	height: 5em;
}

.lbl {
	position: absolute;
	width: 100%;
}

/*leaderboard line*/
.lbli {
	position: relative;
	height: 1.4em;
	background-color: #eeeeee;
}

.lblie {
	background-color: #cccccc;
}

/*leaderboard star*/
.lbs {
	position: relative;
	height: 100%;
	aspect-ratio: 1;
}

/*leaderboard image*/
.lbi {
	/*position: absolute;*/
	height: 140%;
	margin-top: -0.31em;
}

/*leaderboard rank*/
.lbr {
	position: absolute;
	top: 0%;
	width: 100%;
	height: 100%;
}

.lbt {
	position: absolute;
	top: 10%;
	left: 15%;
	font-size: 0.8em;
}

.lbc {
	position: absolute;
	top: 10%;
	left: 40%;
	font-size: 0.8em;
}

.lbls {
	position: absolute;
	height: 3em;
	aspect-ratio: 1;
	top: 50%;
	left: 50%;
	margin-top: -1.5em;
	margin-left: -1.5em;
	-webkit-animation:s 1s linear infinite;
	-moz-animation:s 1s linear infinite;
	animation:s 1s linear infinite;
}

.egp {
	font-size: 0.9em;
}

@media only screen and (min-aspect-ratio: 5/9) {
body {
	font-size: 3vh;
}

/*mainpage-icon*/
.mpi {
	width: 40vh;
}

/*mainpage-logo*/
.mpl {
	width: 50vh;
}

/*popup-form*/
.puf {
	border-radius: 2.5vh;
	width: 40vh;
	padding-left: 2.5vh;
	padding-right: 2.5vh;
}

/*button-close*/
.bc {
	width: 3.5vh;
	height: 3.5vh;
	font-size: 2.5vh;
	top: 1vh;
	right: 1vh;
}

/*button-small*/
.bs {
	width: 4.5vh;
	height: 4.5vh;
}

/*button-small-icon*/
.bsi {
	width: 3vh;
	height: 3vh;
	margin-top: 0.5vh;
}

/*share-button-icon*/
.sbi {
	position: absolute;
	width: 3vh;
	height: 3vh;
}

/*form-tutorial*/
.ft {
	font-size: 0.9em;
}

/*phrase*/
.pr {
	top: 2vh;
	width: 40vh;
	margin-left: -20vh;
}

/*phrase-timer*/
.prc {
	margin-left: -17vh;
}

/*game-buttons*/
.gb {
	top:1vh;
	right: 1vh;
	width: 5vh;
	height: 10vh;
}

.gb button {
    display: table-cell;
	margin-bottom: 0.5vh;
}

/*dropdown-content*/
.dc {
	min-width: 20vh;
}

.dc a {
	padding: 1vh 1vh;
}

/*stats-bar*/
.sb {
	height: 2vh;
}

/*button-func*/
.bf:hover {
	background-color: inherit;
}

.bf:hover:disabled {
	background-color: inherit;
}

.ab {
	width: 55vh;
	left: 50%;
	margin-left: -27.5vh;
}
}
