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

/* HEADER */
.header {
  padding: 20px;
  background-color: red;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header img {
  width: 300px;
}

nav {
  display: flex;
  gap: 15px;
}

a,
p {
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 22px;
}

nav a:hover {
  color: yellow;
}

.separator {
  height: 20px;
  width: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: center;
}

.outer-ball {
  width: 60px;
  height: 60px;
  border: 6px solid black;
  background-color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.inner-ball {
  width: 30px;
  height: 30px;
  border: 6px solid black;
  background-color: white;
  border-radius: 50%;
}

/* BODY */
body {
  color: black;
  font-family: "Nunito", sans-serif;
  font-size: 20px;
}

.content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.content h1 {
  padding-bottom: 10px;
  font-size: 30px;
}

.content button {
  font-family: "Nunito", sans-serif;
  font-size: 20px;
  border: none;
  border-radius: 18.5px;
  padding: 5px 10px;
  cursor: pointer;
}

.content button:hover {
  transform: scale(1.05);
  transition: ease-in-out, 0.3s;
}

.content div {
  padding-bottom: 30px;
}

.content a,
.content p {
  display: block;
  padding: 5px;
  max-width: max-content;
  margin: auto;
}

.list {
  background-color: #ffb5b5;
}

.add {
  background-color: #b5ffb5;
}

/* POKEMON LIST */
.poke-list {
  font-size: 20px;
  margin-bottom: 10px;
}

/* ADD POKEMON */
.content form {
  width: 100%;
}

.content .form-group {
  padding-bottom: 5px;
}

.form-group > div {
  padding-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: auto;
}

.form-group .form-control {
  max-width: 200px;
  height: 24px;
  margin: auto;
  text-align: center;
  font-size: 18px;
  border-radius: 5px;
  border: black solid 1px;
}

.description label {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#description {
  width: 50%;
  height: 80px;
  border-radius: 5px;
  border: black solid 1px;
  font-size: 20px;
}

#rarity {
  text-align: center;
  min-width: 200px;
  margin: auto;
  font-size: 18px;
  border-radius: 5px;
  border: black solid 1px;
}

.error {
  margin-top: 20px;
  list-style-type: none;
  color: red;
}

/* POKEMON/CAPTURED DETAIL */
.detail p {
  padding-bottom: 20px;
  font-size: 20px;
}

.detail Strong {
  display: block;
  font-size: 22px;
}

.detail form {
  padding-bottom: 20px;
}

.detail .to-pokemon {
  margin-bottom: 20px;
  background-color: rgba(255, 238, 0, 0.603);
}

@media all and (max-width: 700px) {
  .header {
    flex-direction: column;
  }

  nav {
    padding: 20px;
  }
}
