@import url('https://fonts.googleapis.com/css2?family=Gemunu+Libre:wght@200;400;600;700&display=swap');

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

body {
    text-align: center;
    background: linear-gradient(to bottom, #8fcdff, #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: 53%;
    left: 34%;
    height: 15%;
}

.pokemon_data {
    position: absolute;
    font-weight: 600;
    color: #aaafaf;
    top: 54%;
    left: 33%;
    font-size: clamp(10px, 7vw, 35px);
}

.pokemon_name {
    text-transform: capitalize;
    color: #3a444d;
}

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

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

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

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

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