@import "../../variables.scss";

.typography-h2,
.typography-h3 {
  width: fit-content;
  text-align: center;
  color: $black;
  font-size: 42px;
  font-weight: 500;
  line-height: 50px;
}

@media screen and (max-width: 768px) {
  .typography-h2,
  .typography-h3 {
    font-size: 36px;
    line-height: 43px;
  }
}

@media screen and (max-width: 550px) {
  .typography-h2,
  .typography-h3 {
    font-size: 24px;
    line-height: 29px;
  }
}
