button {
  font-family: "migdalFont";
  border: none;
  cursor: pointer;
  letter-spacing: normal;
  margin: 0;
  padding: 0;
}




.modal-toggle {
  display: none;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: overlayIn 0.25s ease forwards;
}

.modal-box {
  position: relative;
  width: min(537px, 100%);
  min-height: 168px;
  padding: 38px 54px 18px 54px;
  border-radius: 4px;
  background: #ffffff;
  text-align: center;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
  animation: modalIn 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.modal-close {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 28px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #3960D8;
  font-size: 34px;
  line-height: 26px;
  font-weight: 300;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

  .modal-close:hover {
    opacity: 0.72;
    transform: rotate(90deg);
  }

.modal-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  color: #3960D8;
  animation: iconFloat 2.6s ease-in-out infinite;
}

  .modal-icon svg {
    display: block;
    width: 100%;
    height: 100%;
  }

.modal-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  padding: 0;
  margin: 20px 0 0 0;
  color: #3960D8;
}

.modal-text {
  font-weight: 300;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
  text-align: center;
  padding: 0px 0px 35px 0px;
  margin: 5px 0 0 0;
}

.modal-toggle:not(:checked) + .modal-overlay {
  display: none;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (max-width: 560px) {
  .modal-box {
   /* padding: 42px 26px 36px;*/
  }

  .modal-title {
    font-size: 26px;
  }

  .modal-text {
    font-size: 15px;
  }
}

.action-row {
  width: 100%;
  height: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: -25px;
  right: 0;
}

  .action-row .action-btn {
    width: 50%;
    height: auto;
    border-radius: 13px;
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 1%;
    text-align: center;
    color: #fff;
    background-color: #3960D8;
    /* transform: translate(0, -50%); */


    padding: 9px 32px;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
