.PopupsBtn {
  background: url(/public/icons/info-icon.svg) 50% 50% no-repeat;
  position: absolute;
  height: 24px;
  width: 24px;
  top: 12px;
  left: 12px;
  cursor: pointer;
}

.welcome-bonus-image-container {
  position: relative;
}

#BtnClose {
  display: block;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  position: absolute;
  right: -15px;
  top: -15px;
  background: url("/public/icons/close.svg") 50% 50% no-repeat #dbad64;
  background-size: 70%;
  cursor: pointer;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#BtnClose:hover {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
  background-color: #dbad64;
}

#BtnClose:active {
  -webkit-transform: rotate(180deg) scale(0.5);
          transform: rotate(180deg) scale(0.5);
  background-color: #dbad64;
}

#CapRule {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 0%;
  overflow: hidden;
  padding: 0px;
  opacity: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  right: 0%;
  top: 50%;
  z-index: 9999999999;
  background: rgba(0, 0, 0, 0.85);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

#CapRule.Open {
  width: 100%;
  height: 105%;
  right: 0%;
  top: -2.5%;
  opacity: 1;
}

#ContRules {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
  max-width: 700px;
  border: dashed 1px #dbad64;
  padding: 25px;
  border-radius: 10px;
  color: #ffffff;
  position: relative;
  background: rgba(0, 0, 0, 0.5);
}

#ContRules h1, p {
  display: block;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  margin: 0px auto 10px auto;
}

#ContRules h1 {
  text-align: center;
  font-size: 35px;
  font-weight: 100;
  color: #dbad64;
  font-style: italic;
}

#ContRules p {
  text-align: justify;
  font-size: 14px;
}

#ContRules strong {
  width: 100%;
  font-size: 20px;
  font-weight: 700;
}

@media only screen and (min-width: 320px) and (max-width: 900px) {
  #ContRules {
    width: 100%;
    max-width: 95%;
    overflow: hidden;
    overflow-y: scroll;
    max-height: 100%;
    padding: 0px 20px;
  }
  #ContRules h1 {
    font-size: 25px;
  }
  #ContRules p {
    font-size: 13px;
  }
  #BtnClose {
    right: 10px;
    top: 30px;
    border-radius: 10px;
    position: fixed;
  }
}
@media only screen and (min-width: 320px) and (max-width: 900px) {
  #ContRules {
    overflow: scroll;
    display: block;
    width: 100%;
    height: auto;
    padding: 30px 10px;
  }
  #CapRule.Open {
    overflow: scroll;
    padding: 70px 10px;
  }
}
@media only screen and (min-width: 1200px) {
  .PopupsBtn {
    top: 0;
    left: 0;
  }
}