.popup {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.popup-opened {
  display: block;
}

.popup-container {
  top: 15%;
  background-color: #313131;
  position: relative;
  margin: auto;
  width: 347px;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  box-shadow: 5px 10px 18px #000000;
}

.close-button {
  position: absolute;
  top: -10px;
  left: -10px;
  padding: 5px;
  background-color: #ffffff;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  opacity: 100%;
}

.close-button:hover {
  opacity: 100%;
}

.close-button:active {
  opacity: 50%;
}

.close-button:hover {
  cursor: pointer;
}

/* Welcome Popup */
.popup-heading {
  font-size: 1rem;
  margin: 20px 17px;
  padding-top: 20px;
  color: white;
}

.popup-main-heading {
  text-align: center;
}

.popup-terms-heading {
  margin-top: 0;
}

.popup-list  {
  padding-left: 20px;
  padding-bottom: 20px;
}

.popup-description {
  text-align: justify;
  font-size: 15px;
  margin: 0 17px;
  line-height: 25px;
  color: white;
}

/* History Popup */
.popup-history-container {
  width: 377px;
  top: 5%;
  text-align: center;
}

.history-table {
  margin: 10px 5px 5px;
}

.history-table-container {
  height: 500px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.history-heading {
  width: 100%;
  margin-left: 0;
  padding: 20px 0;
  background-color: #082b59;
  margin-bottom: 0;
}

.table-heading {
  color: white;
  text-align: center;
}

.table-no {
  width: 10%;
}

.table-username {
  width: 50%;
  text-align: left;
}

.table-prize {
  width: 40%;
}

.table-data {
  color: white;
  padding: 10px 0;
  text-align: center;
}

.data-username {
  text-align: left;
}

/* Failed Popup */
.popup-failed-container {
  color: black;
  background-color: white;
  top: 30%;
  text-align: center;
}

.failed-button {
  width: 64px;
  height: 38px;
  margin-bottom: 20px
}

.failed-title {
  padding-top: 10px;
}

.failed-text {
  font-size: 15px;
}

/* Win Popup */
.popup-win-container {
  position: relative;
  top: 15%;
  margin: auto;
  text-align: center;
}

.win-heading {
  padding-top: 20px;
  font-size: 20px;
}

.win-prize {
  font-size: 30px;
  color: #f8df03;
}

.win-instruction {
  margin: 0 20px;
}

.win-username {
  margin-top: 20px;
  margin-bottom: 0;
}

.win-voucher {
  margin-top: 0;
}

.win-button {
  width: 200px;
  margin-bottom: 30px;
}