/* Set your desired background color for the entire footer here */
footer {
  background: linear-gradient(to bottom, #F8FBED 0%, #a8c470 100%);
  margin-top: -2cm;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  margin-top: 2cm;
}

.logo-footer {
  height: 20rem !important;
  width: auto !important;
  max-width: 500px !important;
}

.social-wrapper {
  text-align: left !important;
  margin-top: 3rem;
  color: white !important;
}

.social-link {
  color: #0c8301;
}

.social-img {
  width: 4rem !important;
  height: auto !important;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  grid-auto-rows: auto;
}

.contact-logo {
  grid-column: 1;
}

.contact-grid {
  grid-column: 2;
  justify-self: center;
}

hfooter {
  color: #0c8301;
    font-size: 24px; /* Adjust the font size */
    margin-bottom: 5px;

}

.c {
  width: 100%;
  padding-top: 2cm;
}

.p {
  /* Remove background color property here */
  border-radius: 0 0 6px 6px;
  position: sticky;
  bottom: 0%;
  left: 50%;
  width: auto;
  max-height: auto;
  height: auto;
  overflow: hidden;
  padding-top: 0.5cm;
  padding-bottom: 0.5cm;
  background-color: transparent;
}

.line {
  /*border-bottom: 1px solid white;*/
  border-radius: 999px;
  position: static;
  background: linear-gradient(135deg, #6c842e 0%, #a4ac34 100%);
  height: 2px;
  width: 80%;
  margin-top: 0.5cm;
  margin-left: 10%;
}

/* Sponsors Footer */

.sponsorsFooter {
  width: 100%;
  height: auto;
  z-index: 14;
  margin-top: 0px;
  text-align: center;
  background-color: transparent;
}

.sponsorsFooter h1 {
  font-weight: 300;
  color: white;
  font-size: 22px;
  background-color: transparent;
}

.sponsorsFooter h1 > strong {
  font-weight: 700;
}

.sponsorsFooter img {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  height: auto;
  vertical-align: middle;
  max-width: 120px;
  background-color: transparent;
}

.sponsorsFooter ul {
  padding: 0;
  margin: 1px 0 0 0;
  list-style: none;
  display: block;
  background-color: transparent;
}

.sponsorsFooter ul.enter > span:not(.hover) {
  opacity: .1;
}

.sponsorsFooter ul.enter > span.hover {
  opacity: 1;
  box-shadow: inset -1px 0 0 0 rgba(0, 0, 0, .1), inset 1px 0 0 0 rgba(0, 0, 0, .1);
}

.sponsorsFooter ul span {
  display: inline;
  background: white;
  word-break: break-all;
  word-wrap: break-word;
  margin: 0px;
  padding: 26px 0;
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  -ms-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.sponsorsFooter ul span,
.sponsorsFooter ul span li > a {
  cursor: default ;
  border: none;
  outline: 0 ;
  text-decoration: none ;
  background-color: transparent;
}

.sponsorsFooter ul li {
  margin: 35px 16px 0px;
  display: inline-block;
  background-color: transparent;
}

@media(max-width: 988px) {
  .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2fr 20rem;
  }

  .contact-logo {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-grid {
    grid-column: 2;
    grid-row: 2;
  }

  .grid-sponsors {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row: 1;
    background-color: transparent;
  }
}

@media(max-width: 402px) {
  .row u {
    color: rgb(255, 255, 255);
  }
}

#sponsorTitle {
  color: #fc2c2c; /* Default color */
  transition: color 0.3s; /* Add transition effect */
}

/* Apply hover effect */
.sponsorsFooter ul li:hover {
  box-shadow: 0px 0px 40px rgba(94, 130, 22, 0.858);
  border-left: 2px solid #ede8c8; /* Add left border on hover */
  border-right: 2px solid #ede8c8; /* Add right border on hover */
}

/* Add rounded corners to boxes */
.sponsorsFooter ul li {
  background-color: transparent;
  border-radius: 20px;
}

/* Change the color of the sponsor group title on hover */
.sponsorsFooter h3:hover {
  color: #A2C579;
}
  
/* Change color of letters when hovering */
.sponsorsFooter ul li-container:hover .sponsor-title {
  color: #FFD700; /* Change to your desired color */
}

/* Add a subtle shadow to other sponsors when hovering */
.sponsorsFooter ul li-container:not(:hover) {
  box-shadow: 0px 0px 40px #5e8216db; /* Add a small shadow to others */
  border-radius: 10px; /* Add rounded corners */
}

/* Separate sponsors by category */
.sponsorsFooter ul li.platinum {
  /* Style for platinum sponsors */
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5) 0px 0px 8px #FFD700;  /* Add the colored shadow */
}

.sponsorsFooter ul li.gold:hover {
  /* Style for gold sponsors on hover */
  box-shadow: 0px 0px 40px #5e8216db; /* Add the colored shadow on hover */
}

.sponsorsFooter ul li.silver:hover {
  /* Style for silver sponsors on hover */
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5), 0px 0px 40px #5e8216db; /* Add the colored shadow on hover */
}

.sponsorsFooter ul li.bronze:hover {
  /* Style for bronze sponsors on hover */
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5), 0px 0px 40px #5e8216db; /* Add the colored shadow on hover */
}
