@keyframes popupTop {
    from {
      top: -300px;
      opacity: 0;
    }
    to {
      top: 0;
      opacity: 1;
    }
  }
  @-webkit-keyframes popupSlide {
    from {
      bottom: -300px;
      opacity: 0;
    }
    to {
      bottom: 0;
      opacity: 1;
    }
  }
  @keyframes popupSlide {
    from {
      bottom: -300px;
      opacity: 0;
    }
    to {
      bottom: 0;
      opacity: 1;
    }
  }
  @-webkit-keyframes popupFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes popupFade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .congrats-popup {
    -webkit-animation-name: popupFade;
    -webkit-animation-duration: 0.4s;
    animation-name: popupFade;
    animation-duration: 0.4s;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    height: 100%;
    left: 0;
    line-height: 1.2;
    overflow: auto;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999999999;
  }
  .congrats-popup-main {
    box-shadow: rgba(0, 0, 0, 0.05) 0px 5px 16px;
    background-color: #fff;
    bottom: 0;
    width: 100%;
  }
  .congrats-popup-main p {
    text-align: center;
    margin: 0;
  }
  .congrats-close {
    float: right;
    font-size: 28px;
  }
  .congrats-close:hover,
  .congrats-close:focus {
    color: #000;
    cursor: pointer;
    text-decoration: none;
  }
  .congrats-popup-header,
  .congrats-popup-main,
  .congrats-popup-footer,
  .congrats-close {
    color: rgb(112, 112, 112);
    font-family: 'Gotham Book', Arial, Helvetica, sans-serif;
    font-weight: 500;
  }
  .congrats-popup-header,
  .congrats-popup-main {
    font-size: 21px;
  }
  .congrats-popup-header {
    padding: 24px 16px 16px 16px;
    text-align: center;
  }
  .congrats-popup-body {
    padding: 0;
  }
  .congrats-popup-footer {
    font-size: 14px;
    padding: 16px;
    text-align: center;
  }
  .credit-limit {
    font-size: 36px;
  }
  .congrats-popup-bold {
    font-weight: bold;
    font-family: 'Gotham Black', Arial, Helvetica, sans-serif;
  }
  .congrats-popup-primary {
    background-color: rgb(155, 200, 82);
    color: #fff;
    font-family: 'AmpleSoft Bold', Arial, Helvetica, sans-serif;
    line-height: 1;
    padding: 16px;
  }
  .congrats-popup-px {
    padding: 0 16px;
  }
  .congrats-popup-mb {
    margin-bottom: 8px;
  }
  .congrats-popup-mt {
    margin-top: 8px;
  }
  .congrats-underline {
    display: block;
    margin-top: 8px;
  }
  .congrats-close {
    margin-top: -8px;
  }
  @media (orientation: landscape) and (max-width: 600px) {
    .congrats-popup-header,
    .congrats-popup-main {
      font-size: 18px;
    }
    .congrats-popup-primary {
      padding: 16px;
    }
    .congrats-popup-primary {
      font-size: 24px !important;
    }
    .credit-limit {
      font-size: 32px;
    }
  }
  @media (max-width: 767px) {
    .congrats-popup-main {
      -webkit-animation-name: popupSlide;
      -webkit-animation-duration: 0.4s;
      animation-name: popupSlide;
      animation-duration: 0.4s;
      border-radius: 16px 16px 0 0;
      position: fixed;
    }
    .congrats-popup-primary {
      font-size: 36px;
    }
    .congrats-popup-headline {
      font-size: 21px;
    }
  }
  @media (min-width: 768px) {
    .congrats-popup-headline {
      font-size: 28px;
    }
    .congrats-popup-primary {
      font-size: 45px;
    }
    .congrats-popup-main {
      -webkit-animation-name: popupTop;
      -webkit-animation-duration: 0.4s;
      animation-name: popupTop;
      animation-duration: 0.4s;
      border-radius: 16px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 5%;
      max-width: 600px;
      position: relative;
    }
    .congrats-popup-px-lg {
      padding: 0 16px;
    }
    .congrats-popup-px-lg .congrats-popup-primary {
      border-radius: 12px;
    }
  }
  