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

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

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

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

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

#pokemon__image {
    position: absolute;
    bottom: 56%;
    left: 50%;
    transform: translate(-63.5%, 40%); /* mexe com o tamano da imagem em si */
    height: 23%;
}

#pokemon__sh {
    position: absolute;
    bottom: 56%;
    left: 50%;
    transform: translate(-63.5%, 40%); /* mexe com o tamano da imagem em si */
    height: 23%;
}

#pokemon__data{
    position: absolute;
    width: 256px;
    height: 32px;
    font-weight: 600;
    color: #aaa;
    top: 54.5%;
    right: 27%;
    font-size: clamp(8px, 5vw, 25px);/* recebe 3 parametros, minimo, padrao, maximo */
    display: block;
    overflow: hidden;
}

#pokemon__name{
    color: #3a444d;
    text-transform: capitalize; /* primeira letra em maiusculo */
}

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

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

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

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

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

#sh-btn { 
    position: absolute;
    top: 11.5%;
    left: 65%;
    width: 15%;
    display: flex;
    gap: 20px;
}