.petgrid {
  display: grid;
  grid-template-columns: repeat(6, 100px);
  gap: 50px 20px;
  padding:30px;
  justify-content: center;
  align-content: center;  
}


.petprofile {
  width:100px;
  height:100px;
  border: 5px ridge #a85f42;
  background-image: linear-gradient(to top, #fff9f909 20%, #cf3a2600 80%, #882c155d 100%), url(retina_wood.png)
}

    .petdiv {
  border: 5px ridge #a85f42;
  background-image: linear-gradient(to top, #fff9f909 20%, #cf3a2600 80%, #882c155d 100%), url(retina_wood.png);
      color:rgb(102, 51, 35);
      font-size:20px;
    }