
html {
  background-color: black;
}

body {
 background-color: black; 
 overflow-y: hidden;
 font-size: min(1rem, 3.8vh, 2vw);
 cursor: default;
}

#player-area {
  overflow: hidden;
}

#player-canvas {
  position: absolute;
  width: 100%;
  cursor: crosshair;
}

#player-overlay {
  background-color: black;
  text-align: center;
  color: white;
}

#instructions-panel {
  width: 100%;
  background-color: black;
  color: white;
  overflow: hidden;

  text-align: center;
  vertical-align: middle;
}

#unsupported-browser {
  margin-left: 25%;
  width: 50%;
  text-align: center;
}

.video-instruction {
  width: 100%;
  height: 80%;
  margin-bottom: 10px;
}

#mouse-val-start-button {
  position: absolute;
}

#text-shrink-1 {
  margin-bottom: min(3.8vh, 2vw);
}

.font-resizer {
  font-size: min(1rem, 3.8vh, 2vw);
}

.button-resizer {
  padding-left: min(12px, 0.3vw);
  padding-right: min(12px, 0.3vw);
  padding-top: min(6px, 0.6vh);
  padding-bottom: min(6px, 0.6vh);
}

.centerer {
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#full-screen-button-layout {
  background-color: #00000080;
}

.val-text {
  margin: 0px;
  width: 80%;
}

.media-centerer {
  max-height: 100%; 
  max-width: 100%;
  vertical-align: middle;
}

/* stars rating */

#rating {
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
}

#rating input { 
  display: none;
}

#rating label {
  position: relative;
  width: 1em;
  font-size: 6vw;
  color: #FFD600;
  cursor: pointer;
}
#rating label:before { 
  content: "\2605";
  position: absolute;
  opacity: 0;
}

#rating:hover input:checked ~ label:before { 
  opacity: 0.4; 
}

#rating label:hover:before, #rating label:hover ~ label:before {
  opacity: 1 !important;
}

#rating input:checked ~ label:before {
  opacity: 1;
}

#rating-block {
  color: white;
  line-height: normal;
  background-color: #00000080;
}

.captcha{
  margin-bottom: min(0.5rem, 1.7vh, 1vw);
}
