@charset "UTF-8";
.modal {
  display: none;
}
.modal.is-open {
  display: block;
}

.modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100000;
  width: 100%;
  height: 100%;
}
.modal__overlay::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  content: "";
  background: rgba(0, 0, 0, 0.6);
}

.modal__container-wrapper {
  width: 96%;
  max-width: 800px;
  height: 100%;
  padding-block: 24px;
  margin-inline: auto;
}

.modal__container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 12px;
  background-color: #e8f5e9;
  border-radius: 8px;
}
@media (min-width: 576px) {
  .modal__container {
    padding: 24px;
  }
}

.modal[aria-hidden=false] .modal__overlay {
  -webkit-animation: fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: fadeIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal[aria-hidden=false] .modal__container {
  -webkit-animation: slideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: slideIn 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.modal[aria-hidden=true] .modal__overlay {
  -webkit-animation: fadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: fadeOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}
.modal[aria-hidden=true] .modal__container {
  -webkit-animation: slideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
          animation: slideOut 0.3s cubic-bezier(0, 0, 0.2, 1);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: transparent;
  background-color: #fff;
  border: 2px solid #999;
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.modal__close::before {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  content: "✕";
}

.modal__content {
  height: 100%;
  overflow-y: auto;
}
.modal__content > * {
  width: 512px;
  max-width: 100%;
}
@media (min-width: 768px) {
  .modal__content > * {
    width: 100%;
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@-webkit-keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@-webkit-keyframes slideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    transform: translateY(15%);
  }
  to {
    transform: translateY(0);
  }
}
@-webkit-keyframes slideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
@keyframes slideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
#modal-3-content > * {
  display: block;
}