#reward-canvas {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: none;
}

.reward-mask {
  background-color: #00000088;
  width: 100%;
  height: 100%;
}

.reward-window {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  height: 47.5vw;
  max-height: min(80%, 500px);
}

.reward-bg {
  height: 80%;
}

.reward-page {
  position: absolute;
  left: 75%;
  top: 64%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  z-index: -1;
}

.reward-content-container {
  position: absolute;
  left: 36%;
  top: 41%;
  transform: translate(-50%, -50%);
  width: 68%;
  height: 72%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;

}

.reward-content-container-video {
  position: absolute;
  left: 23%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 40%;
  height: 56%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;

}

.reward-content-container-photo {
  position: absolute;
  left: 56%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 26%;
  height: 56%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;

}

.reward-content {
  width: 70%;
  text-align: center;
  white-space: nowrap;
  -ms-flex: 3;
  flex: 3;
}

.reward-content-slot {
  width: 45%;
  display: inline-block;
  height: 35%;
  padding-top: 1%;
  position: relative;
  margin-left: 10px;
}

.reward-content-slot-bg {
  /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%); */
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.reward-slot-lock {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.reward-gem-content {
  width: 30%;
  text-align: center;
  white-space: nowrap;
  -ms-flex: 1;
  flex: 1;
  transform: translateX(7.5%);
  margin-right: 5%;
}

.reward-gem-content-slot {
  width: 40%;
  display: inline-block;
  /* position: relative; */
  /* display: block; */
  cursor: pointer;
  height: 40%;
  padding: 1%;
  margin-right: 25px;
  margin-bottom: 10px;
}

.reward-gem-content-slot-bg {
  /* position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%); */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#reward-close-btn {
  position: absolute;
  top: 20%;
  right: -1.65%;
  width: 6%;
  content: url("../img/item-canvas/close-intem.png");
  cursor: pointer;
}

#reward-close-btn:active {
  content: url("../img/item-canvas/close-intem (1).png");
}