@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, #0ebeff, #ff42b3);
  min-height: 100vh;
}

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

/* ------------------ Header ------------------ */
header {
  width: 100%;
  background-color: #af6bcc;
  display: flex;
  justify-content: space-around;
  box-shadow: 2px 4px 0 #333;
  align-items: center;
  padding: 20px 0;
}

.container_logo {
  display: flex;
  align-items: center;
}

.logo_image {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border-radius: 25px;
  margin-right: 20px;
}

.pokeboll {
  width: 50px;
  height: 50px;
}

.logo_text {
  color: #fff;
}

.menu li {
  display: inline-block;
  margin: 0 10px;
}

.menu li a {
  font-size: 24px;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 10px;
}

.menu li a:hover {
  background-color: #e450bb;
}
/* ------------------ Pokedex ------------------ */

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

.pokemon__image {
  position: absolute;
  bottom: 52%;
  left: 55%;
  transform: translate(-63%, 20%);
  height: 18%;
}

.pokemon__data {
  position: absolute;
  font-weight: 600;
  color: #aaa;
  top: 57%;
  right: 27%;
  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 #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 {
  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-size: clamp(5px, 5vw, 1rem);
  font-weight: 600;
  color: #fff;
  background-color: #3a444d;
  box-shadow: -2px 3px 0 #222, -4px 6px 0 #000;
}

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

/* ------------------ Home ------------------ */

.logo_pokemon {
  width: 60%;
  height: 30%;
}

.pokemons {
  width: 70%;
  height: 70%;
}

.Copyright {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

/*---------------About-------------------*/

.container_ash{
  width: 800px;
}

.container_ash img {
  border-radius: 50%;
  margin-top: 1em;
}

.container_about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 1em;
}

.container_about h3 {
  margin-top: 2em;
  text-align: justify;
}

a {
  text-decoration: none;
}

footer {
  padding: 2em;
}

@media screen and (max-width: 1080px){
  .container_logo{
    display: flex;
    flex-direction: column;
    margin-left: 1em;
  }

  .container_pokemon {
    padding-top: 2em;
    padding-bottom: 2em;
  }

  .menu ul li{
    margin: .5em;
  }

  .container_about {
    width: 40%;
    overflow-x: hidden;
  }

  .container_ash img {
    width: 40%;
  }
}