/* the actual cards container is inline-flex and wraps rows */
.all-cards {
    display: grid;
    grid-template-rows: auto;
    grid-auto-rows: auto;
    grid-template-columns: repeat(auto-fit, 450px);
    gap: 40px;

    /* justify-content: center; */
    /* align-items: flex-start; */
    align-content: start;
}

.char-details{

    background-color: #fff;
    color: #5e3163;
    width: 100%;
    border: 4px solid #000000;
    border-radius: 5px;
    box-shadow: 5px 5px 15px #222222;
    text-align: left;

}

.character-name {
font-size: 24pt;
  text-align: center;
  padding: 10px;
  background-color: #E3350D;
  color: #fff;
}

.play-title{
    display: flex;
    align-items: center;

    background-color: #FFFFFF;
    padding-left: 20px;

    font-size: 18pt;
    height: 60px;

}

a.play, a.trait{
    color: #5E3163;
}

/* Set category icon to 50px */
.play-title a img, .icon {
    border: 1px solid #5E3163;
    padding: 5px;
    border-radius: 10px;
    width: 50px;
    margin-right: 20px;
    background-color: #FFFFFF;
}

.play-title a img:hover, .icon:hover {
    border: 1px solid #222222;
    background-color: #FFCB05;

}


.play-title a{
    text-decoration: none;
}

.play-title a.play:hover{
    background-color: #5E3163;
    color: #fff;
    font-weight: bold;
    /* padding: 8px; */
}


.icon-row{
    display: flex;
    padding: 10px;
    padding-top: 25px;

    align-content: center;
    justify-content: space-between;

}

/* Clickable icon styling */
.icon-row a img {
    border: 1px solid #222222;
    padding: 15px;
    border-radius: 10px;
    width: 45px;
    background-color: #FFCB05;
}

.icon-row a img:hover {
    border: 1px solid #2A75BB;
    background-color: #FFFFFF;
}

.description {
    padding: 10px;
}

.trait-tags {
    display: flex;
    margin-left: 5px;
    margin-bottom: 5px;
}

.trait-tags a{
    padding: 10px;
    margin-right: 5px;
    background-color: #FFFFFF;
    border: 2px solid #000000;

    border-radius: 5px;
    text-decoration: none;

    font-size: 105%;
    margin-top: 5px;
}

.trait-tags a:hover{
    background-color: #2A75BB;
    color: #fff;
    font-weight: bold;
}

.delete-tags a{
    background-color: #fff;
    color: #660000;
    border: 2px solid #660000;
}

.delete-tags a:hover{
    color: #fff;
    background-color: #660000;   
}

.pokemon-image-holder {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 15px;
}

.pokemon-image {
    width: 180px;
    height: 180px;
    object-fit: contain;
}

/* Pokémon type colours */
.type-normal   { background-color: #A8A878 !important; color: #000000 !important; }
.type-fire     { background-color: #F08030 !important; color: #000000 !important; }
.type-water    { background-color: #6890F0 !important; color: #000000 !important; }
.type-electric { background-color: #F8D030 !important; color: #000000 !important; }
.type-grass    { background-color: #78C850 !important; color: #000000 !important; }
.type-ice      { background-color: #98D8D8 !important; color: #000000 !important; }
.type-fighting { background-color: #C03028 !important; color: #000000 !important; }
.type-poison   { background-color: #A040A0 !important; color: #000000 !important; }
.type-ground   { background-color: #E0C068 !important; color: #000000 !important; }
.type-flying   { background-color: #A890F0 !important; color: #000000 !important; }
.type-psychic  { background-color: #F85888 !important; color: #000000 !important; }
.type-bug      { background-color: #A8B820 !important; color: #000000 !important; }
.type-rock     { background-color: #B8A038 !important; color: #000000 !important; }
.type-ghost    { background-color: #705898 !important; color: #000000 !important; }
.type-dragon   { background-color: #7038F8 !important; color: #000000 !important; }
.type-dark     { background-color: #705848 !important; color: #000000 !important; }
.type-steel    { background-color: #B8B8D0 !important; color: #000000 !important; }
.type-fairy    { background-color: #EE99AC !important; color: #000000 !important; }