.dialog_background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  touch-action: none;
  backdrop-filter: var(--effect_blur);
  -webkit-backdrop-filter: var(--effect_blur);
  z-index: 8;
}

.dialog_container {
  position: absolute;
  width: 80vw;
  left: 10vw;
  top: 30vh;
  z-index: 9;
}

.dialog_header {
  width: 100%;
  height: 3rem;
  color: var(--white_color);
  font-size: var(--p_size);
  text-align: center;
  background-color: var(--main_color);
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
}

.dialog_header:before {
  content: "";
  display: inline-block;
  height: 3rem;
  vertical-align: middle;
}

.dialog_content {
  padding: 1rem;
  width: calc(100% - 2rem);
  max-height: 70vh;
  font-size: var(--p_size);
  text-align: center;
  background-color: var(--white_color);
  overflow: auto;
}

.dialog_footer {
  padding: 1rem;
  width: calc(100% - 2rem);
  display: flex;
  justify-content: center;
  background-color: var(--white_color);
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.dialog_button {
  margin: 0 var(--gap_size);
  width: calc(var(--h2_size)*2);
  height: var(--h3_size);
  font-size: var(--p_size);
  text-align: center;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.dialog_button.confirm {
  color: var(--white_color);
  background-color: var(--main_color);
}

.dialog_button.cancel {
  background-color: var(--bg_color);
}

@media screen and (min-width: 576px) {

}

@media screen and (min-width: 768px) {
  
}

@media screen and (min-width: 992px) {
  .dialog_container {
    width: 40vw;
    left: 30vw;
  }
}

@media screen and (min-width: 1200px) {
  
}