.title-card-wrapper { margin: 0 auto 60px; width: 537px; height: 114px; text-align: center; background-position: center center; background-size: cover; .title-card-title { padding-top: 8px; font-size: 42px; font-weight: 500; color: #00116e; line-height: 60px; } } @media (max-width: 767px) { .title-card-wrapper { width: 320px; height: 96px; // .title-card-title { // padding-top: 8px; // font-size: 94px; // line-height: 130px; // } // &.large { // width: 1546px; // height: 328px; // .title-card-title { // padding-top: 26px; // font-size: 123px; // line-height: 174px; // } // } } }