#popup-card {
  display: none;
}

.card {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  max-width: 38rem;
  min-height: 20rem;
  width: 90%;
  display: grid;
  place-content: center;
  place-items: center;
  text-align: center;
  box-shadow: 0.063em 0.75em 1.563em rgb(0 0 0 / 78%);
  border-radius: 1rem;
}

@media screen and (min-width: 33.75rem) {
  .card {
    min-height: 15rem;
  }
}

.card-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.8em 0.8em 0em 1.5em;
}

.card-header .close {
  color: #d9d9d9;
  width: 1.5rem;
  cursor: pointer;
}

.card-body {
  width: 100%;
  padding: 0.7em 2em 0.5em 2em;
  text-align: left;
}

@media screen and (min-width: 33.75rem) {
  .card-body {
    display: flex;
    text-align: unset;
  }

  .card-body .icon {
    width: 4rem;
  }

  .card-body>div {
    margin-left: 2em;
  }
}

.card-body .icon {
  width: 3rem;
}

.card-body h3 {
  text-align: left;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.035em;
  margin-top: 0.625em;
  margin-bottom: 0.5em;
  font-weight: 600;
}

.card-body p {
  text-align: left;
  color: #cccccc;
  font-size: 1rem;
  letter-spacing: 0.031rem;
}

.progress {
  width: 100%;
  margin-top: 0.938rem;
}

@media screen and (min-width: 33.75rem) {
  .progress {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .progress>div {
    width: 100%;
  }
}

.progress-bar {
  position: relative;
  width: 100%;
  background: #363636;
  height: 0.35rem;
  display: block;
  border-radius: 3.125rem;
}

.progress-bar::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  display: block;
  border-radius: 3.125rem;
}

.progress span:first-of-type {
  color: #cccccc;
  text-align: right;
  font-weight: 600;
  width: 100%;
  display: block;
  margin-bottom: 0.313rem;
  font-size: 0.9rem;
}

.btn-first,
.btn-second {
  background: #222127;
  color: #fff;
  border-radius: 0.25em;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  font-size: 0.9rem;
}

@media screen and (min-width: 33.75rem) {

  .btn-first,
  .btn-second {
    padding: 0.625rem 2.2rem;
  }
}

.btn-second {
  margin-left: 2em;
}

/* Green Card */
.green {
  background: radial-gradient(ellipse at right top, #107667ed 0%, #151419 47%, #151419 100%);
  opacity: 0.95;
  transition: opacity 0.25s ease-in;
}

.green:hover {
  opacity: 1;
}

.green .icon {
  color: #2eea9d;
}

.green .card-body {
  align-items: center;
}

.green::before {
  background: linear-gradient(45deg, #232228, #232228, #232228, #232228, #01c3a8) border-box;
}

.green .progress-bar::after {
  width: 90%;
  background: #2eea9d;
}

.green .btn-first {
  margin-left: 0;
}

.green .btn-first:hover {
  background: #ccff00;
  color: #111;
}

.green .btn-second:hover {
  background: #2eea9d;
}