* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Oxanium', cursive;
}

body {
    text-align: center;
    background: linear-gradient(to bottom, rgb(76, 189, 255), #fff) ;
    min-height : 100vh;
}

main {
    display: inline-block;
    margin-top: 2%;
    padding: 15px;
    position: relative;

}

.pokedex {
    width: 100%;
    max-width: 425px;
}
.pokemon__image {
    position: absolute;
    bottom: 50%;
    left: 40%;
    transform: translate(-20%, 30%);
    height: 20%;
}

.pokemon__data {
    position: absolute;   
    
    color: rgb(117, 117, 117);
    top: 61.2%;
    right: 25%;
    font-size: clamp(8px, 5vw, 22px);
    border-color: #000;


}

.pokemon__data2 {
    position: absolute;      
    color: rgb(0, 65, 29);
    top: 14.8%;
    right: 24.5%;
    font-size: clamp(8px, 5vw, 35px);
    font-family: monospace;

}


.pokemon__name {
    color: #3a444d;
    text-transform: capitalize;
    font-family: monospace;
    
}

.form {
    position: absolute;
    width: 65%;
    top: 75%;
    left: 15.5%;
}

.input__search {
    width: 70%;
    padding: 1%;
    outline: none;
    border: 2px solid #333;
    border-radius: 5px;
    font-weight: 600;
    color: #3a444d;
    font-size: clamp(7px, 5vw, 1rem);
    box-shadow: -3px 4px 0 #888, -4px 6px 0 #333;
}

.buttons {
    position:absolute;
    bottom: 10%;
    left: -22%;
    width: 65%;
    transform: translate(57%,0);
    display: flex;
    gap: 20px
}

.button{
    width:50% ;
    padding: 2%;
    border: 2px solid #000;
    border-radius: 5px;
    font-size: clamp(7px, 5vw, 1rem);
    font-weight: 600;
    color: white;
    background-color: #444;
    box-shadow: -2px 3px 0 #222, -4px 6px 0 #000;
}

.button:active {
    box-shadow: inset -4px 4px 0 #222;
    font-size: 0.9rem;
}