@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap');

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

.logo{
    width: 150px;
    height: 150px;
}

body{
    width: 100%;
    height: 100vh;
    background: rgb(240,239,243);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container{
    width: 375px;
    height: 520px;
    background: #fff;
    border-radius: 15 px;
    box-shadow: 4px 4px 30px rgba(0,0,0,0.06);
    padding: 20px;
    overflow-y: scroll;
}

.container::-webkit-scrollbar{
    display: none;
}

.container form{
    width: 100%;
    border: 1px solid rgb(41, 40, 42);
    border-radius: 4px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.container form input{
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 10px;
}

.container form i{
    padding-left: 10px;
}

.pokemon-list{
    padding: 20px 0;
}

.pokemon{
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: 16px;
    padding-bottom: 16px;
    box-sizing: border-box;
    transition: 0.5s;
}

.pokemon:hover{
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.2);
}

.pokemon img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    /* border: 1px solid rgba(0,0,0,0.2) ; */
    border-radius: 5px;
}

.pokemon .pokemon-details{
    padding-left:16px;
}

.pokemon .pokemon-details h2{
    font-size: 20px;
    color: #1d1d1d;
}

.pokemon .pokemon-details h3{
    font-size: 16px;
    padding: 4px;
    margin: 4px;
    border: #1d1d1d 1px solid;
    border-radius: 4px;
    display: inline;
}

#modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;  
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

#modal-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
}

#modal-content img{
    align-items: center;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    margin-left: 38px;
}

#modal-content h2{
    font-size: 24px;
    margin-bottom: 5px;
    text-align: center;
}

#modal-content h3{
    font-size: 18px;
    align-items: center;
    margin: 10px;
    padding: 5px;
    border: #1d1d1d 1px solid;
    border-radius: 4px;
    display: inline;
}

#modal .type-matchup{
    padding:24px;
    padding-top: 8px;
    margin-top: 4px;
}