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

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
}

header {
    background: #15297C;
    display: flex;
    flex-direction: row;
    font-size: 25px;
    text-align: center;
    color: white;
    padding: 30px;
    
}

.imagen-logo {
  max-width: 100%;
  max-height: 100%;
}


.bienvenida {
  padding: 20px;
}

.navegacion {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  font-size: 30px;
  padding: 10px;
    
}
.filter {
  display: flex;
  justify-content: flex-end;
  padding: 10px;
}

#lista1 {
  display: flex;
  justify-content: flex-end;
  padding: 10px;  
}

#lista1 li {
  list-style-type: none;
  padding-right: 30px;
}

#cardBox {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  font-size: 30px;
  text-align: center;
  width: fit-content;
  height: auto;
  padding: 50px;
  justify-content:space-between;
  
 

}

.box {
  flex: 25%;
  width: fit-content;
  padding: 30px;
  background:#C8DFE2;
  margin:30px;
  transition: ease-in .3s transform;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
  border-top: 10px;
}

.box:hover {
  transform: scale(1.02, 1.02);
  background:#96d0d8;
}
.num {
  text-align: justify;
}
.image{
  max-width: 150%;
  max-height: 150%;
}

.about {
  text-align: justify;
  font-size: 17px;
  padding: 10px;
  border-radius: 5px;
}

.type, .resistant, .weak, .specialAttk {
  text-align: justify;
  font-size: 18px;
  line-height: 1.6;
}




/* Responsive layout - makes a one column-layout instead of three-column layout */
@media screen and (max-width: 768px) {
  header, #cardBox, .navegacion {
    flex-direction: column;
  }
  .box {
    flex: 100%;
    max-width: 100%;
    max-height: 30%;
  } 
}
 /*@media screen and (min-width: 768px) and (max-width: 820px) {

  header, #cardBox, .navegacion {
    flex-direction: column;
  }

  .box {
    flex-wrap: wrap;
    flex: 25%;
    max-width: 25%;
  }
} 


