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

body {
  font-family: "Moderustic", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding: 20px;
}

header {
  background-color: #2769a7;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: #f8d61f;
}

.profile {
  max-width: 88%;
  margin: 20px auto;
  margin-bottom:20px;
  text-align: center;
  padding: 60px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header__title {
  font-size: 2.5rem;
  color: #ba0c0c;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.pokemon-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  padding: 0;
  margin-top: 25px;
}

.pokemon-list li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pokemon-button {
  background-color: #067f86;
  color: #fff;
  padding: 12px 22px;
  border: 2px solid #2769a7;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 550;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pokemon-button:hover {
  background-color: #ba0c0c;
  transform: scale(1.05);
}

footer {
  margin-top: 40px;
  text-align: center;
  font-size: large;
  background-color: #2769a7;
  color: white;
  padding: 20px;
  border-top: 2px solid #444;
  border-radius: 8px;
}
footer h3 {
  font-size: 1.5rem;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
  font-weight: bold;
}
footer p {
  text-align: center;
  margin: 5px 0;
}

footer a {
  color: #f8d61f;
  text-decoration: none;
  display: flexbox;
  text-align: center;
  margin: 5px 0;
}

footer .social-media a {
  margin: 0 10px;
}

footer .social-media img {
  max-width: 50px;
  margin-top: 5px;
  transition: transform 0.3s ease;
}

footer .social-media a:hover img {
  opacity: 0.7;
  transform: scale(1.9);
}

.modal {
  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: contents;
  justify-content: center;
  align-items: center;
}

.modal button {
  float: right;
  border: #067f95;
  background: none;
  font-size: 30px;
  cursor: auto;
  padding: 4px 4px;
  background-color: #067f95;
  color: white;
  border-radius: 2px;
}

.modal-header {
  text-transform: capitalize;
  color: #067f86;
}

.modal img {
  margin: 10px auto;
  width: 95%;
  height: auto;
  display:block;
}

.modal p {
  margin: 10px 0;
  color: #333;
}

@media (max-width: 768px) {
  .modal-content {
    margin: 10px;
    width: 90%;
  }
}
