/* GLOBAL */
body {
    background-color: rgb(3, 3, 54);
    color: white;
}

a {
    color: white;
    text-decoration: none;
}

main {
    padding: 10px;
}

header {
    text-align: center;
}

h2, h3 {
    text-transform: capitalize;
    text-align: center;
}

p.center {
    text-align: center;
}

/* DASHBOARD */
#team-grid,
#caught-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    /* justify-content: space-around; */
    border: 1px solid green;
}

#team-grid.drop-over,
#caught-grid.drop-over {
    outline: 3px dashed #7dd3fc;
    outline-offset: 6px;
    background: rgba(125, 211, 252, 0.08);
    border-radius: 8px;
    transition: background 120ms ease, outline-offset 120ms ease;
}

.card-space {
    display: flex;
    justify-content: center;
    min-width: 100px;
    min-height: 100px;
    border: 1px solid red;
}

.card-space[draggable="true"] { cursor: grab; }
.card-space[draggable="true"]:active { cursor: grabbing; }

.card-space.empty { 
    display:grid;
    place-items:center;
    border:1px dashed #bbb;
    color:#888; height:140px;
}

/* BATTLE */
#battle-grid {
    border: 1px solid red;
}

.battle-row {
    display: flex;
    justify-content: space-around;
    border: 1px solid green;
}

.img-div {
    border: 1px solid purple;
}

#farImg {
    width: 100px;
}

#nearImg {
    width: 200px;
}

#control-btns {
    border: 1px solid yellow;
    display: flex;
    justify-content: center;
    margin: 25px auto;
}

div#bench-grid {
    display: flex;
    justify-content: space-around;
    border: 1px solid green;
    padding: 5px;
}

div.team-icon {
    border: 1px solid red;
}

.team-img {
    width: 100px;
}

/* POKEDEX */
#search-form {
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

#search-input {
    padding: 5px;
    min-width: 200px;
}

.pokedex-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border: 1px solid red;
    justify-items: center;
}

#pager {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
}

/* #prev, #pager-info {
    margin-right: 10px;
} */

/* POKE DETAILS */
#poke-details-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    border: 1px solid red;
    padding: 10px;
}

.type-container {
    display: flex;
    justify-content: flex-end;
}

.type-icon {
    width: 30px;
    border: 1px solid black;
    margin-left: 10px;
    margin-right: 10px;
}

.img-container {
    display: flex;
    justify-content: center;
}

#main-detail-img {
    width: 300px;
}

p.flavor {
    font-size: 20px;
}

#evo-chain {
    display: flex;
    border: 1px solid blue;
    justify-content: space-around;
    align-items: center;
}

.evo-chain-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid green;
}

.evo-img {
    width: 150px;
}

.arrow {
    font-size: 50px;
}