.pokemons
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 650px));
    grid-template-rows: auto;
    gap: 20px;
    padding: 20px;
    justify-content: center;
}
.pokemon
{
    position: relative;
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    padding: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgb(84, 143, 215) 0%, rgb(8, 69, 118) 100%);
    box-shadow: 2px -2px 15px rgba(200, 200, 200, 0.1);
    max-height: 100%;
    max-width: 100%;
    transition: max-height 0.3s ease-out, max-width 0.3s ease-out;
}
.pokemon .remove-btn
{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #ab2020;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.pokemon .x-btn
{
    height: 100%;
    width: 100%;
    cursor: pointer;
}
.pokemon img[alt="Pokemon"]
{
    width: 200px;
    max-width: calc(100% - 20px);
    aspect-ratio: 1;
}
.pokemon .level
{
    font-size: 2.0rem;
}
.pokemon .head
{
    transition: margin-bottom 0.3s ease-out;
}
.pokemon .head .name
{
    font-size: 2.8rem;
    font-weight: bold;
    color: #fff;
}
.pokemon .ability-item-container
{
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 15px;
    font-size: 2.2rem;
}
.pokemon .ability-item-container .col
{
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: start;
}
.pokemon .ability-item-container .col:first-child
{
    flex-grow: 0;
}
.pokemon .ability-item-container .col:last-child
{
    align-items: start;
}
.pokemon .ability-name, .pokemon .item-name
{
    text-decoration: underline;
    cursor: pointer;
}
.pokemon .head .type1
{
    margin-top: 30px;
}
.pokemon .head .type2
{
    margin-top: 10px;
}
.pokemon .title
{
    margin: 30px 0 15px 0;
    font-size: 2.8rem;
    font-weight: bold;
    justify-content: center;
    align-items: center;
}
.pokemon .edit-column
{
    flex-grow: 0;
}
.pokemon .edit
{
    background-image: url("/assets/img/pencil.svg");
    background-size: contain;
    height: 24px;
    width: 24px;
    margin-top: 2px;
    cursor: pointer;
}
.pokemon .weaknesses
{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pokemon .weaknesses .multiplier
{
    width: 90px;
    border-radius: 8px;
    background-color: #1f1f1f;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    padding-bottom: 4px;
}
.pokemon .weaknesses .types
{
    display: grid;
    grid-template-columns: repeat(4, minmax(100px, 180px));
    grid-gap: 7px 5px;
}
.pokemon .weaknesses .types .type
{
    width: unset;
}
.pokemon .moves
{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pokemon .moves .move, .pokemon .moves .legend
{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 7px;
}
.pokemon .moves .name, .pokemon .moves .legend-name
{
    flex: 3;
}
.pokemon .moves .type, .pokemon .moves .legend-type
{
    flex: 2;
    text-align: center;
}
.pokemon .moves .category, .pokemon .moves .legend-category
{
    flex: 2;
    text-align: center;
}
.pokemon .moves .power, .pokemon .moves .legend-power
{
    flex: 1;
    text-align: center;
}
.pokemon .moves .accuracy, .pokemon .moves .legend-accuracy
{
    flex: 1;
    text-align: center;
}
.pokemon .moves .pp, .pokemon .moves .legend-pp
{
    flex: 1;
    text-align: center;
}
.pokemon .moves .priority, .pokemon .moves .legend-priority
{
    flex: 1;
    text-align: center;
}
.pokemon .moves .delete, .pokemon .moves .legend-delete, .pokemon .moves .confirm, .pokemon .moves .legend-confirm
{
    flex: 1;
}
.pokemon .moves .legend
{
    font-weight: bold;
    font-size: 2.2rem;
}
.pokemon .moves .name
{
    cursor: pointer;
    font-weight: bold;
}
.pokemon .moves .type, .pokemon .moves .category
{
    width: unset;
}
.pokemon .moves .delete, .pokemon .moves .confirm
{
    width: 20px;
    height: 20px;
}
.pokemon .add-move-btn
{
    border-radius: 10px;
    padding: 5px;
    font-size: 1.8rem;
    background-color: #008000;
    color: #fff;
    cursor: pointer;
}
.pokemon .add-move-btn:hover
{
    filter: brightness(1.1);
}
.pokemon .notes
{
    width: 100%;
    height: 150px;
    font-size: 1.8rem;
    background-color: #1f1f1f;
    border-radius: 10px;
    resize: vertical;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    transition: padding-top 0.5s ease-out, padding-bottom 0.5s ease-out, max-height 0.5s ease-out;
    overflow-y: auto;
}
.pokemon .notes.collapsed
{
    padding-top: 0px;
    padding-bottom: 0px;
}

.sort-btn
{
    display: none;
    position: fixed;
    top: 100px;
    left: 25px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #208fab;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
