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

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  background: #efefbb;
  background: linear-gradient(to right, #d4d3dd, #efefbb);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
  overflow-x: hidden;
}

h1 {
  letter-spacing: 3px;
}

.poke-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
  width: 90%;
}

.pokemon {
  background-color: #eee;
  border-radius: 0.6rem;
  box-shadow: 0 3px 15px rgba(100, 100, 100, 0.5);
  margin: 0.6rem;
  padding: 1.25rem;
}

.pokemon .img-container {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 7.5rem;
  height: 7.5rem;
  text-align: center;
}

.pokemon .img-container img {
  max-width: 90%;
  margin-top: 1.25rem;
}

.pokemon .info {
  margin-top: 1.25rem;
  text-align: center;
}

.pokemon .info .number {
  background-color: rgba(0, 0, 0, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 0.6rem;
  font-size: 0.8rem;
}

.pokemon .info .name {
  margin: 1rem 0 0.5rem;
  letter-spacing: 1px;
}

@media (max-width: 500px) {
  html {
    font-size: 9.5px;
  }
}
