/*--------------------------------------------------
Container for all Pokemon ("Pokeboxes")
---------------------------------------------------*/
#all-pokemon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin: 200px 0 300px 0;
}

.pokebox {
    height: 200px;
    width: 260px;
    margin: 12px;
    padding: 18px;
    cursor: pointer;
    position: relative;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
    box-shadow: 2px 2px 6px 0px rgb(255, 255, 255, 0.3);
}

.pokebox-img {
    width: 140px;
    position: absolute;
    right: 4px;
    bottom: 8px;
    z-index: 1;
}

.pokebox::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    box-shadow: inset 0px 10px 30px 20px rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition: all 250m ease-in-out;
    border-radius: 30px;
}

.pokebox:hover::after {
    opacity: 1;
}

.pokebox-ball-bg {
    position: absolute;
    bottom: 8px;
    right: 10px;
}

.pokebox-ball-bg img {
    width: 140px;
    height: 140px;
    opacity: 0.1;
}

.pokebox:hover .pokebox-ball-bg img {
    opacity: 0.3;
}

.pokeball-bg {
    position: absolute;
    top: 90px;
    left: 102px;
}

.pokeball-bg img {
    width: 160px;
    height: 160px;
    opacity: 0.1;
}