@charset "UTF-8";

/* section segmentos */
section.segmento {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
}

section.segmento > h2 {
  font-weight: 600;
  text-align: center;
}

.container-segmento {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 50px 0;
}

.card {
  display: flex;
  width: 300px;
  border-radius: 15px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.25);
  gap: 15px;
  margin-bottom: 15px;
}

.card > img {
  width: 120px;
  border-radius: 15px 0 0 15px;
}

.card > div {
  padding: 10px 0 0 10px;
}

@media screen and (min-width: 900px) {
  .segmento {
    max-width: 900px;
  }

  .container-segmento {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
  }

  .card {
    flex-direction: column;
    width: 250px;
  }

  .card > img {
    width: 250px;
    border-radius: 15px 15px 0px 0px;
  }

  .card > div {
    padding: 0px 10px 10px 20px;
  }
}
