.container{
  display: flex;
  background: linear-gradient(to right, rgb(255, 220, 138), rgb(172, 124, 30));
  padding: 5px;
}
.player{
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width:50%;
  height: 90vh;
  background-color: antiquewhite;
}
.command{
  position:absolute;
  z-index: 1000;
  margin: auto;
  top: 0;
  left:40%;
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
  width: 20%;
  height: 90vh;
  background: rgba(255,255,255,0);
}
.endGame{
  position: absolute;
  z-index:2000;
  display: none;
  padding: 20px;
  top:35%;
  left:35%;
  background-color:#fd5757;
  font-family: 'Lato', sans-serif;
  font-size: xx-large;
  border-radius: 5px;
  align-items: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
.one{
  background-color: rgb(192,192,192);
  font-family: 'Lato', sans-serif;
}
.two{
  background-color: rgb(235, 235, 235);
  font-family: 'Lato', sans-serif;
}
.playerAndScore{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
.player-style{
  font-size: xx-large;
}
.globalScore{
  font-size: 8em;
  color: #fd5757; 
}
.currentScore{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #fd5757;
  padding-top:15px;
  padding-bottom: 15px;
  padding-left: 30px;
  padding-right: 30px;
}
.score{
  color: white;
  padding: 10px;
  font-size: 2em;
}
.dice{
  width: 80px;
  height: 80px;
  box-shadow: 4px 4px 15px lightgray;
  background-color: rgb(249, 253, 253);
}
.fontCommand{
  font-family: 'Lato', sans-serif;
  font-size: x-large;
}
.commandItem{
  display: flex;
  justify-content: space-around;
  flex-direction: column;
  align-items: center;
}
.button{
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}
.button:hover{
  cursor: pointer;
}
.material-icons-outlined.rouge600 { 
  color: #fd5757; 
  margin-right: 20px;
  font-size: 36px;
}
#nbDice{
  max-width: 100%;
  max-height: 100%;
}

.circle{
  color: #fd5757;
}
#circle2{
  display: none;
}

@media screen and (max-width: 700px){
  
  .command{
    flex-direction: row;
    width: 100%;
    margin: 5px;
    left:auto;
  }
  .newGame{
    flex-direction: column;
  }
  .player{
    justify-content: space-between;
    padding-top: 30px;
  }
  .globalScore{
    font-size: 6em;
  }
  .currentScore{
    margin-bottom: 30px;
  }
  .button{
    flex-direction: column;
  }
  .fontCommand{
    font-size: medium;
  }

}
#close:hover{
  cursor: pointer;
  color:#fff;
}

#modale{
  width:100%;
  height:100%;
  z-index: 10;
  position: absolute;
  top:0;
  left:0;
  background-color: rgba(0, 0, 0, 0.559);
}
