.ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  row-gap: 75px;
}

.ranking-grid .ranking-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.ranking-grid .ranking-card img {
  height: 300px;
  width: 100%;
  object-fit: cover;
  padding-bottom: 18px;
}

.ranking-card p,
.ranking-card h2 {
  font-family: "Inter", Sans-serif;
  font-style: normal;
  font-weight: 700;
  margin: 0;
  line-height: normal;
}

.ranking-card p.puntaje {
  color: #E71096;
  font-size: 3.625rem;
}

.ranking-card h2 {
  color: #04ADBC;
  font-family: "Inter", Sans-serif;
  font-size: 2rem;
}

.ranking-card p.dir {
  color: #000;
  font-size: 1rem;
  font-weight: 500;
}

.ranking-card .posicion {
  position: absolute;
  width: 3.635rem;
  height: 3.635rem;
  background-color: #E71096;
  font-size: 1.75rem;
  color: white;
  font-family: "Inter", Sans-serif;
  border-radius: 50%;
  top: 14px;
  left: -29px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 900;
}

@media only screen and (max-width: 767px) {
  .ranking-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 45px;
  }

  .ranking-grid .ranking-card img {
    height: 230px;
    padding-bottom: 15px;
  }

  .ranking-card p.puntaje {
    font-size: 2.75rem;
  }

  .ranking-card h2 {
    font-size: 1.5rem;
  }

  .ranking-card p.dir {
    font-size: 0.8rem;
  }

  .ranking-card .posicion {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 1.3125rem;
    top: 10px;
    left: -20px;
  }
}
