#mask {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 9000;
  background-color: #26262c;
  display: none;
}

#boxes .window {
  position: fixed;
  left: 0;
  top: 0;
  width: 440px;
  height: 850px;
  display: none;
  z-index: 9999;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
}

#boxes #dialog {
  width: 700px;
  height: auto;
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0);
  font-size: 15pt;
}

@media only screen and (max-width: 550px) {

  #boxes #dialog,
  #boxes #dialog .close+div {
    width: 500px !important;
    /* height: 570px; */
  }

  #boxes #dialog .close {
    opacity: 1;
  }

  #boxes #dialog .close span {
    color: white !important;
  }

  #boxes-content,
  #san {
    width: 100% !important;
  }

  #boxes-content {
    margin-top: 0 !important;
    height: fit-content !important;
  }

  #boxes-content p {
    width: 100% !important;
  }

  #boxes-content br:nth-of-type(even) {
    display: none;
  }
}

@media only screen and (max-width: 450px) {

  #boxes #dialog,
  #boxes #dialog .close+div {
    width: 400px !important;
  }
}

@media only screen and (max-width: 375px) {

  #boxes #dialog,
  #boxes #dialog .close+div {
    width: 300px !important;
  }
}

@media only screen and (max-width: 325px) {

  #boxes #dialog,
  #boxes #dialog .close+div {
    width: 320px !important;
  }
}

.agree:hover {
  background-color: #D1D1D1;
}

.popupoption:hover {
  background-color: #D1D1D1;
  color: green;
}

.popupoption2:hover {
  color: red;
}