.rank-grid {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}
.rank-divisions {
  display: none;
}

.rank-grid-division {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.rank-item {
  padding: 0.25rem;
}

.rank-button {
  width: 60px;
  height: 60px;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  background-color: rgba(255, 255, 255, 0.1);
}

.rank-button:hover {
  background-color: rgb(35, 29, 38);
  margin-top: -0.25rem;
}

.rank-button.active {
  background-color: rgb(25, 23, 28);
}

.rank-button img {
  width: 45px;
  height: 45px;
}

@media screen and (max-width: 768px) {
  .rank-item {
    width: 25%;
  }
  .rank-button,
  .division-button,
  .rank-grid {
    width: 100% !important;
  }
}
