  
  h1 {
    text-align: center;
  }

/*
  SPONSOR WALL
* ***************************************/

  .sponsor-wall{
    width:100%;
    overflow-x: hidden;
  }
  .sponsor-wall .sponsor-section {
    display:flex;
  flex-wrap:wrap;
    justify-items: center;
    width: 40%;
    max-width: 260px; /* Optional: controls overall width */
  }
  
  /* General sponsor styles */
  .sponsor {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:5%;
  }
  
  .sponsor img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  /* Platinum Sponsors */
  .sponsor.platinum {
    flex-basis:100%;
    width: 100%;  /* Largest size */
    justify-content: center;
  }
  .sponsor.platinum img {
    width: auto;  /* Largest size */
    height: auto;
    align-items: center;
  }
  
  /* Gold Sponsors */
  .sponsor.gold {
    flex-basis:calc(100% / 2);
    width: 50%;  
  }
  .sponsor.gold img {
    width: 100%;  /* Smaller than Platinum */
    height: auto;
  }
  
  /* Silver Sponsors */
  .sponsor.silver {
    flex-basis:calc(100% / 4);
    width: 25%;  /* Smallest size */
  }
  .sponsor.silver img {
    width: 100%;  /* Smallest size */
    height: auto;
  }





/*
  SPONSOR LISTING
* ***************************************/

  #sponsorship-section {
    background-color: #FDC239;
    padding: 30px 15px;
  }
  
  #product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }


  
  .product-card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap; 
    position: relative;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 10px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    gap: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  @media  (min-width: 767px) {
    .product-card {
        
        flex-direction: row;
        flex-wrap: nowrap;
      }
    }

 
  
  .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff4b5c;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
  }


  .image-container {
    flex: 0 0 200px;
    width: 200px;
    margin: 0 auto;
  }

  .description-container {
    flex-grow: 1;
  }

  .action-container {
    display: flex;
  flex-direction: column;
    flex: 0 0 200px;
  }

  .action-container .price {
    font-size: 1.2em;
    margin: 10px 0;
}

  
  .product-card img {
    width: 100%;
    /*height: 200px;*/
    /*object-fit: cover;*/
    object-fit: contain;
    border-radius: 5px;
    margin-bottom: 15px;
  }
  
  .product-card h2 {
    font-size: 1.2em;
    margin: 10px 0;
  }
  
  .product-card p {
    color: #777;
  }
  


  .product-card a {
    display: block;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: auto;
  }
  
  .product-card a:hover {
    background-color: #0056b3;
  }
  
  #product-detail img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  #product-detail p {
    font-size: 16px;
  }
  
  #product-detail p strong {
    font-weight: bold;
  }
  
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  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/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 0px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 800px;
}

.modal-header, .modal-footer, .modal-body {
  padding: 1rem 1.5rem;
}

.modal-header, .modal-footer {
  color: #fff !important;
  background-color: #fcb207 !important;
}

.modal-footer {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

/* The Close Button */
/*
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
*/
.close {
  float: right;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  filter: alpha(opacity = 20);
  opacity: .5;
}

.close:hover,
.close:focus {
  text-decoration: none;
  cursor: pointer;
  opacity: .8;
}


.sponsorship-modal .action { 
  padding: 10px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: auto;
  font-size: 19px;
  line-height: 1em;
  font-weight:normal;
  min-width: 120px;
  float: none;
  text-align: center;
}

.sponsorship-modal .sendmail {
  background-color: #007bff;
  color: white;
}

.sponsorship-modal .sendmail:hover {
  background-color: #0056b3;
}

.sponsorship-modal .btn-abort { 
  opacity:0.6;
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.sponsorship-modal .btn-abort:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  opacity:0.6;
}