* {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

body {
    background-color: #F6F8FC;
}

.content {
    width: 100vw;
    height: 100vh;
    padding: 1rem;
    background-color: white;
}

.normal { 
    background-color: #A6A877;
}
.grass { 
    background-color: #77C850;
}
.fire { 
    background-color: #EE7F30;
}

.water {
    background-color: #678FEE;
}

.electric {
    background-color: #F7CF2E;
}

.ice {
    background-color: #98D5D7;
}

.ground {
    background-color: #DFBF69;
}

.flying {
    background-color: #A98FF0;
}

.poison {
    background-color: #A040A0;
}

.fighting {
    background-color: #BF3029;
}

.psychic {
    background-color: #F65687;
}

.dark {
    background-color: #725847;
}

.rock {
    background-color: #B8A137;
}

.bug {
    background-color: #A8B720;
}

.ghost {
    background-color: #6E5896;
}

.steel{
    background-color: #B9B7CF;
}

.dragon {
    background-color: #6F38F6;
}

.fairy {
    background-color: #F9AEC7;
}

.pokemons {
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
}

.pokemon {
    display: flex;
    flex-direction: column;
    margin: .5rem;
    padding: 1.5rem 1rem;
    border-radius: 1rem;
}

.pokemon .name {
    text-transform: capitalize;
    color: white;
    margin-bottom: 0;
}

.pokemons .number {
    color: black;
    opacity: 0.3;
    text-align: right;
    font-size: .625rem;
}

.pokemons .details {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.pokemon .details .types {
    padding: 0;
    margin: 0;
    list-style: none;
}

.pagination {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem;
}

.pagination button {
    height: 2.5rem;
    width: 6rem;
    padding: .25rem .5rem;
    margin: .25rem 0;
    font-size: .625rem;
    color: white;
    background-color: #6C79DB;
    border: none;
    border-radius: 1rem;
}

.pagination button:hover{
    cursor: pointer;
}

.link{
    text-decoration: none;
    color: black;
}

.pokemon .details .types .type {
    color: white;
    padding: .5rem 1rem;
    margin: .25rem 0;
    border-radius: 1rem;
    font-size: .625rem;
    filter: brightness(1.1);
    text-align: center;
}

.pokemon .details img {
    max-width: 100%;
    height: 70px;
    align-self: flex-end;
}