* {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

h1{
    color: aliceblue;
    font-size:xx-large;
}

p {
    color: rgb(255, 255, 255);
    font-weight: 600;
}

body {
    display: grid;
    justify-items: center;
    background-color: rgb(217, 234, 243);
}

.pokedex-container {
    position: absolute;
    top: 0px;
    bottom: 0px;
    height: auto;
    width: 100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.pokedex-screen {
    overflow-y: auto;
    position: absolute;
    margin-left: 5%;
    margin-right: 5%;
    bottom: 5%;
    top: 10%;
    
    height: auto;
    width: 90%;
    padding: 10%;
    /*Background gradient*/
    background: rgb(9,152,230);
background: -moz-radial-gradient(circle, rgba(9,152,230,1) 0%, rgba(24,112,193,1) 80%, rgba(52,100,219,0.8803827751196173) 100%);
background: -webkit-radial-gradient(circle, rgba(9,152,230,1) 0%, rgba(24,112,193,1) 80%, rgba(52,100,219,0.8803827751196173) 100%);
background: radial-gradient(circle, rgba(9,152,230,1) 0%, rgba(24,112,193,1) 80%, rgba(52,100,219,0.8803827751196173) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0998e6",endColorstr="#3464db",GradientType=1);
}

.pokedex {
    background-image:url("../assets/pokedex_small.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    height: 15%;
    width: 100%;
    position: absolute;
}

@media only screen and (min-width: 400px) {
    .pokedex {
        background-image:url("../assets/pokedex_large.png");
    }
}
    


.pokedex-top {
    z-index: 1;
    top: 0px;
}

.pokedex-bottom {
    bottom: 0px;
    transform: rotate(180deg);
}


#pokeAbilities p{
display: inline-block;
background-color: rgba(34, 34, 194, 0.479);
padding: 0.5em;
border-radius: 0.5em;
margin: 1em 0.5em;
}

.pokemon-information {
    display: grid;
    gap: 1em;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    justify-content: center;
}

.pokemon-characteristics {
    position: relative;
    background-color: rgba(223, 234, 245, 0.103);
    border-radius: 5%;
    
}

#pokeImg {
    position: relative;
    width: 50%;
    height: auto;
    margin-left: 25%;
}

.pokemon-characteristics p {
    text-align: center;
}

.stats {
    background-color: rgba(223, 234, 245, 0.103);
    border-radius: 5%;
}

button {
    border-radius: 0.5em;
}

button:hover {
    background-color: rgba(223, 234, 245, 0.103);
    color: aliceblue;
}


.pokemon-list p {
    display: inline;
}


.pokemon-list nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3em;
}

.select-pokemon {
    margin: 2em;
    display: flex;
    justify-content: center;
    gap: 1em;
    
}

.select-pokemon button {
    padding: 0.5em;
}

input {
    border-style:hidden;
    background-color: rgba(223, 234, 245, 0.226);
    border-radius: 0.5em;
    padding: 0.5em;
    color: rgba(252, 249, 249, 0.842);
    font-weight: 500; 
}

input:hover {
    background-color: aliceblue;
    color: black;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    justify-items: center;
    margin: 1em 0px;
}