:root {
  --footer-text-color: #000000;
  --footer-highlight-color: #000000;
  --footer-link-color: #00a89a;
  --footer-accent-color: #000000;
  --carousel-height: 15vh; /* Use viewport height for responsive sizing */
}
.footer_footer {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/tileable-grey.webp');
  background-repeat: repeat;
  background-size: 20% auto;
  color: var(--footer-text-color) !important;
  padding: 2rem 0;
  border-top: 0px solid var(--footer-accent-color);
  font-family: 'Press Start 2P';
  text-align: center;
}
.footer_footer h2 {
  background-color:transparent;
  color: var(--footer-highlight-color);
  text-shadow: none;
  margin-bottom: 2rem;
}
.footer_sponsor-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}
.footer_logo-container {
  padding-left: 2%;
  width: 12%;
  min-width: 150px; /* Ensure a minimum size */
}
.footer_logo {
  max-width: 100%;
  height: auto;
}
.footer_uber-carousel {
  width: 87%;
  min-width: 300px; /* Ensure a minimum size */
}
.footer_carousel {
  overflow: hidden;
  height: var(--carousel-height);
  margin-bottom: 1rem;
  position: relative;
}
.footer_inner-carousel {
  display: flex;
  height: 100%;
  position: absolute;
  left: 0;
  transition: transform 0.1s linear;
}
.footer_sponsor-image {
  height: var(--carousel-height);
  width: auto;
  margin-right: 2%; /* Use percentage for relative spacing */
  object-fit: contain;
}
.footer_footer a {
  color: var(--footer-link-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer_footer a:hover {
  color: var(--footer-highlight-color);
  text-decoration: underline;
}
.footer_footer hr {
  border-color: var(--footer-accent-color);
  margin: 2rem 0;
}
.footer_subfoot {
  color: var(--footer-text-color);
  opacity: 0.8;
}
/* Responsive adjustments */
@media (max-width: 992px) {
  .footer_sponsor-section {
    flex-direction: column;
    align-items: center;
  }
  .footer_logo-container {
    width: 50%;
    margin-bottom: 2rem;
  }
  .footer_uber-carousel {
    width: 100%;
  }
  .footer_sponsor-image {
    margin-right: 1%; /* Adjust spacing for smaller screens */
  }
}


.footer_additional-sponsors {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2rem;
}

.footer_additional-images {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 70%;
}

.footer_additional-sponsor-image {
  height: 10vh;
  width: auto;
  object-fit: contain;
  margin-right: 2%;
}

.footer_contact-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 30%;
}

.footer_contact-info {
  margin-bottom: 1rem;
  text-align: center;
}

.footer_contact-info p {
  margin: 0;
  line-height: 1.5;
}

.footer_social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer_social-link {
  width: 40px;
  height: 40px;
  margin: 0 5px 10px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.footer_social-link:nth-child(1) {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/social/social0.png');
}

.footer_social-link:nth-child(2) {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/social/social1.png');
}

.footer_social-link:nth-child(3) {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/social/social2.png');
}

.footer_social-link:nth-child(4) {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/social/social3.png');
}

.footer_social-link:nth-child(5) {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/social/social4.png');
}

.footer_social-link:nth-child(6) {
  background-image: url('https://static.igem.wiki/teams/5406/images/icons/social/social5.png');
}
@media (max-width: 992px) {
  .footer_additional-sponsors {
    flex-direction: column;
    align-items: center;
  }

  .footer_additional-images {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .footer_contact-social {
    width: 100%;
  }
}


footer p
{
  color:black;
}

.footer a{
  color:white !important
}

footer a:hover{color:#FF0081 !important;}