* {
    box-sizing: border-box;
}

 ::-webkit-scrollbar {
    width: 20px;
}

::-webkit-scrollbar-track{
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 10px;
}


body {
    background-color: rgb(243, 54, 54);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header {
    display: flex;
    align-items: center;
}

/* button{
    padding-left: 10px;
    margin-left: 20px;
    margin-top: 2%;
    height: 40px;
    width: 60px;
    border-radius: 5px;
    cursor: pointer;
} */

input {
    padding-left: 12px;
    margin-top: 2.5%;
    padding: 2px;
    height: 40px;
    width: 250px;
    border-radius: 10px;
    font-size: 15px;
    padding-left: 10px;
    margin-left: 10px;
}

#pokedex {
    letter-spacing: 3px;
    font-size: 4em;
}

.poke-container {
    display: flex;
    flex-wrap: wrap;
    align-items: space-evenly;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
    width: 100vw;
}

.pokemon{
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 3px 15px rgba(100, 100, 100, 0.5);
    margin: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.pokemon .img-container{
    background-color: rgba(225, 255, 225, 0.6);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    text-align: center;
}

.pokemon .img-container img {
    margin-top: 20px;
    max-width: 90%;
}

.pokemon .info {
    margin-top: 20px;
}

.pokemon .number {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 0.8em;
    padding: 5px 10px;
}

.pokemon .name{
    margin: 15px 0 7px;
    letter-spacing: 1px;
}
.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
    display: none;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
}

.modal-container {
    text-align: center;
    /* display: flex; */
    /* position: relative; */
    height: 50%;
    width: 40%;
    color: black;
    /* transform: translate(-50%, -50%); */
    background-color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;


}

.modal-container .img-container{
    background-color: rgba(225, 255, 225, 0.6);
    border-radius: 50%;
    width: 220px;
    height: 220px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 13px;
}

.modal-container .img-container img {
    margin-top: 15px;
    max-width: 90%;
    height: 190px;
}



.modal-container .number {
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 1.3em;
    padding: 5px 10px;
}

.name1 {
    margin: 15px 0 5px;
    letter-spacing: 1px;
    font-size: 30px;
}

.info2 {
    font-size: 20px;
}

.show-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}