.section-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 100px 10px;
  gap: 20px;
}
.title-picture {
  text-align: center;
}
.title-picture p {
  font-size: 24px;
  line-height: 50px;
  font-family: "Ruda", sans-serif;
  font-weight: 700;
}
.container-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.card-picture {
  width: 300px;
  height: 300px;
  position: relative;
}
.card-picture::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 0;
  content: attr(data-text);
  font-family: "Ruda", sans-serif;
  font-size: 14px;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fafafa;
  text-align: center;
  opacity: 0.7;
  cursor: pointer;
  transition: all 0.5s ease-in;
}
.card-picture::before {
  position: absolute;
  content: "";
  background-color: rgb(66, 66, 66);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.3;
  cursor: pointer;
  transition: all 0.5s ease-in;
}
.card-picture:hover::before {
  opacity: 0;
}
.card-picture::before,
.card-picture::after {
  pointer-events: none;
}
.card-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 768px) {
  .card-picture {
    width: 150px;
    height: 150px;
    position: relative;
  }
  .title-picture p {
    font-size: 16px;
    line-height: 40px;
  }
}
@media (max-width: 425px) {
  .card-picture::after {
    font-size: 12px;
  }
  .title-picture p {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .card-picture {
    width: 100px;
    height: 100px;
  }
  .card-picture::after {
    font-size: 10px;
  }
  .title-picture p {
    font-size: 12px;
    line-height: 30px;
  }
}
