@charset "UTF-8";
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0);
  width: 100%;
  height: 100vh;
  transition: background 0.2s ease-in-out;
}
.modal .wrapper {
  padding: 0 8px;
  width: 100%;
  max-width: 550px;
  min-width: 300px;
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal .message {
  -webkit-transition: all .3s;
  transition: all .3s;
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(-5rem);
  transform: translateY(-5rem);
  background: rgb(255, 255, 255);
  padding: 22px;
  box-sizing: border-box;
  box-shadow: 0 11px 44px rgba(0, 0, 0, 0.4);
  width: 100%;
  border-radius: 5px;
  overflow: hidden;
}
.modal h2,
.modal p {
  color: rgb(34, 34, 34);
}
.modal h2 {
  margin: 22px 0;
  font-weight: 700;
  font-size: 34px;
}
.modal p {
  line-height: 1.4em;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}
.modal .message button {
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
}
.modal .message .r {
  float: right;
}
.modal .message .l {
  float: left;
}
.modal.transition {
  background: rgba(0, 0, 0, 0.35);
}
.modal.transition .message {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.modal.display {
  display: block;
}
.modal .button {
  padding: 1em 2em;
  outline: none;
  border: none;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 5px;
  transition: color .2s ease-in, background-color .2s ease-in, border-color .2s ease-in;
  color: rgb(15, 15, 15);
  background-color: transparent;
  border: 1px solid rgb(204, 33, 40);
}
.modal .button:hover {
  color: rgb(255, 255, 255);
  background: rgb(204, 33, 40);
}
.modal .button:active {
  transform: translateY(5%);
}
#openButton {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
}
@media screen and (max-width: 1400px) {
  .modal h2 {
    margin: 18px 0;
    font-size: 26px;
  }
  .modal p {
    font-size: 16px;
  }
  .modal .button {
    padding: 1em 2em;
    font-size: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .modal h2 {
    margin: 18px 0;
    font-size: 24px;
  }
  .modal p {
    font-size: 16px;
  }
  .modal .button {
    padding: 1em 2em;
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .modal h2 {
    margin: 14px 0;
    font-weight: 600;
    font-size: 24px;
  }
  .modal p {
    line-height: 1.4em;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 16px;
  }
  .modal {
    width: 100%;
    height: 100vh;
  }
  .modal .wrapper {
    padding: 0 8px;
    max-width: 80%;
  }
  .modal .message {
    padding: 14px;
    width: 100%;
    border-radius: 5px;
  }
  .modal .button {
    padding: 0.6em 1em;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
  }
}