#phaserGame{
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  background: #000;

  -webkit-user-select: none; /* Désactive la sélection sur Safari */
  -ms-user-select: none;    /* Désactive la sélection sur IE */
  user-select: none;        /* Désactive la sélection sur les autres navigateurs */
  -webkit-touch-callout: none; /* Désactive le menu contextuel sur iOS */
  touch-action: pan-y;
  pointer-events: none;
  overscroll-behavior: none;  /* Empêche le rebond sur iOS */
}

#phaserGame canvas{
  margin: 0 auto;
  display: block;
}

#phaserDOMBox{
  display: none;
}

/* DEFAULT STYLE */
.phaser-dom-container .button{
  border: none;
  cursor: pointer;
  font-family: Open Sans;
  text-transform: uppercase;
  font-weight: 600;
}

.phaser-dom-container .button.button-primary{
  width: 65%;
  font-size: 1rem;
  color: white;
  background-color: #FEA800;
  border-radius: 55px;
  padding: 1rem;
}
.phaser-dom-container .button.button-primary:hover{
  background-color: black;
}


.card.card-games{
  background-color: #fff;
  border-radius: 16px;
  font-size: 12pt;
}

/* .phaser-dom-container .button.button-secondary{
  background: url('../assets/hud/button_secondary.png') no-repeat center center;
  background-size: contain;
  width: 65%;
  height: 37%;

  font-size: 1.2rem;
  color: #FFFFFF;
}
.phaser-dom-container .button.button-secondary:hover{
  background: url('../assets/hud/button_secondary_hover.png') no-repeat center center;
  background-size: contain;
} */

/* PAGE START */

#phaserDOMPageStart{
  display: flex!important;
  justify-content: center;
  align-items: center;
  background: url('../assets/background/background.jpg') no-repeat center center;
  background-size: cover;
}


#phaserDOMPageStart .rules-wrapper{
  font-size: 0.8rem;
  color: #5E5E5E;
  width: 100%;
  background-color: white;
  font-family: Open Sans;
  padding: 1.5rem;
  margin: 3rem;
  line-height: 1.3;
  border-radius: 25px;
}

#phaserDOMPageStart .rules-wrapper .sup-title{
  color: #FEA800;
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
}

#phaserDOMPageStart .rules-wrapper .title{
  color: black;
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  margin: 0.5rem 0 0.8rem 0;
}

#phaserDOMPageStart .rules-wrapper .actions-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
}

/* PAGE LOADING */

#phaserDOMPageLoading{
  display: flex!important;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: url('../assets/background/background.jpg') no-repeat center center;
  background-size: cover;
}

#phaserDOMPageLoading .content-wrapper{
  height: 33%;
  text-align: center;
  text-transform: uppercase;
  font-size: 1.2rem;
  padding: 1.5rem;
}

#phaserDOMPageLoading .progress-wrapper{
  height: 33%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#phaserDOMPageLoading .progress-wrapper .progress-wheel{
  background: url('../assets/images/loader.png') no-repeat center center;
  background-size: contain;

  height: 100%;
  width: 100%;
}

/* PAGE GAME */

#phaserDOMPageGame{
  transform: none !important;
}

#phaserDOMPageGame .score-wrapper{
  font-size: 0.8rem;
  background-color: #000;
  display: flex;
  padding: 0.5rem 2rem;
  align-items: center;
  color: #fff;
}

#phaserDOMPageGame .score-wrapper svg{
  font-size: 1.5rem;
  margin: 0 5px;
}

#phaserDOMPageGame .score-wrapper .score-timer-wrapper{
  width: 35%;
  display: flex;
  align-items: center;
}

#phaserDOMPageGame .score-wrapper .score-coins-wrapper{
  width: 20%;
  display: flex;
  align-items: center;
}
#phaserDOMPageGame .score-wrapper .score-life-wrapper{
  width: 20%;
  display: flex;
  align-items: center;
}

#phaserDOMPageGame .score-wrapper .score-points-wrapper{
  width: 25%;
  display: flex;
  align-items: center;
  justify-content: end;
  background: #373737;
  color: #fff;
  border-radius: 16px;
  padding: 2px 4px;
}

/* PAGE END */

#phaserDOMPageEnd{
  display: flex!important;
  justify-content: center;
  align-items: center;
  background: url('../assets/background/background.jpg') no-repeat center center;
  background-size: cover;
}

#phaserDOMPageEnd .container-wrapper{
  font-size: 0.8rem;
  color: #000;
  background-color: white;
  width: 100%;
  font-family: Open Sans;
  padding: 1.5rem;
  margin: 3rem;
  line-height: 1.3;
  border-radius: 25px;
}

#phaserDOMPageEnd .container-wrapper .sup-title{
  color: #FEA800;
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
}

#phaserDOMPageEnd .container-wrapper .title{
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  margin: 0.5rem 0 0.8rem 0;
}

#phaserDOMPageEnd .container-wrapper .points-wrapper{
  text-align: center;
  font-size: 3rem;
  font-weight: bold;
}

#phaserDOMPageEnd .container-wrapper .score-wrapper{
  font-size: 0.9rem;
  font-weight: bold;
  display: flex;
  padding: 0.5rem 0.5rem;
  align-items: center;
}

#phaserDOMPageEnd .container-wrapper .score-wrapper svg{
  font-size: 1.5rem;
  margin: 0 10px;
}

#phaserDOMPageEnd .container-wrapper .score-wrapper .score-timer-wrapper{
  width: 50%;
  display: flex;
  align-items: center;
}

#phaserDOMPageEnd .container-wrapper .score-wrapper .score-coins-wrapper{
  width: 50%;
  display: flex;
  align-items: center;
}

#phaserDOMPageEnd .container-wrapper .pseudo-wrapper{
  text-align: center;
}

#phaserDOMPageEnd .container-wrapper .pseudo-wrapper .pseudo-label{
  margin: 1rem 0;
  font-size: 1rem;
}

#phaserDOMPageEnd .container-wrapper .pseudo-wrapper .pseudo-input{
  padding: 0.2rem;
  font-size: 1.2rem;
  color: #FEA800;
}

#phaserDOMPageEnd .container-wrapper .actions-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
}

/* PAGE RANKING */

#phaserDOMPageRanking{
  display: flex!important;
  justify-content: center;
  align-items: center;
  background: url('../assets/background/background.jpg') no-repeat center center;
  background-size: cover;
}

#phaserDOMPageRanking .container-wrapper{
  font-size: 0.8rem;
  color: #000;
  background-color: white;
  width: 100%;
  font-family: Open Sans;
  padding: 1.5rem;
  margin: 3rem;
  line-height: 1.3;
  border-radius: 25px;
}

#phaserDOMPageRanking .container-wrapper .sup-title{
  color: #FEA800;
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
}

#phaserDOMPageRanking .container-wrapper .title{
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  margin: 0.5rem 0 0.8rem 0;
}

#phaserDOMPageRanking .container-wrapper .ranking-table-responsive{
  height: 300px;
}

#phaserDOMPageRanking .container-wrapper .ranking-table{
  width: 100%;
  padding-right: 10px;
}
#phaserDOMPageRanking .container-wrapper .ranking-table thead{
  background-color: black;
  color: #FEA800;
}
#phaserDOMPageRanking .container-wrapper .ranking-table thead th{
  text-align: start;
  padding: 0.1rem 0.5rem;
}
#phaserDOMPageRanking .container-wrapper .ranking-table thead th:last-child{
  text-align: end;
}

#phaserDOMPageRanking .container-wrapper .ranking-table tbody tr:nth-child(even){
  background-color: #F5F0E7;
}
#phaserDOMPageRanking .container-wrapper .ranking-table tbody td{
  text-align: start;
  padding: 0.1rem 0.5rem;
}
#phaserDOMPageRanking .container-wrapper .ranking-table tbody td:last-child{
  text-align: end;
}



#phaserDOMPageRanking .container-wrapper .actions-wrapper{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
}

@media (max-width:1280px) {
  #phaserGame{
    border: none;
  }
}
