body {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #303030;
    color: #d4d4d4;
    min-height: 100vh;
}

.container {
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.card {
    position: relative;
    aspect-ratio: 1/1.4;
    height: 100%;
    max-height: 400px;
    /*max-width: 250px;*/
    background-image: url(xx.png);
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);;
    overflow: hidden;
    transition: box-shadow var(--duration-normal) var(--ease-standard);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.norm,.common,.uncommon,.rare,.epic,.legendary {
    border: 3px solid rgb(32, 32, 32);
    --border-colour: rgb(32, 32, 32);
}

.gold {
    border: 3px solid rgb(235, 203, 0);
    --border-colour: rgb(235, 203, 0);
}

.shiny {
    border: 3px solid rgb(230, 172, 245);
    --border-colour: rgb(230, 172, 245);
}

.holo {
    border: 3px solid rgb(134, 209, 253);
    --border-colour: rgb(134, 209, 253);
}

.card-stats-box {
    position: absolute;
    height: 23%;
    width: 100%;
    bottom: 0;
    background-color: #3030308a;
    backdrop-filter: blur(5px);
    font-size: medium;
    border-top: 2px solid var(--border-colour);
}

.card-name {
    justify-self: center;
    font-size: larger;
    font-weight: 700;
}

.card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: auto
}
.card-pack,.card-cps,.card-chance {
    margin: auto;
}

.card-pack,.card-chance{
    font-size: smaller;
    font-weight: 200;
}

.card-cps {
    font-size: large;
}

.elem-ico {
    max-height: 15px;
    align-self: center;
}

.break {
    flex-basis: 100%;
    height: 0;
}

/*#searchInput {
    font-size: 30px;
    background-color: rgb(141, 141, 141);
    color: rgb(255, 255, 255);
    border-radius: 100px;
    border-color: rgb(200, 200, 200);
}
#searchInput::placeholder {
    color: rgb(200, 200, 200);
}
#searchInput:active {
    color: rgb(200, 200, 200);
}*/