.carte{
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: #000000;
  padding: var(--padding);
  max-width: 500px;
  max-height: 500px;
  text-align: center;
}

.carte img{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

.carte-content{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--padding);
}

.carte-content h2{
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 2.25rem);
  color: #FFFFFF;
  font-weight: 900;
}
