@keyframes mypulse {
  0% {
    box-shadow: 0 0 0 0 $green-d;
  }
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9000;

  &__baclground {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.5);
    filter: blur(em(5));
  }
  
  &__body {
    position: relative;
    width: em(760);
    padding: em(70) em(30) em(30) em(30);
    background: white;
    box-shadow: 0 0 em(10) rgba(0,0,0,0.5);
    border-radius: em(12);
    @media screen and (max-width: 992px) {
      width: em(800);
    }
  }

  .ic-cross {
    display: block;
    position: absolute;
    top: em(20);
    right: em(20);
    width: em(32);
    height: em(32);

    img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
    }
  }
  
  .text-title {
    color: $green-d;;
    text-align: center;
    font-size: 2em;
    font-weight: 500;
    line-height: 1.5;
  }

  .text {
    color: $green-d;
    font-size: 1.5em;
    font-weight: 300;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.2em;
    margin-top: em(20);
    @media screen and (max-width: 992px) {
      font-size: 1.8em;
    }
  }

  .button-group {
    display: flex;
    justify-content: center;
    align-items: center;
    width: em(680);
    margin-left: auto;
    margin-right: auto;
    margin-top: em(60);
  }

  .button-primary {
    display: inline-block;
    border-radius: 1.5em;
    padding: 0.6em 1em;
    box-shadow: 0 0 0 1em transparent;
    background-color: $green-d;
    cursor: pointer;
    text-decoration: none;
    margin-left: em(10);
    margin-right: em(10);

    &:hover {
      animation: mypulse 1.5s infinite;
    }

    p {
      text-align: center;
      font-size: 1.2em;
      font-weight: 400;
      color: #ffffff;
      @media screen and (max-width: 992px) {
        font-size: 1.6em;
      }
    }
  }

}