@font-face {
    font-family: "Ruda";
    src: url("../fonts/Ruda-Regular.ttf") format("truetype");
    font-weight: 600 500 400 700;
    font-style: normal;
  }
  .title-primary{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 0.5rem;
  }
  .title-primary p{
    font-size: 16px;
    line-height: 20px;
    font-family: 'Ruda', sans-serif;
    font-weight: 500;
    color: rgb(215, 6, 2);
  }
  .title-primary h1{
    font-size: 50px;
    line-height: 63px;
    font-family: 'Ruda', sans-serif;
    font-weight: 500;
    color: rgb(18, 18, 18);
    border-bottom: solid 2px rgb(215, 6, 2);
  }
.card-container{
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 0rem 20rem;
}
.card{
    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);
    width: 300px;
    max-height: 300px;
}
.ver-todos-container {
  text-align: center;
  margin: 5rem 0;
}

.ver-todos-btn {
  background-color: rgb(211, 16, 16);
  color: #FAFAFA;
  font-size: 14px;
  font-family: 'Ruda', sans-serif;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.ver-todos-btn:hover {
  background-color: darkred;
}

.card-img img{
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
}

@media (max-width: 1440px) {
  .card-container{
    gap: 10px;
    justify-content: center;
    padding: 0rem 5rem;
  }
}
@media (max-width: 1024px) {
  .card-container{
    gap: 10px;
    justify-content: center;
    padding: 0rem 0rem;
  }
  .card{
    max-width: 200px;
    height: auto;
}
.card-img{
  max-width: 250px;
    height: auto;
}
.card-img img{
  width: 200px;
  height: auto;
}
.title-primary p{
  font-size: 14px;
}
.title-primary h1{
  font-size: 25px;
}
}
@media (max-width: 768px) {
  .card{
    font-size:14px;
}
.ver-todos-btn {
  font-size: 12px;
}
}
@media (max-width: 425px) {
  .card{
    max-width: 150px;
    height: auto;
    font-size:12px;
}
  .card-img img{
    width: 150px;
    height: auto;
  }
}
