@font-face {
    font-family: DDMFont;
    src: url("../resources/asul-regular.ttf");
  }

.cardContainer {
    aspect-ratio: 0.69 / 1;
    display: flow-root;
    background-size: contain, 78%;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: center, 42%;
    font-family: DDMFont;
}

.monsterDieContainer {
    display: flex;
    height: 100%;
    flex-direction: column;
    width: fit-content;
    position: absolute;
    transform: translateX(15vw);
}
.monsterDie {
    height: 16.6%;
}

.foil:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  background: linear-gradient(
    42deg,
    rgba(220, 25, 255, 0.4),
    rgba(55, 165, 255, 0.4),
    rgba(56, 255, 212, 0.4),
    rgba(255, 232, 102, 0.4),
    rgba(240, 52, 52, 0.4),
    rgba(220, 25, 255, 0.4),
    rgba(55, 165, 255, 0.4),
    rgba(56, 255, 212, 0.4),
    rgba(255, 232, 102, 0.4),
    rgba(240, 52, 52, 0.4)
  );
  mix-blend-mode: color-dodge;
  background-size: 200% 100%;
  animation: scrollGradient 10s linear infinite;
}

/* Animation de défilement vers la droite */
@keyframes scrollGradient {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 200% 0;
  }
}

.cardLevel {
    margin-top: 8%;
    margin-right: 8%;
    margin-bottom: 0;
    text-align: right;
}

.cardNameContainer {
    width: 76%;
    margin-top: 3%;
    margin-bottom: 5%;
    margin-left: auto;
    margin-right: auto;
}

.cardName {
    margin: 0 auto;
    width: fit-content;
    text-align: center;
    white-space: nowrap;
}

.statsContainer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 0 12%;
}

.textBox {
    margin-top: 66%;
    height: 22%;
}

.resourceIcon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: text-top;
}

.cardType {
    text-align: center;
    margin: .5%;
}

.typeUnderline {
    width: 65%;
    border-bottom: .1vw solid black;
    display: table;
    margin: auto;
    margin-bottom: .5%;
}

.effectsContainer {
    margin: 0 12%;
    padding: 0;
    list-style: none;
    height: 75%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

li {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.cost {
    width: 30%;
    margin-right: 2%;
    max-width: 20%;
    text-align: center;
    /* font-size: 1rem; */
    white-space: nowrap;
}

.costCircle {
    border: 1px solid black;
    border-radius: 500px;
    padding: 0 10%;
}

.colorWhite {
    color: white;
    fill: white;
    stroke: white;
}

.colorBlack {
    color: black;
    fill: black;
    stroke: black;
}

var {
    font-style: normal;
}

/* @media (orientation: portrait) {
    .cardContainer {
        width: 25vw;
        font-size: 1.2vw;
    } */
    /* .textBox {
        margin-top: 16.6vw;
    } */
    /* .effectsContainer {
        height: 6vw;
    } */
/* } */