/**********************************************
*** GENERAL
**********************************************/


.ion-ios-loop::before{
	content:"\f45a"
}
.score {
  height:30px;
  width:auto;
}

html{
	height: -webkit-fill-available;
	-webkit-user-select: none;
}

body{
      min-height: 80vh;
	  min-height: -webkit-fill-available;
    }

.final-score {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 520px;
  color: #555;
  font-size: 18px;
  font-family: "Lato";
  text-align: center;
  padding: 10px;
  width: 160px;
  text-transform: uppercase;
}

#game-play {
	background: linear-gradient(#FFF4F2, #E9B1A3);
    /*background-color: #00AA78;*/
    margin: 1vh 1px 3px 0px;
  height: calc(74vh - 10px);
  overflow: hidden;
}
.final-score:focus {
  outline: none;
}

/*
#dice-1 {
  left: 200px;
}
#dice-2 {
  left: 250px;
}
#dice-3 {
    left: 300px;
}
#dice-4 {
    left: 350px;
}
#dice-5 {
    left: 400px;
}
#dice-6 {
    left: 450px;
}
*/
/*
* {
  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(back.jpg);
  background-size: cover;
  background-position: center;
  font-family: Lato;
  font-weight: 300;
  position: relative;
  height: 100vh;
  color: #555;
}

.wrapper {
  width: 1000px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  box-shadow: 0px 10px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
*/
.player-0-panel,
.player-1-panel {
  width: 50%;
  float: left;
  height: 600px;
  padding-top: 150px;
  padding-left: 100px;
  padding-right: 100px;
  padding-bottom: 100px;
}

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

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

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

.active {
  background-color: #f7f7f7;
}
.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: white;
}

.player-current-score {
  font-size: 30px;
}
.rotate {
	position: relative; 
	top: 15%;
	transform: translateX(-50%) translateY(-50%) rotate(90deg);
}

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

button:hover {
  /*font-weight: 600;*/
}
button:hover i {
  /*margin-right: 20px;*/
}

button:focus {
  outline: none;
}

i {
  color: #FF00DC;
  font-weight: bold;
  display: inline-block;
  margin-right: 15px;
  font-size: 32px;
  line-height: 1;
  vertical-align: text-top;
  margin-top: -4px;
  transition: margin 0.3s;
}
#round-score {
	background-color: white;
	width: 150px;
    position: absolute;
    border-radius: 10px;
    top: 15px;
    height: 35px;
    border: 1px solid #FF00DC;
	color: red;
	padding-top: 5px;
	display: flex;
    justify-content: center;
}
.btn-new {
/*  top: 0px;
  text-align: left;
  width: 150px;
  padding-top: 10px;
*/
  position: relative;
  border: 1px solid #FF00DC;
  border-radius: 10px;
  margin-left: 5px;	
}
.btn-nick {
/*  top: 90px;
  text-align: left;
  width: 150px;
    padding-top: 10px; 
  */
   position: relative;
  border: 1px solid #FF00DC;
  border-radius: 10px;
  margin-left: 5px;
  margin-top: 3px;  
}
.btn-join {
/*  top: 90px;
  text-align: left;
  width: 150px;
    padding-top: 10px; 
  */
   position: relative;
  border: 1px solid #FF00DC;
  border-radius: 10px;
  margin-left: 5px;
  margin-top: 3px;  
}
.btn-host {
/*  top: 45px;
  text-align: left;
  width: 150px;
    padding-top: 10px;  
*/
  position: relative;
  border: 1px solid #FF00DC;
  border-radius: 10px;
  margin-left: 5px;
  margin-top: 3px;
}
.btn-roll {
  border-radius: 10px;
  background-color: white;
  border: 1px solid #FF00DC;
  margin-left: 5px;	
  /*top: 403px;*/
  height: 35px;
}
.btn-bank {
  border-radius: 10px;
  background-color: white;
  border: 1px solid #FF00DC;
  margin-left: 5px;
  width: 75px !important;
  height: 35px;
  left: 75px;	
  /*top: 403px;*/
}
.btn-restart {
  border-radius: 10px;
  background-color: white;
  border: 1px solid #FF00DC;
  margin-left: 5px;	
  /*top: 403px;*/
  height: 35px;
  display: flex;
  justify-content: center;
  position: fixed;

}
.btn-hold {
  top: 467px;
  display:none;
}

.dice {
  height: 40vw !important;
  margin-left: -7px;
  width:auto !important;
  max-height: 200px;
  /*box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.1);*/
}
.rollText {
  height: 10vw !important;
  margin-left: -7px;
  width:auto !important;
  max-height: 200px;
  /*box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.1);*/
}
.rollScore {
  height: 15vw !important;
  margin-left: -7px;
  width:auto !important;
  max-height: 200px;
  /*box-shadow: 0px 10px 60px rgba(0, 0, 0, 0.1);*/
}
.winner {
  background-color: #f7f7f7;
}
.winner .player-name {
  font-weight: 300;
  color: #eb4d4d;
}

.stored-dice {
/*    position: absolute;
    top: 150px;
    left: 200px;
    right: 200px;
    height: 50px;
    border: 2px solid blue;*/
}
.rolled-dice {
/*	position: absolute;
	top: 80px;*/
}

/* @media screen and (prefers-color-scheme: dark) {
    body {
        background-image:linear-gradient(to bottom, #585858 0%, #1B1B1B 51%);
    }
} */