header a.nav-link.active {
  font-size: 19px;
}


.row div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

}

.pg-1 {
  min-height: 100vh;
}



.castom-1 {
  padding: 41px 20px;
  text-align: center;
}

[type="radio"] {
  display: none;
}



[type="radio"]:checked+label {
  background: gold;
}

[type="radio"]:nth-of-type(2):checked~.gallery .card:not(.preson),
[type="radio"]:nth-of-type(3):checked~.gallery .card:not(.compeny),
[type="radio"]:nth-of-type(4):checked~.gallery .card:not(.wordpress) {
  display: none;
}

.pg-1 label {
  margin-bottom: 19px;
  font-weight: bold;
  margin-bottom: 19px;
  font-size: 18px;
  padding: 0.25rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: 0.25s;
}

.card__image {
  width: 100%;
  height: 85%;
  object-fit: cover;
}



.gallery {

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

}

figcaption.card__caption {
  color: white;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

figure.card {
  background-color: transparent;
  padding: 5px;
  margin: 0;
}

.container {
  text-align: center;
  padding: 75px 0px 0px 0px;
}

















/* -------------------------------------------     mobile               -------------------------------------------- */
@media screen and (max-width: 430px) {
  .pg-1 label {
    margin-bottom: 14px;
    font-size: 15px;
    padding: 5px;
  }

  figcaption.card__caption {
    font-size: 13px;
  }









}