@font-face {
  font-family: Poppins_Black;
  src: url('../../nav/fonts/Poppins/Poppins-Black.woff') format('woff'), url('../../nav/fonts/Poppins/Poppins-Black.woff') format('embedded-opentype');
}

* {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

@supports (-webkit-touch-callout: none) {
  img {
    -webkit-touch-callout: none
  }
}

#btnRules,
#btnSettings,
#btnNew,
#btnUndo {
  display: block
}

body {
  margin: 0;
}

/***** contenu *********/
.content {
  position: absolute;
  top: 0;
  //  flex-direction: colums;
  justify-content: flex-start;
  align-items: stretch;
  height: 90vh;
  width: 100vw;
  // border: solid green;

}

/* canvas,
.content p {
  position: absolute;
  top: 0;
  left: 0;
  //width: 100vw;
} */

canvas {
  position: absolute;
  top: 0;
  left: 0;
  //cursor: pointer;
  //width: 100vw;
}

.appBar {
  z-index: 1;
  background: transparent;
}

.label {
  color: #3c3a3a;
  //background-color: #fde047;
  //padding: 0.4em 0.6em;
  font-family: NumerHIC;
  font-weight: bold;
  font-size: min(clamp(2vw, 24px, 5vw),clamp(2vh, 24px, 5vh));
  //font-size: 24px;
 //z-index: 0 !important;
  //width: 2vw;
  text-align: center;
  //display: block;
  touch-events: none;
  //cursor: not-allowed; 
  //border:solid 1px
}

.label:hover {
  /* color: red;
  cursor: pointer; */
}

#value {
  position: absolute;
  /*font-size: 30px;*/
  font-size: min(clamp(2vw, 24px, 5vw),clamp(2vh, 24px, 5vh));
  font-family: NumerHIC;
  z-index: 1;
  padding: 6vh 0 0 1%;
}

#value span {
  background-color: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
  padding: 2px;
  width: 1.2em;
  text-align: center;
}

#cancel {
  position: absolute;
  right: 0;
  z-index: 2;
}

#level {
  position: absolute;
  top: 0;
  right: 8vw;
  width: min(100px, 8vw);
  cursor: pointer;
  	transition: transform 0.5s ease
}


#level:hover {
	transform: scale(1.2);
	transform-origin: center;
}

#btnUndo.blinking {
    background: red;
    animation: blink 1s infinite;
}

/**********settings*********/
#settings #niveauJeu {
  /* display: flex;
  justify-content: center;
  gap: 10px; */
  margin-bottom: 10px;
  margin-top: 50px
}

#settings figure {
  text-align: center;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px;
  border: solid transparent 10px;
  display: flex;
  align-items: center;
}

#settings #niveauJeu figure>img {
  max-width: 5vw;
  padding-right: 1vw;
}

#settings #niveauJeu figcaption {
  font-size: clamp(0.5rem, 50px, 1rem);
}

#settings #niveauJeu figcaption img {
  width: min(300px, 15vw);
  vertical-align: middle;
}

#settings figure:hover {
  background: rgba(255, 255, 255, 0.5);
}

#settings input[type="radio"]:checked+label figure {
  border: solid red 10px;
  border-radius: 5px;
  box-sizing: border-box;
  color: white;
  background: rgba(255, 255, 255, 0.5);
}

#settings input[type="radio"]:checked+label figure img {
  border: none;
}

#settings input {
  display: none;
  cursor: pointer;
}

/****rules****/
#rules {
  padding-bottom: 30px;
  font-size: clamp(0.5rem, 30px, 1rem);
}

#rules h4 {
  padding-bottom: 10px;
}

#rules img.consigne {
  width: min(300px, 30vw);
  padding: 10px;
  vertical-align: middle;;
}

#rules img.consigne2 {
  width: min(100px, 15vw);
  padding: 10px;
    vertical-align: middle;;

}

#rules li span {
  font-family: icons;
  font-size: large;
}

/* 
#rules ul {
  margin-top: 20px;
  list-style-type: none;
} */

/* #rules ul img {
  max-width: 50px;
  vertical-align: middle;
} */

/* #rules ul img.consigne2 {
  max-width: 100px;
  padding: 5px;
} */

.navDrawer {
  z-index: 2;
}