/* base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Modal */

.modal__overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
}

.modal__container {
  max-width: 400px;
  width: 90%;
  background-color: #fff;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 125px 151px 78px rgba(0, 0, 0, 0.01),
    70px 85px 66px rgba(0, 0, 0, 0.05), 31px 38px 49px rgba(0, 0, 0, 0.09),
    8px 9px 27px rgba(0, 0, 0, 0.1), 0px 0px 0px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.modal__header {
  background-color: #f8f8f8;
}

.modal__title {
  font-weight: bold;
  text-align: center;
  width: 100%;
  font-size: 16px;
  padding: 30px;
}

.modal__content p {
  padding: 24px 30px 40px;
  line-height: 200%;
  font-size: 16px;
  text-align: justify;
  font-weight: 500;
}

/* Animation */
@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn 0.3s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn 0.3s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut 0.3s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut 0.3s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
