@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

*{

    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    text-align: center;
    background: linear-gradient(to bottom, #6ab7f5, #ffffff);
    min-height: 100vh;
}

main{
    display: inline-block;
    margin-top: 50px;
    position: relative;
}

.pokedex{
    display: block;
    width: 100%;
    max-width: 425px;
    padding: 15px;
}

.pokemon_image{
    position: absolute;
    bottom: 55%; 
    left: 50%;
    transform: translate(-50%, 20%);
    height: 18%;
}

.pokemon_data{
    position: absolute;
    font-weight: 600;
    top: 57.5%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: #aaaaaa;
    font-size: clamp(8px, 5vw, 25px);
}

.pokemon_name{
    color: #3a444d;
    text-transform: capitalize;
}

.form{
    position: absolute;
    width: 65%;
    top: 65%;
    left: 13.5%;
}

.input_search{
    width: 100%;
    padding: 4%;
    outline: none;
    border: 2px solid black;
    border-radius: 5px;
    font-weight: 600;
    color: black;
    font-size: clamp(8px, 5vw, 1rem);
    box-shadow: -3px 4px 0 #888,-5px 7px 0 #333;
}

.buttons{
    position:absolute;
    bottom: 10%;
    left: 50%;
    width: 65%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.button{
    width: 50%;
    padding: 4%;
    border: 2px solid black;
    border-radius: 5px;
    font-size: clamp(8px, 5vw, 1rem);
    font-weight: 600;
    color: white;
    background-color: #333;
    box-shadow: -2px 3px 0 #222,-4px 6px 0 #000000;
}

.button:active{
    box-shadow: inset -4px 4px 0 black;
}