.rulep {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 630px;
  height: 775px;
  opacity: 1;

  .bgModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: black;
    opacity: 0.8;
  }

  // top: 363px;
  // left: 60px;
  .rulebg {
    width: 630px;
    height: 775px;
    opacity: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    position: fixed;
    transform-origin: 0px 0px 0px;
  }

  .rule {
    width: 518px;
    height: 550px;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    overflow: scroll;
    position: absolute;
    font-size: 24px;
    color: rgba(41, 41, 41, 1);
  }

  .ruleclo {
    width: 62px;
    height: 62px;
    opacity: 0.4;
    top: -50px;
    right: 0;
    position: absolute;
  }
}