@import url('../styles.css');
@import url('../../styles.css');

#tipos {
  scroll-margin-top: 80px;
}

#tipos .tipos-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

#tipos .tipos-text {
  flex: 1;
  text-align: left;
}

#tipos .tipos-text ol {
  font-size: 18px;
  margin: 0;
  padding-left: 20px;
}

#tipos .tipos-image {
  flex: 0 0 260px;
  margin-left: auto;
}

#tipos .tipos-image .img-hover {
  width: 100%;
  max-width: 260px;
  margin: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.card {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .cards {
    grid-template-columns: 1fr;
  }
}
