body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
    monospace;
}

video::-internal-media-controls-download-button {
  display:none !important;
}

::-webkit-scrollbar {
  width: 15px;
  background: #404040;
}

::-webkit-scrollbar-thumb {
  background: #E0E0E0; 
  border-radius: 10px;
}

#container {
  position: absolute; /* Sit on top of the screen */
  color: white;
  overflow: hidden;
}

img.visu {
  width: 100px;
  height: 200px;
  margin-top: 0px;
  margin-left: 0px;
  position : absolute;
  object-fit: scale-down;
}

img.visur {
  width: 100px;
  height: 200px;
  margin-top: 0px;
  margin-left: 0px;
  position : absolute;
  object-fit: scale-down;
}

img.visucut {
  width: 100px;
  height: 200px;
  margin-top: 0px;
  margin-left: 0px;
  position : absolute;
  object-fit: fill;
}

img.full {
  width: 100%;
  background-color: rgba(0,0,0,0.0);
  color: rgba(0,0,0,0.0);
  border: "0px";
  object-fit: scale-down;
}

img.small {
  width: 15%;
  background-color: rgba(0,0,0,0.0);
  color: rgba(0,0,0,0.0);
  border: "0px";
  object-fit: scale-down;
}

div.visu {
  width: 100px;
  height: 200px;
  margin-top: 0px;
  margin-left: 0px;
  position : absolute;
}

div.visur {
  width: 500px;
  height: 500px;
  margin-top: 0px;
  margin-left: 0px;
  position : relative;
}

div.full {
  position : absolute;
  background-color: rgba(0,0,0,0.0);
  border: "0px";
}

video.visu {
  width: 100px;
  height: 200px;
  margin-top: 0px;
  margin-left: 0px;
  position : absolute;
}

input {
  position : absolute;
  width: 90%;
  height: 26px;
  border:0;
  outline: 0;
  border-top-style: hidden;
  border-right-style: hidden;
  border-left-style: hidden;
  border-bottom-style: hidden;
  font-size: 18px;
}

input:focus {outline:none!important;}

::placeholder {
  font-size: 0.75em;
}

div.button {
  width: 36px; 
  height: 36px; 
  margin-left: 2px;
  margin-top: 2px;
  text-align: center;
  vertical-align: middle;
}

div.button:hover {
  cursor: pointer;
}

div.console {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

img.button {
  height: 28px;
  margin-top: 2px;
  object-fit: scale-down;
}

img.smallbutton {
  height: 14px;
  object-fit: scale-down;
  position: absolute;
  right: 0;
}

img.smallbutton2 {
  height: 14px;
  object-fit: scale-down;
  position: absolute;
  right: 16px;
}

img.smallbutton:hover {
  cursor: pointer;
}

img.smallbutton2:hover {
  cursor: pointer;
}

div.texte {
  background-color:#87BC26;
  color: #000000;
  padding: 10px;
  border-radius: 10px;
  width : calc(100% - 40px);
  margin: 10px;
}

div.saisie {
  width : calc(100% - 40px);
  border-radius: 10px;
  padding: 10px;
  background-color : white;
  display: flex;
  flex-direction: row;
  margin-top: 5px;
  margin: 10px;
}


.def , .defsmall, .defsound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 92%;
  height: 15%;
  background-color: black;
  color: white;
  padding: 2%;
  margin: 2%;
  border-radius: 5px;
}

.def {
  font-size: 24px;
}

.defsmall {
  font-size: 18px;
}

.defsound {
  font-size: 18px;
  background-color: #84e23e;
}

.timer {
  text-align: center;
  vertical-align: middle;
  line-height: 70px; 
  width: 70px;
  height: 70px;
  background-color: rgba(0,0,0,0.75);
  color: white;
  font-weight: bold;
  font-size: 24px;
  position: absolute;
  right: 0;
  bottom: 0;
  border-radius: 35px;
}


span.error {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96%;
  height: 12%;
  background-color: darkred;
  color: white;
  padding: 0px 2% 0px 2%;
  margin: 0px;
  font-size: 24px;
  box-shadow: 0 0.8vh 2px -2px white;
}

span.info {
  display: inline-block;
  width: 96%;
  background-color: lightgreen;
  padding: 5px 2% 5px 2%;
  margin: 0px;
  font-size: 15px;
}

span.left {
  position: absolute;
  width: 10%;
  background-color: red;
  padding: 5px;
  font-size: 15px;
  text-align: center;
}

span.right {
  position: absolute;
  right: 0px;
  width: 10%;
  background-color: red;
  padding: 5px;
  font-size: 15px;
  text-align: center;
}

span.center {
  font-size: 15px;
  text-align: center;
  background-color: white;
  color: #000000;
}

span.parent2, span.choice, span.playing, span.danger, span.special,span.playingbold {
  flex: 1 20%;
  height: 30px;
  line-height: 0px;
  text-align: center;
  display: table-cell;
  vertical-align: top;
  border: 1px solid #E0E0E0;
  padding: 5px;
  font-size: 20px;
  color: #000000;
}

span.choice {
  background-color: lightgrey;
}

span.playing {
  background-color: lightgoldenrodyellow;
}

span.playingbold {
  background-color: lightcyan;
  border: 1px solid blue;
  font-weight: bold;
}

span.special {
  background-color: lightseagreen;
}

span.danger {
  background-color: lightcoral;
}

span.parent, span.view, span.toclick, span.selected {
  display: flex;
  flex-direction: row;
  align-content: left;
  align-items: center;
  width: 80%;
  height: 70px;
  padding: 5px 2% 5px 2%;
  margin-left: 6%;
  margin-right: 6%;
  font-size: 20px;
}

span.view {
  border: 1px solid blue;
  background-color: lightblue;
}

span.toclick {
  border: 1px solid blue;
  background-color: lightblue;
}

span.selected {
  border: 1px solid green;
  background-color: yellow;
}

span.master {
  display: flex;
  margin:auto;
  flex-direction: column;
  width: 40%;
  background-color: red;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: 50px;
}

span.player {
  display: flex;
  margin:auto;
  flex-direction: column;
  width: 40%;
  background-color: green;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  font-size: 50px;
}

img.step {
  display: block;
  margin-left: 0;
  margin-right: 0;
  width: 400px;
}

img.item {
  height: 128px;
  max-height:128px;
  max-width:128px;
  background-color:#000000;
  object-fit: scale-down;
}

img.itemphoto {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 500px;
  max-height:500px;
  max-width:500px;
}
img.itemdrum {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  max-height:auto;
  max-width:100%;
}

img.avatar {
  height: 128px;
  max-height:128px;
  max-width:128px;
  object-fit: scale-down;
  float:left;
}
img.itemundo {
  max-width:128px;
  max-height:128px;
  object-fit: scale-down;
  -webkit-transform: skew(-20deg); 
  -moz-transform: skew(-20deg); 
  -o-transform: skew(-20deg);
  transform: skew(-20deg);
}

div.itemundo {
  display: flex;
  justify-content: center;
  width:128px;
  height:128px;
  background-color: #fff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  -webkit-transform: skew(-20deg); 
  -moz-transform: skew(-20deg); 
  -o-transform: skew(-20deg);
  transform: skew(-20deg);
}

img.fullimage {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

img.slide {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

img.slideinput {
  max-width: 100%;
  max-height: 60%;
  width: auto;
  height: auto;
  margin: auto;
}

div.full {
  position: absolute; 
  left:2%;
  top: 24%;
  width: 96%; 
  height: 72%; 
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

form.center {
  width: 50%; 
  height: 80%; 
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-around;
}

div.fullcenter {
  position: absolute; 
  left:0;
  width: 100%; 
  height: 80%; 
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-around;
  align-content: space-around;
}

div.imagecenter {
  position: relative;
  top: 1vh;
  display: flex;
  justify-content: center;
  width:100%;
  height:80%;
}

div.mediumcenter {
  position: relative; 
  top: 1vh;
  width: 100%; 
  height: 60%; 
  display: flex;
  justify-content: center;
}

div.right {
  position: absolute; 
  top: 24%;
  right:0;
  width: 48%; 
  height: 64%; 
  margin-right: 4%;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

div.left {
  position: absolute; 
  left:0;
  top: 24%;
  width: 40%;  
  height: 64%; 
  margin-left: 4%;
}

div.background {
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
}


div.score, div.monscore, div.scoretitre {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 70%;
  height: 60px;
  margin: auto;
  margin-top: 1%;
  border-radius: 5px;
}

div.score {
  font-size: 20px;
  color: white;
  background-color: #5CB8B2;
}

div.monscore {
  font-size: 20px;
  color: white;
  background-color: #000000;
}

div.scoretitre {
  font-size: 32px;
  font-weight: bold;
  color: black;
}

div.undo {
  flex: 2;
  -webkit-transform: skew(-20deg); 
  -moz-transform: skew(-20deg); 
  -o-transform: skew(-20deg);
  transform: skew(-20deg);
}

span.plusmoins {
  flex:2;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  line-height:128px;
  width: 50px;
  height: 20px;
  padding: 5px 2% 5px 2%;
  font-size: 20px;
  border: 1px solid white;
  background-color: darkred;
}

span.score {
  padding: 10px;
  line-height:128px;
}

div.parent, div.view, div.toclick, div.selected, div.badanswer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 16%;
  font-size: 20px;
  color: white;
  margin: auto;
  border-radius: 5px;
}

div.view {
  background-color: #5CB8B2;
}

div.toclick {
  background-color: #E3A86B;
}

div.selected {
  background-color: #C4D36D;
}

div.badanswer {
  background-color: #D78189;
}

div.parentxl, div.viewxl, div.toclickxl, div.selectedxl, div.badanswerxl {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 70%;
  height: 16%;
  margin: auto;
  font-size: 22px;
  color: white;
  border-radius: 5px;
}

div.viewxl {
  background-color: #5CB8B2;
}

div.toclickxl {
  background-color: #E3A86B;
}

div.selectedxl {
  background-color: #C4D36D;
}

div.badanswerxl {
  background-color: #D78189;
}

div.avatar {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  height: 128px;
  margin: auto;
}

div.bottommaster {
  position: absolute; 
  top: 110%;
  left: 30%;
  width: 40%;  
  display: block;
  font-size: 20px;
  color: black;
  justify-content: center;
  align-items:center;
}

div.bottomplayer {
  position: absolute; 
  top: 88%;
  width: 100%;  
  height: 12vh;
  display: flex;
  font-size: 20px;
  color: white;
}

div.bottomplayersolution {
  position: absolute; 
  top: 88%;
  width: 100%;  
  height: 12vh;
  display: flex;
  font-size: 32px;
  color: white;
  justify-content: center;
  align-items:center;
}

input.button {
  width: 1px;
  height: 1px;
  font-size: 1px;
  background-color: transparent;
  visibility: hidden;
}

