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

body{
    text-align: center;
    background: url('../images/background.jpg') no-repeat center/cover;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
}


.pokedex-container{
    position: relative; 
    display: inline-block;
}

.pokedex{
    max-width: 1100px;
    display: block;
}

.pokemon-image-container{
    position: absolute;
    top: 225px;
    left: 127px;
    width: 280px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pokemon-image{
    margin-bottom: -70px;
    max-height: 130px;
}

.pokemon-data-container{
    position: absolute;
    top: 445px;
    left: 170px;
    width: 280px;
    text-align: right;
}

.pokemon-data{
    font-weight: 600;
    color: rgb(119, 117, 117);
    font-size: clamp(8px, 5vw, 20px);
    max-width: 250px;
}

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

.search-container{
    position: absolute;
    bottom: 380px;
    left: 87px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 40px;
}

.input-search{
    width: 350px;
    height: 60px;
    padding: 4px 10px;
    outline: none;
    border: 2px solid #333;
    border-radius: 5px;
    font-weight: 600;
    color: #3a444d;
    font-size: clamp(8px, 5vw, 1rem);
    box-shadow: -3px 4px 0 #888, -5px 7px 0 #333
}

.buttons{
    width: 250px;
    height: 50px;
    display: flex;
    gap: 20px;
}

.button{
    width: 50%;
    padding: 8px;
    border: 2px solid #000;
    border-radius: 5px;
    font-size: clamp(8px, 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;
}