

html,
body {
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
}

body {
    background-color: #1a1a1a;
    font-size: 32px;
    color: white;
    max-width: 100%;
    display: block;
    position: relative;
}


.handgesture_switch {
  position: absolute;
  display: inline-block;
  top: 3vh;
  left: 3vh;
  width: 100px;
  height: 34px;
}

.handgesture_switch pre{
    position: absolute;
    left: 110%;
    top: -1.75vh;
    font-size: 20px;
    color: white;
}

.handgesture_switch input {
  cursor: pointer;
  position: absolute;
  z-index: 2;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.slider {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #2196F3;
}
input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(66px);
}


.ui__texts {
    position: absolute;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    
}

.ui__texts  img {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 20vh;
    width: auto;
}

.text--timer {
    font-family: 'Seven Segment', sans-serif;
    position: absolute;
    top: 10vh;
    right: 2vh;
    transform: translate(-50%, -50%);
    font-size: 7.5vh;
    font-weight: bold;
}

.performance__screen{
    position: absolute;
    top: 10vh;
    left: 10vh;
    height: 30vh;
    width: 60vh;
    background-color: #1a1a1a;
}
.bbox{
    position: absolute;
    height: 8vh;
    width: 60vh;
    background-color: #606060;
}
.performance--text{
    font-family: 'Seven Segment', sans-serif;
    position: absolute;
    left: 11vh;
    top: 1.5vh;
    font-size: 5vh;
    font-weight: bold;
    color: white;
}

.performance--info {
    font-family: 'Seven Segment', sans-serif;
    font-size: 5vh;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 5vh;
    top: 10vh;

}

#text--best{
    margin-top: 5vh;
}

.blockinglogo{
    position: absolute;
    z-index: 3;
    right: 50%;
    top: 50%;
}

.blockinglogo img{
    position: absolute;
    z-index: 3;

    align-items: center;
    height: 50vh;
    width: auto;
    transform: translate(-50%,-50%);
}

.blockingscreen{
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 50%;
    background-color: #000000;
}

.blockingScreendetails{
    position: absolute;
    z-index: 2;
    height: 100%;
    width: 1%;
    background-color: #3e3e3e;
}
.blockingscreen2{
    position: absolute;
    z-index: 2;
    left:50%;
    height: 100%;
    width: 50%;
    background-color: #000000;
}

.usercam{
    position: absolute;
    top: 25vh;
    right: 5vh;
}

.game {
    height: 70vh;
    background-color: rgba(255, 255, 255, 0.1);
}

.ui__buttons {
    justify-content: center;
    height: 30vh;
    padding: 2%;
    background-color:#1a1a1a;
    display: flex;
    gap: 30px;
}

.ui__buttons button {
    background-color: #1a1a1a;
    background-image: linear-gradient(144deg, #40e6a6, #3b2fe0 50%, #4700eb);
    display: flex;
    cursor: pointer;
    border: 0;
    border-radius: 8px;
    transition: background 0.3s;
}


.ui__buttons button img {
    height: 100%;
    width: auto;
}

.ui__buttons button:hover {
    background-color: #312c2b;
}

.ui__buttons button:active {
    transform: scale(0.95);
}