@import url('https://fonts.googleapis.com/css2?family=Kumar+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

main {
  font-family: "Inter";
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.kategorie-titel {
  background-color: #D9D9D9;
  text-align: center;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 2rem;
  width: fit-content;
  margin: 0 auto 2rem auto;
}

.podest-links {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  gap: 2rem;
}

.podest-rechts {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  gap: 2rem;
}

.sportler {
  background-color: #D9D9D9;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  flex: 1;
}

.sportler img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  background-color: #D9D9D9;
}

.sportler p {
  margin-top: 1rem;
  font-weight: bold;
  background-color: #D9D9D9;
}

.sportler-hoch img {
  height: 300px;
  object-fit: cover;
}

.sportler-mittel img {
  height: 220px;
  object-fit:scale-down
}

.sportler-klein img {
  height: 160px;
  object-fit: scale-down;
}

.namen-zeile {
  background-color: #D9D9D9;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  border-radius: 10px;
  margin-top: -1rem;
}

.namen-zeile p {
  font-weight: bold;
  text-align: center;
  flex: 1;
}

footer{
    background-color: #EAEEEF;
}

@media (max-width: 1024px) and (min-width: 768px) {
  main {
    padding: 3rem 1.5rem;
    gap: 4rem;
  }
  
  .podest-links,
  .podest-rechts {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
  
  .sportler-hoch img {
    height: 250px;
  }
  
  .sportler-mittel img {
    height: 180px;
  }
  
  .sportler-klein img {
    height: 130px;
  }
  
  .namen-zeile {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  main {
    padding: 2rem 1rem;
    gap: 3rem;
  }
  
  .podest-links,
  .podest-rechts {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .sportler-hoch img {
    height: 180px;
  }
  
  .sportler-mittel img {
    height: 130px;
  }
  
  .sportler-klein img {
    height: 100px;
  }
  
  .kategorie-titel {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
  }
  
  .namen-zeile {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem;
  }
}
