*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    letter-spacing: .5px;
}

.pokemon_container{
    width: 80%;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.pokemon{
    padding: 4rem;
    box-shadow: 0 0 .4rem rgba(0,0,0,0.2);
}

.shinyPokemon{
  filter: drop-shadow( 5px 5px 10px rgba(197, 211, 9, 0.836));
}

.header{
    display: flex;
    padding-top: 4rem;
    justify-content: center;
    align-items: center;
    position:sticky;
    top: 0;
    z-index: 1000;
}


.stats {
    display: flex;
  list-style: none;
  padding: 0;
  margin: 10px 0;
  width: 100%;
}

.stats li {
    flex: 1;
  margin: 4px 0;
  padding: 4px;
  text-align: left;
  align-items: center;
}

.level-up, .level-down {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin: 10px 0;
  color: white;
  background-color: rgb(73, 255, 119);
    border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.level-up:hover, .level-down:hover {
  background-color: rgb(0, 179, 45)
}

button.delete {
  margin-top: auto;
  margin-bottom: 10px;
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

button.delete:hover {
  background-color: #cc0000;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}