#poke-overlay{
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0 ,0, 0, 0.7);
    z-index: 1000;
    
    display: flex;
    justify-content: center;
    align-items: center;

}

#modal{
    background-color: #197c56;
    padding: 20px;
    border-radius:8px;
    width: 60%;
    max-width: 500px;
    height: 80%;
    max-height: 800px;
    position: relative;
    box-shadow: 0 4px 9px rgba(0,0,0,0.2);
    
}

#poke-overlay.hidden{
    display: none;
}

#close-button{
    position: absolute;
    top: 0.625rem;
    right: 0.313rem;
    font-size: 1.75rem;
    font-weight: bold;
    color: #d1d0d0;
    cursor: pointer;
}

#close-button:hover{
    color:#000;
}



#modal-content{
    
    display: flex;
    /* flex-direction: column;
    align-items: center; */
    gap:15px;

}

.pokemon{
    padding: 2rem;
    height: 100%;
    width: 100%;
}

.pokemon.headerPokemon{
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items:normal;
    width: 1rem;
}

.pokemon .headerPokemon .name{
    font-size: 1.8rem;
    color: #ffff;
}

.pokemon .headerPokemon .types{
    display: flex;
    gap: 8px;
    list-style: none;
    padding-left: 0;
}

.pokemon .headerPokemon .type{
    color: #ffff;
    padding: .25rem .5rem;
    border-radius: 1rem;
    margin: 0.25rem 0;
    font-size: 1rem;
    filter: brightness(1.1);
    text-align: center;
}
