@import url(https://fonts.googleapis.com/css?family=Roboto:100,100italic,300,300italic,regular,italic,500,500italic,700,700italic,900,900italic);



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

body {
    height: 100%;
    width: 100%;
    background-color: #F5F5F5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body main {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body main section {
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body main section ol {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    list-style: none;
    gap: 1rem;
}

.pokemon-card {
    padding: 2rem 1rem;
    color: #FFFFFF;
    border-radius: 1rem;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.pokemon-card article {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pokemon-card article:first-child{
    font-size: 1.5rem;
    text-transform: capitalize;
}

.pokemon-card article .number {
    color: #000000;
    opacity: .3;
    font-size: 1rem;
}

.pokemon-card articles .types {
    display: flex;
    flex-direction: column;
}

.types p.type {
    font-size: 1rem;
    margin: .25rem;
    border-radius: .75rem;
    padding: .5rem;
    text-align: center;
    filter: brightness(1.2);
}

.pokemon-card article img {
    max-width: 70%;
    height: 100px;
}
.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    width: 100%;
}
.pagination button{
    background-color: #6C79DB;
    border: none;
    color: #FFFFFF;
    border-radius: .75rem;
    padding: .5rem;
    font-size: 1rem;
}
@media screen and (min-width: 768px) {
    body main section {
        width: 100%;
        max-width: 700px;
    }
    
    body main section ol {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .pokemon-card {
        height: 200px;
        max-width: 300px;
    }

    .types p {
        font-size: 1rem;

    }
}

@media screen and (min-width: 1023px) {
    
    body main section {
        width: 100%;
        max-width: 1000px;
    }
    body main section ol {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .pokemon-card {
        width: 100%;
        height: 200px;
        max-width: 350px;
    }
}


.bug{ 
    background-color:#91C12F;
}
.dark{ 
    background-color:#5A5465;
}
.dragon{ 
    background-color:#0B6DC3;
}
.electric{ 
    background-color:#F4D23C;
}
.fairy{ 
    background-color:#EC8FE6;
}
.fighting{ 
    background-color:#CE416B;
}
.fire{ 
    background-color:#FF9D55;
}
.flying{ 
    background-color:#89AAE3;
}
.ghost{ 
    background-color:#5269AD;
}
.grass{ 
    background-color:#63BC5A;
}
.ground{ 
    background-color:#D97845;
}
.ice{ 
    background-color:#73CEC0;
}
.normal{ 
    background-color:#919AA2;
}
.poison{ 
    background-color:#B567CE;
}
.psychic{ 
    background-color:#FA7179;
}
.rock{ 
    background-color:#C5B78C;
}
.steel{ 
    background-color:#5A8EA2;
}
.water{ 
    background-color:#5090D6;;
}
