@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
  }
}
.appBar { z-index: 1; background: transparent;}

.loader p {
  color: darkgreen;
  background-color: rgba(255, 255, 255, 0.4);
  padding: 1%;
  height: fit-content;
}

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

#settings {
  height: 90vh;
  overflow: auto;
}

.navDrawer #settings h3 {
  text-align: center;
  font-size: clamp(0.5rem, 50px, 1rem);
  margin: 0;
}


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;
  width: 100vw;
}

.label {
  color: #FFFFFF;
  background-color: #fde047;
  font-family: NumerHIC;
  font-size: clamp(2vw, 20px, 5vw);
  z-index: 1 !important;
}

#demande {
  font-family: NumerHIC;
  background-color: rgba(255, 255, 255, 0.4);
  z-index: 1;
  //color: #FFF;
  font-size: clamp(2vw, 24px, 5vw);
  width:100vw;
  position: absolute;
 // top:5vh;
  pointer-events: none;
  text-align: center;
 // left:45%;
}
#demande >span {
  background-color: white; padding: 1%; border-radius: 5px;
}

#demande img {
  width:10vw;
  max-width: 100px;
  height: auto;
  vertical-align: middle;
}

#mode {
    cursor: pointer;
    font-size: 1.2em;
    color: rgb(57, 56, 56);
    font-family: NumerHIC;
    padding-right: 1%;
    padding-left: 1%;
    width: 100%;
   // background-color: black;
   text-align:right;
   position: absolute;
     right: 3vw;
     z-index: 1;
}

#mode img {
    transition: transform 0.5s ease;
    width: clamp(30px, 5vw, 50px);
    vertical-align: middle;
}

#mode img:hover {
    transform: scale(1.5);
    transform-origin: center;
}

#count {
   position: absolute;
     z-index: 1;
     right:10px;
     top: 12vh
}

.coordH {
  color: red;
}

.coordV {
  color: rgb(5, 121, 237);
}

/**********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;
}

.loader p {
    background: rgba(255, 255, 255, 0.8);
    height: fit-content;
    padding: 1%;
    text-align: center;
}

/****rules****/
#rules {
    padding-bottom: 30px;
    font-size: clamp(0.5rem, 30px, 1rem);
}
#rules h4 { padding-bottom: 10px;}
#rules img.consigne { width: min(400px, 30vw); padding: 10px;}

 #rules p 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;
}


.copyright {
    display: none;
}

.navDrawer{ z-index: 2;}
