.commision{
  width: 100%;
  padding-top: 10%;
  padding-left: 10%;
  padding-right: 10%;
}

.commision_text{
  border: 1px solid black;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  background: #f9d49d;
}

.commision h1{
  text-align: center;
  color: sienna;
  padding-bottom: 5%;
}

.commision_images_text h1{
  text-align: center;
  padding-top: 10%;
  color: sienna;
  font-style: italic;
}

.commision_images{
  padding-top: 5%;
  padding-bottom: 10%;
  display: flex;
  width: 100%;
  margin: auto;
}

.commision_images img{
  width: 30%;
  height: auto;
  margin: auto;
}

.commision_card_bookmark{
  width: 100%;
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 10%;
}

.commision_card_bookmark_text{
  border: 1px solid black;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  background: #f9d49d;
}

.commision_card_bookmark h1{
  text-align: center;
  color: sienna;
  padding-bottom: 5%;

}

.commision_card_bookmark_images{
  padding-top: 5%;
  padding-bottom: 10%;
  display: flex;
  width: 100%;
  margin: auto;
}

.commision_card_bookmark_images img{
  width: 20%;
  height: auto;
  margin: auto;
}

.animals {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding-top: 5%;
  padding-left: 10%;
  padding-right: 10%;
}

.gallery {
  --n: 2;
  /* number of rows*/
  --m: 2;
  /* number of columns */
  --s: 35vh;
  /* control the size */
  --g: 1vh;
  /* control the gap */
  --f: 1.5;
  /* control the scale factor */

  display: grid;
  gap: var(--g);
  /* width:  calc(var(--m)*var(--s) + (var(--m) - 1)*var(--g)); */
  width: 100%;
  height: calc(var(--n)*var(--s) + (var(--n) - 1)*var(--g));
  grid-template-columns: repeat(var(--m), auto);
  padding: 5%;
  float: left;
}

.gallery>img {
  width: 0;
  height: 0;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: .35s linear;
}

.gallery img:hover {
  filter: grayscale(0);
  width: calc(var(--s)*var(--f));
  height: calc(var(--s)*var(--f));
}

.content_animals_gallery {
  color: black;
  width: 100%;
}

.content_animals{
  float: left;
  width: 100%;
}
.content_animals h1{
  text-align: center;
  padding-bottom: 5%;
  color: sienna;
}

.content_animals_text {
  border: 1px solid black;
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  background: #f9d49d;
}
p {
  color: black;
  display: grid;
  padding: 2%;
}

@media screen and (max-width:850px) {
  .animals {
    display: inline-block;
    margin-right: 5%;
    height: 100%;
    padding-bottom: 10%;
  }
   
  .content_animals_gallery {
    width: 100%;
    padding-left: 2.5%;
    padding-right: 2.5%;
  }

  .gallery {
    --s: 18vh;
    /* control the size */
    width: 100%;
    margin: 2%;
  }

  .commision_images{
    display: grid;
    margin: auto;
  }

  .commision_images img{
    width: 80%;
    height: auto;
    margin-top: 5%;
  }

  .commision_card_bookmark_images{
    display: grid;
    grid-template-columns: auto auto;
    height: 50%;
    gap: 2%;  
  }

  .commision_card_bookmark_images img{
    width: 95%;
    height: auto;
    margin: auto;
  }
}
