@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
body{
    background-color: rgb(51, 57, 61);
    padding: 3rem 3rem;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

#pokemon{
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    row-gap: 20px;
    column-gap: 10px;
    color: white;
    

}

.pokemon-card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 200px;
    padding: 1rem 2rem;
    background-color: rgb(25, 29, 31);
    border-radius: 20px;
    
}

.pokemon-card img{
    width: 90%;
    padding-bottom: 2rem;
}

.pokemon-card h1, h2, h3{
    font-weight: 400;
    display: block;
    margin: 0;
    align-self: flex-start;
}

.pokemon-card h2{
    font-weight: 300;
    font-size: 1rem;
    align-self: flex-start;
}

.types{
    display:  flex;
    width: 100%;
    justify-content: flex-start;
    margin-top: 10px;
}

.types h3:nth-child(2){
    margin-left: 2rem;
}

#load-more-pokemon {
    display: block;
    border: 2px solid white;
    background-color: transparent;
    color: white;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 6;
    margin: 2rem auto auto auto;
}


#load-more-pokemon::before{
    content: "";
    background-color: white;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: translate(-100%);
    z-index: -1;
    transition: 0.25s transform;
}

#load-more-pokemon:hover{
    color: black;
}

#load-more-pokemon:hover::before{    
    transform: translate(0);
}

aside{
    position: fixed;
    left: 8rem;
    color: white;
    display: flex;
    flex-direction: column;
}

aside label{
    display: flex;
    justify-content: space-between;
    width:  150px;
    padding: 10px;
    color: white;
    border-radius: 10px;
    margin-bottom: 5px;
}

.button{
    background-color: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.button::before{
    content: "";
    background-color: white;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    transform: translate(-100%);
    z-index: -1;
    transition: 0.25s transform;
}

.button:hover{
    color: black;
}

.button:hover::before{    
    transform: translate(0);
}