.StripeElement {
    background-color: var(--div-color);
    height: fit-content;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    box-shadow: none;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
    font-size: 16px;
    width: 20vw;
    margin: 1rem;
    margin-left: 0px;
    margin-right: 0px;
}


.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}
.StripeElement--invalid {
    border-color: #fa755a;
}
.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

button {
    background-color: var(--primary-color);
    color: var(--text-color2);
    padding: 10px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease-out, box-shadow 0.3s ease-out;
    overflow: hidden;
    border: solid 1px var(--border-color);
    box-shadow: rgba(204, 155, 39, 0.2) 1.95px 1.95px 2.6px;
  }
  
  button:hover {
    background-color: #c69245;
    color: black;
    border: solid 1px #FFBD59;
    box-shadow: rgba(204, 155, 39, 0.4) 5px 5px, rgba(204, 155, 39, 0.3) 10px 10px, rgba(204, 155, 39, 0.2) 15px 15px, rgba(204, 155, 39, 0.1) 20px 20px, rgba(204, 155, 39, 0.05) 25px 25px;
  }

  @media screen and (max-width: 1150px) {
    .StripeElement {
      width: 70vw;
      margin-left: 0px;
      margin-right: 0px;
    }
  }

  .button-div {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: fit-content;
    margin-top: 1rem;
  }

  .error-message {
    color: var(--text-color2);
    font-size: 1.2rem;
    text-align: left;
    position: absolute;
    background-color: #fa755a;
    padding: 10px;
    border-radius: 4px;
    margin-top: 1rem;
    width: 50vw;
    height: fit-content;
  }