@font-face {
  font-family: "Ruda";
  src: url("../fonts/Ruda-Regular.ttf") format("truetype");
  font-weight: 600 500 400 700;
  font-style: normal;
}
.card-container-2 {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 20px;
  padding: 0rem 12rem;
}
.card-2 {
  max-width: 350px;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-family: "Ruda", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: rgb(74, 74, 74);
}
.card-img-2 {
  position: relative;
  width: 300px;
  height: 300px;
}
.card-img-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-img-2::before {
  transition: all 0.5s ease-in;
  background-color: rgb(66, 66, 66);
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
  cursor: pointer;
}
.card-img-2:hover::before {
  opacity: 0.6;
}

@media (max-width: 1440px) {
  .card-container-2 {
    gap: 10px;
    justify-content: center;
    padding: 0rem 5rem;
  }
}
@media (max-width: 1024px) {
  .card-container-2 {
    gap: 10px;
    justify-content: center;
    padding: 0rem 0rem;
  }
  .card-2 {
    max-width: 200px;
    height: auto;
  }
  .card-img-2 {
    width: 200px;
    height: auto;
  }
  .card-img-2 img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 768px) {
  .card-2 {
    font-size: 14px;
  }
  .card-img-2 {
    width: 200px;
    height: auto;
  }
  .card-img-2 img {
    width: 100%;
    height: auto;
  }
}
@media (max-width: 425px) {
  .card-2 {
    max-width: 150px;
    height: auto;
    font-size: 12px;
  }
    .card-img-2 {
    width: 150px;
    height: auto;
  }
  .card-img-2 img {
    width: 100%;
    height: auto;
  }
}
