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

html,body{
   height: 100%;
   width: 100%;
   background-color: #FFAA80;
}

.box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-bar{
    height:2.6rem;
    width:30rem;
    margin:1rem;
    display: flex;
    
}

.search-bar input{
    height:100%;
    width:90%;
    border-bottom-left-radius: 0.5rem;
    border-top-left-radius: 0.5rem;
    border: none;
    padding-left:0.5rem;
    outline: none;
    cursor: text;
}

.srch{
    background-color: #FFFF80;
    height:100%;
    width:10%;
    border-bottom-right-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    cursor: pointer;
}

.container{
    width:25rem;
    height:30rem;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.card{
    width:18rem;
    height:28rem;
    background-color: white;
    border-radius: 0.4rem;
    padding: 2rem 1.5rem;
    box-shadow: rgba(0, 0, 0, 0.24) 5px 3px 18px;
    z-index: 10;
}

.hp{
    position:relative;
    top:0px;
    left:150px;
    width:5rem;
    padding:0.2rem;
    color: black;
    background-color: white;
    border-radius: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.hp span{
    font-weight: 600;
    font-size: 0.8rem;
}

img{
    position: relative;
    width:auto;
    height:150px;
    left:3rem;
    top:1rem;
}

.poke-name{
    text-align: center;
}

.types{
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin: 0.5rem;
}

.types span{
    width:5rem;
    border-radius: 1rem;
    text-align: center;
    padding: 0.2rem;
    color: white;
    font-size: 0.9rem;
}

.stats{
    display: flex;
    align-items: center;
    margin:1rem;
}

.stats1,.stats2,.stats3{
    margin: 0rem 0.5rem;
}

.stats h3{
     text-align: center;
     font-size: 1.2rem;
}

.shiny-btn{
    position: relative;
    left:55px;
    background-color: #FFB347; 
    color: #4A4A4A; 
    font-size: 0.9rem;
    border-radius: 1rem;
    width:120px;
    height:35px;
    cursor: pointer;
    outline:none;
    border: none;
    font-weight: 550;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shiny-btn:hover {
    transform: translateY(-2px); 
}

.error-message {
    color: white;
    font-size: 0.9rem;
    visibility: hidden; 
}













