#dice-1 {
	top: 120px;
}

#dice-2 {
	top: 250px;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

body {
	background-image: linear-gradient(rgba(62, 20, 20, 0.4), rgba(62, 20, 20, 0.4)), url(../images/backgrounds/background.jpg);
	background-size: cover;
	background-position: center;
	font-family: Lato;
	font-weight: 300;
	position: relative;
	height: 100vh;
	color: #fdffb6;
}

.wrapper {
	width: 1000px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #3d3b38d3;
	/* for the bkgrnd transparency */
	box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.6);
	overflow: hidden;
}

.player-0-panel,
.player-1-panel {
	width: 50%;
	float: left;
	height: 600px;
	padding: 100px;
}


/**********************************************
*** PLAYERS
**********************************************/

.player-name {
	font-size: 40px;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 100;
	margin-top: 20px;
	margin-bottom: 10px;
	position: relative;
}

.player-score {
	text-align: center;
	font-size: 80px;
	font-weight: 300;
	color: #62cc42;
	margin-bottom: 130px;
}

.active {
	background-color: #141313ec;
}

.active .player-name {
	font-weight: 300;
}

.active .player-name::after {
	content: "\2022";
	font-size: 47px;
	position: absolute;
	color: #EB4D4D;
	top: -7px;
	right: 10px;
}

.player-current-box {
	background-color: #EB4D4D;
	color: #fff;
	width: 40%;
	margin: 0 auto;
	padding: 12px;
	text-align: center;
}

.player-current-label {
	text-transform: uppercase;
	margin-bottom: 10px;
	font-size: 12px;
	color: #222;
}

.player-current-score {
	font-size: 30px;
}

button {
	position: absolute;
	width: 200px;
	left: 50%;
	transform: translateX(-50%);
	color: #ff5400;
	background: none;
	border: none;
	font-family: Lato;
	font-size: 20px;
	text-transform: uppercase;
	cursor: pointer;
	font-weight: 500;
	transition: background-color 0.3s, color 0.3s;
}

button:hover {
	font-weight: 700;
}

button:hover i {
	margin-right: 20px;
}

button:focus {
	outline: none;
}

i {
	color: #EB4D4D;
	display: inline-block;
	margin-right: 15px;
	font-size: 32px;
	line-height: 1;
	vertical-align: text-top;
	margin-top: -4px;
	transition: margin 0.3s;
}

.btn-new {
	top: 45px;
}

.playerturn {
	top: 360px;
}

.btn-roll {
	top: 425px;
}

.btn-hold {
	top: 475px;
}

.dice {
	position: absolute;
	left: 50%;
	top: 178px;
	transform: translateX(-50%);
	height: 100px;
	box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.10);
}

.winner {
	background-image: linear-gradient(145deg, #fdffb6, #f1786fbb);
}

.winner .player-name {
	font-weight: 500;
	color: #EB4D4D;
}

.maxscore {
	position: absolute;
	left: 50%;
	transform: translate(-50%);
	top: 520px;
	color: #ffffff;
	font-size: 18px;
	font-weight: 600;
	font-family: 'lato';
	text-align: center;
	padding: 4px;
	width: 160px;
	font-style: italic;
	/* text-transform: uppercase; */
	border: 5px #62cc42 double;
}

.maxscore:focus {
	outline: none;
}