/*Melody*/
body{
	background-image: url(../images/bgd.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

.p-badge, .p-score, .p-stat {
	transform: rotateY(0) rotateX(-18deg);
    perspective: 100px;
    transform-origin: bottom;
}

#container #instructions p {
	font-size: 16px;
	line-height: 20px;
	color: #ccc;
}

#container.ready .game-ready h1 {
	font-size: 40px;
	font-weight: bold;
}
#container.ready .game-ready h2 {
	font-size: 20px;
	font-weight: 400;
}
.input-wrap .inp {
	font-size: 18px;
	font-family: 'Bull',Arial,sans-serif;
}
.game-over-content .replay {
	cursor: pointer;
}

.podium {
    overflow: visible;
    perspective: 400px;
    padding: 0 10px;
	height: 130px;
	max-width: 480px;
	margin: 0 auto;
}
.btop {
	width: 92%;
	position: absolute;
	top: -29px;
	height: 35px;
	background: #7C0624;
	transform: rotatex(25deg);
	transform-style: preserve-3d;
	transform-origin: 0;
}
.p-score .btop {
    top: -28px;
}
.p-badge {
	position: relative;
	left: 15px;
}
.p-stat {
	right: 15px;
	position: relative;
}
.p-score {
    z-index: 3;
    font-size: 18px;
}


.all-scores .level {
	position: relative;
	min-width: 100px;
}
.all-scores .level h4 {
	margin: 0;
	font-weight: 700;
	color: #db0a40;
	text-transform: uppercase;
}

.all-scores .level h4 span{
	display: block;
	text-align: center;
}

.all-scores li.highlight .level h4 {
	color: #fff;
}
.score-board-content .week-number{
	z-index: 2;
}

.close-score-board{
	font-size: 0;
	width: 40px;
	height: 40px;
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
}
.close-score-board:hover{
	opacity: 0.6;
}
.close-score-board::before {
	content: "";
	width: 28px;
	height: 2px;
	background: #fff;
	position: absolute;
	top: 18px;
	left: 4px;
	transform: rotate(45deg);
}
.close-score-board::after {
	content: "";
	width: 28px;
	height: 2px;
	background: #fff;
	position: absolute;
	top: 18px;
	left: 4px;
	transform: rotate(-45deg);
}
#top-bar .levels .level h4 span {
	font-weight: 700;
	color: #fff;
}

.score-board-content .your-score{
	height: 220px;
	padding: 0;
}

.score-board-content .other-scores{
	height: calc(100% - 220px);
}

.all-scores{
	padding: 0 0 50px;
}

.score-board-content .other-scores{
	padding: 0;
}

.all-scores li{
	padding: 15px 10px;
}

.all-scores li span{
	flex: unset;
	padding: 0 5px;
	font-size: 15px;
}

.all-scores .level h4 span{
	font-size: 13px;
	line-height: 13px;
	letter-spacing: 0.5px;
}

.all-scores li span.uname{
	flex: 1;
}

.all-scores li span.uscore{
	padding: 0 15px;
}

.all-scores li.highlight span.uposition,
.all-scores li.highlight span.uname,
.all-scores li.highlight span.uscore{
	font-weight: 700;
	font-size: 16px;
}

.podium .p-badge .levels{
	padding: 0 15px 0 0;
}

.podium .p-stat .rank {
    padding: 0 0 0 15px;
    font-weight: 700;
    font-size: 20px;
	line-height: 20px;
	margin: 0;
    text-transform: lowercase;
	display: block;
}

.podium .p-score h4,
.podium .p-stat h4.rank-title{
    margin: 5px 0;
    max-width: 90px;
    margin: 0;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 16px;
    padding: 0 0 10px;
	display: block;
}

.podium .p-stat h4.rank-title{
	padding: 0 0 7px 15px;
	font-size: 15px;
    line-height: 15px;
}

.podium .p-score .score{
	font-size: 30px;
	line-height: 30px;
	padding: 0;
	margin: 0;
	font-weight: 700;
}

.podium .p-badge img{
	max-width: none;
	width: 42px;
	margin: 0 auto;
	display: block;
}

.podium .p-badge h3{
	display: none;
}

#container.ended .podium .p-badge .levels .level h4,
.podium .p-badge .levels .level h4{
	display: block;
}

.podium .p-badge h4{
	padding: 5px 0 0;
	margin: 0;
}

.podium .p-badge h4 span{
	display: block;
	font-size: 14px;
	line-height: 14px;
	text-transform: uppercase;
}

.podium .p-badge,
.podium .p-score{
	flex-grow: 0.35;
}

.podium .p-stat{
	flex: 0.3;
}

@media only screen and (max-width: 460px) {
	#container .game-over-popup .game-over-content{
		padding: 30px 10px;
	}

	#container .game-over-popup .game-over-content .game-over-content-wrap{
		padding: 25px 10px 0;
	}
}

@media only screen and (max-width: 420px) {
	#container .game-over-popup .game-over-content .game-over-content-wrap{
		padding: 25px 5px 0;
	}
}


@media only screen and (max-width: 375px) {
	#container .game-over-popup .game-over-content .game-over-content-wrap{
		padding: 25px 0 0;
	}

	.rbmform-container{
		padding: 0 10px;
	}

	#container .game-over-popup .game-over-content{
		padding: 30px 5px;
	}
}

@media only screen and (max-width: 360px) {
	#container .game-over-popup .game-over-content{
		width: 95%;
	}
}

@media only screen and (max-width: 360px) {
	.podium{
		padding: 0;
	}
}
