body {
  background-color: #ddd;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  text-align: center;
  padding-inline: 50px;
  margin-top: 60px;
}
@media (max-width: 1200px) {
  .image-grid {
    grid-template-columns: 1fr;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .image-grid {
    grid-template-columns: 1fr;
  }
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
  transform: skewX(-4deg) scale(1);
  background-color: #121212;
}

.grid-item:hover .image-wrapper img {
  transform: skewX(4deg) scale(1.2);
}

.grid-item:hover .caption {
  background-color: rgb(58, 67, 83);
}

.grid-item:hover .corner-icon {
  transform: skewX(4deg) scale(1.1) !important;
}

.image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.2s ease;
  transform: skewX(4deg) scale(1.1);
}

.caption {
    display: flex;
    width: 100%;
    height: 48px;
    /* background-color: #1a2d53; */
    background-color: #181818;
    align-items: center;
    padding: 12px;
    box-sizing: border-box;
}

.caption img {
    margin-inline: 8px;
    width: 24px;
    height: auto;
    transform: skewX(4deg) scale(1);
    filter: brightness(120%);
}

.champion-name {
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 1.2rem;
    font-weight: bolder;
    color: #fff;
    text-transform: uppercase;
    /* font-style: italic; */
    text-align: left;
    letter-spacing: 0.1rem;
}

.soon-disclamer {
    width: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 0.6rem;
    font-weight: bolder;
    text-transform: uppercase;
    color: #ffff00;
    letter-spacing: 0.1rem;
    margin: 0px 0px;
    transform: skewX(4deg) scale(1);
}

/* Image superposée */
.corner-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px !important;
  height: 36px !important;
  transition: transform 0.2s ease;
  background-color: #181818;
  padding: 4px;
  border-radius: 20px;
}

.corner-icon {
  filter: brightness(150%);
}

#footer-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    color: #555;
    text-align: center;
    padding-top: 50px;
    padding-inline: 50px;
}