* {
  box-sizing: border-box;
  margin: 0;
}

body {
  font-family: "Arial", sans-serif;
  font-family: "Heebo", "Noto Sans Hebrew", sans-serif;
  line-height: 1.6;
  background-color: #f3f3f3;
  color: #333;
  text-align: center;
}

button {
  box-shadow: rgba(0, 0, 0, 0.3) 3px 3px 5px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.header {
  margin-bottom: 20px;
}

#main-title {
  font-size: 4em;
  font-weight: 800;
  line-height: 1em;
  padding: 0;
  margin: 0;
  color: #333;
}

.subtitle {
  font-size: 2.25em;
  color: #333;
  font-weight: 700;
  line-height: 1.2em;
  margin: 0.5em 0 1em;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 3em;
  margin-top: 30px;
}

.card {
  flex: 1;
  /* background: linear-gradient(to bottom, #ffca081c, #ffca08); */
  background: linear-gradient(to bottom, #ffca083b, #ffca08);
  border-radius: 15px;
  padding: 30px;
  position: relative;
  min-height: 300px;
  box-shadow: rgba(0, 0, 0, 0.3) 3px 3px 5px;
}

.card-title {
  font-size: 2.25em;
  font-weight: 900;
  margin-bottom: 0.5em;
}

.card .message-textarea {
  height: 184px;
  border: 0.0625em solid #ddd;
  border-radius: 0.9375em;
  font-size: 1.25em;
  outline: none;
  transition: border-color 0.3s;
}

.share-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  padding: 5px;
}

.amount-container {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.amount-btn {
  line-height: 1;
  background: white;
  border: none;
  padding: 8px 30px;
  border-radius: 0.5em;
  font-size: 2em;
  cursor: pointer;
}

  .amount-btn.selected {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: 3px solid black;
  }

.payment-methods {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.payment-btn {
  border-radius: 13px;
  border: none;
  cursor: pointer;
  width: 100px;
  height: 38px;
}

  .payment-btn.selected {
    border: 3px solid black;
  }

.bit-btn {
  padding: 10px 20px;
  background-image: url(/Content/Assets/bit.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.paypal-btn {
  padding: 10px 20px;
  background-image: url(/Content/Assets/1156727_finance_payment_paypal_icon.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
}

.dedication-input {
  height: 6em;
  font-family: inherit;
  font-size: 1.25em;
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: none;
  margin-bottom: 20px;
  box-shadow: rgba(0, 0, 0, 0.3) 3px 3px 5px;
  resize: none;
}

.donate-btn {
  background: #f6e9b5;
  border: none;
  padding: 8px 30px;
  border-radius: 0.5em;
  font-size: 2em;
  cursor: pointer;
  font-weight: 600;
}

  .donate-btn:active {
    background-color: #ffffff;
    border: 1px solid black;
  }

.card .share {
  font-size: 2em;
  font-weight: 300;
  color: #ffffff;
  padding: 0.3em 1.4em;
  margin: 2em auto;
  align-items: center;
}

.card button.share {
  border-radius: 0.5em;
}

.card .share span {
  line-height: 1px;
}

.card .share:hover {
  border: 1px solid black;
}

.card .share:active {
  background-color: #ffffff;
  border: 1px solid black;
}

.card .share svg {
  width: 1em;
  height: 1em;
  margin-left: 0.8em;
}

.card-text {
  font-size: 2em;
  line-height: 1.3em;
  font-weight: 500;
  margin-top: 2em;
  max-width: 479px;
}

.wallet-icon {
  position: absolute;
  width: 50px;
  background-color: white;
  padding: 12px;
  border-radius: 50%;
}

  .wallet-icon img {
    height: 24px;
    width: 24px;
    margin-bottom: -10px;
  }

.contribution-share-icon {
  position: absolute;
  width: 50px;
  background-color: white;
  padding: 12px;
  border-radius: 50%;
}

  .contribution-share-icon img {
    height: 30px;
    width: 30px;
    margin-bottom: -13px;
  }

#share-icon-mobile,
#wallet-icon-mobile {
  display: none;
}

@media (max-width: 767px) {
  #main-title {
    font-size: 2em;
  }

  .subtitle {
    font-size: 1.25em;
  }

  .card-title {
    font-size: 1.5em;
    font-weight: 800;
  }

  .amount-btn {
    font-size: 1.125em;
  }

  .dedication-input {
    font-size: 0.75em;
  }

  .donate-btn {
    font-size: 1.25em;
  }

  .card {
    padding: 19px 34px;
  }

    .card .share {
      font-size: 1.25em;
      padding: 0.5em 1.4em;
    }

  .card-text {
    font-size: 1.125em;
  }

  .card.gashmi-contribution {
    order: 1;
  }

  .container {
    max-width: 340px;
  }

  .cards-container {
    flex-direction: column;
    gap: 2.5em;
  }

  .amount-container {
    gap: 10px;
    margin-bottom: 20px;
  }

  .amount-btn {
    padding: 9px 16px;
    width: 22%;
    height: 35px;
  }

  #share-icon-mobile,
  #wallet-icon-mobile {
    display: block;
  }

  #share-icon-desktop,
  #wallet-icon-desktop {
    display: none;
  }

  .wallet-icon {
    position: static;
    background-color: #ffca06;
    margin: auto;
  }

  .contribution-share-icon {
    position: static;
    background-color: #ffcb06;
    margin: auto;
  }

  div#share-icon-mobile {
    order: 0;
  }

  .card.spiritual-contribution {
    order: 1;
  }

  div#wallet-icon-mobile {
    order: 2;
  }

  .card.gashmi-contribution {
    order: 3;
  }
}
