html {
	box-sizing: border-box;
	overflow-x: hidden;
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	font-size: 15px;
	line-height: 1.5;

	--color-text: #fff;
	--color-bg-default: #585FD7;
	--color-bg-header: #6C70E5;	
	--color-bg-info: #4B50B9;
	--color-bg-footer: #130048;
	--color-bg-label: #5817B3;
	--color-gold: #F9C25D;
	--color-silver: #B7B5ED;
	--color-bronze: #F87E61;
	--color-tab-line: #fff;

	--color-bg-selected: #fff;
	--color-selected: #000;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	color: var(--color-text);
  background-repeat: no-repeat;
  background-size: 100%;	
	background-attachment: fixed;
	background-color: var(--color-bg-default);	
	font-family: 'ubuntu-bold';
	/* disable long press for preview  */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

a {
	background-color: transparent;
	color: var(--color-text);
}

a:active,
a:hover {
	outline-width: 0
}

h1 {
	font-size: 30px
}

h2 {
	font-size: 24px
}

h3 {
	font-size: 20px
}

h4 {
	font-size: 18px
}

h5 {
	font-size: 16px
}

h6 {
	font-size: 14px
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 400;
	margin: 10px 0
}

#notification {
	position: fixed;
	top: 10px;
	left: 0; 
	right: 0; 
	margin-inline: auto; 
	width: fit-content;			
	color: #000;
	background-color: #F9C25D;
	padding: 10px 50px;
	visibility: hidden;
	text-align: center;
	min-width: 300px;
	font-family: 'Courier New', Courier, monospace;
	font-size: 12px;
}

.close {
	position: fixed;
	right: 16px;
	top: 80px;
	width: 30px;
	height: 30px;
	background-color: rgb(0, 0, 0, 0.3);
	border-radius: 15px;
	border: none;
}
.close:before, .close:after {
	position: absolute;
	top: 4.5px;
	left: 12.5px;
	content: ' ';
	height: 20px;
	width: 4px;
	background-color: #fff;
}
.close:before {
	transform: rotate(45deg);
}
.close:after {
	transform: rotate(-45deg);
}

/* navTop */

.navTop {
	top: 0;	
	position: fixed;
	width: 100%;
	background: var(--color-bg-header);
	font-size: 16px;
}

.navTop.navTopIsHidden {
	display: none;
}

.navTopContainer {
	align-items: center;	
	display: flex;
	height: 50px;
	justify-content: space-between;
	padding: 0 10px 0 20px;	
	margin-top: 60px;
	/* visibility: hidden; */
}

.navTopButton {
	display: flex;
}

.navTopImg {
	height: 32px;
	width: 32px;
}

.navTopLevel {
	margin: auto -22px;
	color: #000;
}

.navTopEnergy {
	margin: auto;
}

.navTopCoins {
	margin: auto 5px;
}

/* navBottom */
.navBottom {
	bottom: 0;
	position: fixed;
	width: 100%;
	background: var(--color-bg-footer);
}

.navBottom.navBottomIsHidden {
	display: none;
}

.navBottomContainer {
	align-items: center;	
	display: flex;
	height: 118px;
	justify-content: space-between;
	padding: 0 24px;
	margin-bottom: 20px;
	/* visibility: hidden; */
}

.navBottomImg {
	height: 54px;
	width: 54px
}

/* mainContent */
.mainContent {
	margin-top: 80px;
	margin-bottom: 140px;
	padding: 20px;
}

.mainContent.navTopIsHidden {
	margin-top: 0px;
}

/* leaderboard */
.leaderboardTop {
	position: fixed;
	top: 0;
	left: 0;
	height: 228px;
	width: 100%;

	display: flex;	
	flex-direction: column;	

	text-align: center;

	background: var(--color-bg-header);
	background-image: url("/img/leaderboard/leaderboard.png");
  background-repeat: no-repeat;
	background-position: 50% 30%;
	background-size: 25%;

	/* visibility: hidden; */
}

.leaderboardHeader {
	width: 100%;	
	margin-top: 58px;
	margin-bottom: 40px;
}

.leaderboardHeader .division {
	text-align: left;	
	margin-left: 40px;
	margin-top: -38px;
	background: var(--color-bg-label);
	border-radius: 16px;
	width: 60px;
	padding-left: 12px;
}

.leaderboardTop > h2 {
	margin: 0;
	padding: 0;
}

.leaderboardTabs {
	height: 40px;
	margin-top: 0px;
	border-bottom: var(--color-tab-line) solid 1px;
}

.leaderboardTabs > ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100%;
}

.leaderboardTabs > ul > li {
	flex: 1 1 0;	
	opacity: 50%;
}

.leaderboardTabs > ul > li.selected {
	color: var(--color-text);
	border-bottom: var(--color-tab-line) solid 4px;
	opacity: 100%;
}

.leaderboardInfoRow {
	background: var(--color-bg-info);
	height: 50px;
	padding: 10px;	
}

.leaderboardInfoRow > img {
	width: 20px;
	height: 20px;
}

.leaderboardInfoRow .completed {
	content: url("/img/leaderboard/completed.png");
}

.leaderboardInfoRow .ongoing {
	content: url("/img/leaderboard/ongoing.png");
}

.leaderboardList {
	margin-top: 218px;
	margin-bottom: 128px;
}

.leaderboardRow {
	display: flex;
	align-items: center;
	margin-bottom: 5px;
	background-color: var(--color-bg-header);
	border-radius: 16px;
	height: 62px;	
	text-decoration: none;
	font-size: 20px;
}

.leaderboardList .owner {
	background-color: var(--color-bg-selected);
	color: var(--color-selected);
}

.leaderboardRow .position {
	width: 50px;
	height: 100%;
	text-align: center;
	border-top-left-radius: 16px;
	border-bottom-left-radius: 16px;
	padding-top: 16px;
}

.leaderboardRow .first {
	background-color: var(--color-gold);
}

.leaderboardRow .second {
	background-color: var(--color-silver);
}

.leaderboardRow .third {
	background-color: var(--color-bronze);
}

.leaderboardRow .nick {
	margin-left: 10px;
}

.leaderboardRow .stepsValue {
	margin-left: auto;	
}

.leaderboardRow .stepsSymbol {
	width: 16px;
	height: 16px;
	margin: 0 20px 0 10px;
}

/* social */
.socialTop {
	position: fixed;
	top: 0;
	left: 0;
	height: 192px;
	width: 100%;

	display: flex;	
	flex-direction: column;	

	text-align: center;

	background: var(--color-bg-header);
	background-image: url("/img/social/social.png");
  background-repeat: no-repeat;
	background-position: 50% 30%;
	background-size: 25%;

	/* visibility: hidden; */
}

.socialTop > h2 {
	margin: 0;
	padding: 0;
}