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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  font-family: "Poppins", sans-serif;
  min-height: 100vh;
  width: 100vw;
  text-align: center;
  background:linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
  color: #000;
  overflow-x: hidden;
}

h1 {
  font-size: 4rem;
  margin: 20px;
}

form {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

input,
button {
  font-size: 1rem;
  padding: 15px 20px;
  border-radius: 20px;
}

input {
  font-weight: bold;
}

input:focus {
  outline: none;
}

button {
  background-color: #fff;
  cursor: pointer;
}

.poke-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
  margin-top: 20px;
}

.poke-box {
  width: 200px;
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
  color: rgb(0, 0, 0);
  font-size: 1.2rem;
  margin: 20px;
}

.poke-box:hover {
  border: 2px solid rgb(0, 0, 0);
  transition: all ease-out 0.4s;
  transform: scale(1.1);
}

.poke-box img {
  padding-top: 20px;
  width: 80%;
  margin-bottom: 10px;
}

.poke-box p {
  margin: 10px auto;
}

.poke-box .poke-name {
  text-transform: capitalize;
}

.poke-navigation {
  height: 100px;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}

.nav-button {
  cursor: pointer;
  height: 40px;
  width: 200px;
  border: 1px solid white;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-button:hover {
  background-color: rgba(255, 255, 255, 0.4);
}

.poke-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.poke-footer span {
  margin-bottom: 15px;
}

.back-to-top-button {
  cursor: pointer;
  display: inline-block;
  background-color: #FFCC01;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 10px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top-button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

.back-to-top-button:hover {
  cursor: pointer;
  background-color: #333;
}

.back-to-top-button:active {
  background-color: #555;
}

.back-to-top-button.show {
  opacity: 1;
  visibility: visible;
}

.logo{
  width: 40%;
  padding: 2rem;
  display: block;
  margin: auto;
}

.poke-type{
  background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);
  color: rgb(0, 0, 0);
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  text-transform: capitalize;
  width: 100px;
}

.poke-id{
  font-size: 1rem;
  font-style: italic;
  font-weight: normal;
}