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

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

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

body {
    text-align: center;
    background: linear-gradient(to bottom, #6ab7f5, #fff);
    min-height: 100vh;
    background-size: cover;
    background-repeat: repeat-x;
}

.pokedex {
    width: 100%;
    max-width: 425px;
}

.pokemon-imagem {
    position: absolute;
    bottom: 55%;
    left: 50%;
    transform: translate(-70%, 20%);
    height: 12%;
}

.pokemon-data {
    position: absolute;
    bottom: 41%;
    right: 27%;
    color: #aaa;
    font-weight: 600;
    font-size: 25px;
}

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

.search-box {
    position: absolute;
    bottom: 30%;
    left: 13.5%;
    width: 65%;
}

.search-box input {
    width: 100%;
    padding: 4%;
    border: 2px solid #333;
    outline: none;
    border-radius: 5px;
    font-weight: 600;
    color: #3a444d;
    box-shadow: -3px 4px 0 #888, -5px 7px 0 #333;
}

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

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

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