/* The Modal (background) */
.GoodAPIDirectModalMain {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  }
  
  /* Modal Content */
  .GoodAPIDirectModalContent {
    color: black;
    background-color: white;
    font-family: var(--font-heading-family);
    margin: auto;
    padding: 20px;
    width: 80%;
    border-radius: 10px;
    max-width: 560px;
  }
  
  /* The Close Button */
  .GoodAPIDirectModalClose {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .GoodAPIDirectModalClose:hover,
  .GoodAPIDirectModalClose:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  

  /* Product Badge */
  .goodapidirect-product-badge-container {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 10px 15px;
    background: rgba(180, 180, 185, 0.15);
  
    color: var(--color-base-text);
    font-family: var(--font-heading-family);
    font-size: 13px;
    line-height: 180%;
    justify-content: space-between;
  }
  
  .goodapidirect-product-badge-content {
    display: flex;
    align-items: center;
  }
  
  .goodapidirect-product-icon-container {
    margin-right: 15px;
  }
  
  .goodapidirect-product-icon {
    width: 100%;
    min-width: 36px;
    max-width: 44px;
  }
  
  .goodapidirect-product-modal-button,
  .goodapidirect-product-badge-link {
    outline: none;
    border: none;
    background-color: transparent;
    padding-left: 5px;
  }
  
  .goodapidirect-product-info-icon {
    margin: 0;
  }
  
  
  /* Counter */
  /* Default styles for larger screens */
  .goodapidirect-impact-banner-background {
    background: url(https://sprout-trees.imgix.net/total-counted-section-backround.jpeg?fm=webp&auto=format&w=1000);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #1cc39c;
  }
  
  .goodapidirect-impact-banner-overlay {
    background: rgba(0, 0, 0, 0.5);
    height: 100%;
  }
  
  .goodapidirect-impact-banner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: var(--font-heading-family);
    color: white;
    padding: 80px 60px;
  }
  
  .goodapidirect-impact-banner-heading {
    line-height: 160%;
    text-align: center;
    width: 100%;
    margin: 0 0 20px 0;
    font-size: 32px;
  }
  
  .goodapidirect-impact-banner-details {
    line-height: 180%;
    text-align: center;
    margin: 30px 60px 0px 60px;
  }
  
  .goodapidirect-impact-banner-total {
    font-size: 48px;
  }
  
  .goodapidirect-impact-banner-subtext {
    font-size: 16px;
  }
  
  /* Mobile styles */
  @media screen and (max-width: 768px) {
    .goodapidirect-impact-banner-content {
      padding: 40px 20px;
    }
  
    .goodapidirect-impact-banner-heading {
      font-size: 24px;
    }
  
    .goodapidirect-impact-banner-details {
      margin: 20px 20px 0 20px;
    }
  
    .goodapidirect-impact-banner-total {
      font-size: 36px;
    }
  
    .goodapidirect-impact-banner-subtext {
      font-size: 14px;
    }
  }
  