body {
    font-family: Arial, sans-serif;
    background-color: #181a1b;
    margin: 0;
    padding: 0;
}

h1 {
    text-align: center;
    margin-top: 50px;
    color: white;
}

p {
    text-align: center;
    color: white;
    font-size: 18px;
}

.image-container {
    display: grid;
    place-items: center;   /* Center both horizontally and vertically */
    text-align: center;     /* Center the text inside the container */
    /* min-height: 100vh;      /* Minimum height of 100vh to take full viewport height */ */
    object-fit:cover
}

.my-image {
    width: 100%;
    max-width: 1200px;
    height: auto;           /* Maintain aspect ratio */
    /* max-width: 100%;        /* Ensure image doesn't exceed container width */ */
    object-fit: cover;
}

/* Desktop styling (screens larger than 768px) */
@media screen and (min-width: 768px) {
  .my-image {
    width: 70%;         /* Take up 70% of container on desktop */
  }
}

/* Medium-sized screens */
@media screen and (min-width: 481px) and (max-width: 767px) {
  .my-image {
    width: 85%;         /* Take up 85% on medium screens */
  }
}

/* Mobile styling (screens smaller than 480px) */
@media screen and (max-width: 480px) {
  .my-image {
    width: 95%;         /* Take up nearly full width on mobile */
  }
}

.contributors {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  /* Center the flex items */
  justify-content: center;
}

.contributors li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 6px 12px;
  font-weight: bold;
  /* Base size will be overridden by JavaScript */
  font-size: 16px;
  
  /* Add visual separation with subtle styling */
  background-color: #242729;
  border-radius: 4px;
  transition: transform 0.2s, box-shadow 0.2s;

  min-height: 40px;

  text-align: center;
}

/* Optional hover effect */
.contributors li:hover {
  background-color: grey;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

footer {
  margin-top: 20px;
  padding: 20px;
  /* border-top: 1px solid #eee; */
  background-color: #181a1b;
  color: white;
  border-radius: 8px;
}

/* Contributors title*/
footer h2 {
  font-size: 45px;
  margin-bottom: 15px;
  text-align: center;
  color: white;
  border-bottom: 2px solid #eee;
  padding-bottom: 8px;
}
