/* ########## Game view ########## */

/* Game view */

.objects_canvas,
.output_canvas,
#camera_feed {
  /* height: 100% !important;
  width: 100% !important;
  object-fit: cover; */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) rotateY(180deg);
}

/* .output_canvas {
  visibility: hidden;
} */

.objects_canvas {
  z-index: 10;
}

#camera_feed {
  z-index: -1;
}

body.portrait .objects_canvas,
body.portrait .output_canvas,
body.portrait #camera_feed {
  height: 100%;
}
body.landscape .objects_canvas,
body.landscape .output_canvas,
body.landscape #camera_feed {
  width: 100%;
}

/* Game header */

.game-header {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: center;
  padding: 5px 25px;
  box-sizing: border-box;
}

#game-header-logo-left {
  height: 30px;
}

#game-header-logo-right {
  height: 85px;
}

/* Game footer */

.game-footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-image: url(/vision/assets/ui/Neve.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  padding: 25px;
  box-sizing: border-box;
}

#game-time-div {
  position: relative;
}

#game-time-img {
  width: 100px;
}

#game-time {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: 100%;
  text-align: center;
  color: #8f2140;
  font-size: 35px;
  font-weight: bold;
}

#game-score-div {
  padding-left: 20px;
}

#game-score-label {
  width: 100%;
  text-align: center;
  color: #8f2140;
  font-weight: bold;
  display: block;
  font-size: 35px;
  line-height: 35px;
}

#game-score {
  width: 100%;
  text-align: center;
  color: #8f2140;
  font-size: 35px;
  font-weight: bold;
  line-height: 35px;
  display: block;
}

#game-countdown {
  color: #8f2140;
  font-size: 200px;
  font-weight: bold;
}

@media (max-width: 439px) {
  .game-footer {
    padding: 10px;
  }
  #game-score-label {
    font-size: 25px;
    line-height: 25px;
  }

  #game-score {
    font-size: 25px;
    line-height: 25px;
  }

  #game-time-img {
    width: 75px;
  }

  #game-time {
    position: absolute;
    bottom: 20px;
    font-size: 25px;
  }

  #game-countdown {
    font-size: 150px;
  }
}

@media (max-width: 359px) {
  #game-header-logo-left {
    height: 15px;
  }

  #game-header-logo-right {
    height: 55px;
  }

  #game-countdown {
    font-size: 100px;
  }
}

.perm-modal {
  z-index: 50;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #17171790;
  display: none;
  flex-flow: column;
  justify-content: center;
  align-items: center;
}

.perm-modal .content {
  width: 320px;
  background-color: #fff;
  padding: 20px 30px 30px;
}

.perm-modal .content p {
  /* font-family: var(--bodyFont); */
}

.perm-modal .content div {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  margin-top: 40px;
}

.perm-modal .content div button {
  /* font-family: var(--bodyFont); */
  padding: 0.8rem 2rem;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: bold;
  border: none;
  box-shadow: none;
  outline: none;
  cursor: pointer;
  outline: none;
  cursor: pointer;
  color: #333;
  font-weight: 800;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.perm-modal .content div button.secondary {
  background-color: transparent;
}

/* ########## END Game view ########## */
