.third-part{ min-height: 70vh; background-image: url('/../assets/images/image40.jpg'); background-size: cover; position: relative; color: white; background-size: cover; background-position: center; .textbox3{ padding: 70px 50px ; h1{ font-weight: 600; font-size: 60px; text-align: start; font-family: Merriweather; letter-spacing: 0px; margin-bottom: 35px; } h5{ font-family: Merriweather; font-size: 23px; margin-top: 15px; margin-bottom: 17px; font-weight: 300; line-height: 1.5; word-wrap: break-word; box-sizing: border-box; letter-spacing: 0px; } p{ line-height: 1.4375; font-family: MerriweatherSans; letter-spacing: 0px; } } .our-cases{ margin-top: 20px; @include button; background-color: transparent; border: solid 2px white; } .our-cases:hover { background-color: white; color: #333333 !important; transition: 0.2s; } } @media only screen and (min-width: 768px){ .img-container{ background-image: url('/../assets/images/image39.jpg'); background-size: cover; background-position: center; } .textbox3{ padding: 100px 50px 100px 26px !important; } } @media only screen and (min-width: 992px){ .third-part{ min-height: 70vh !important; } .img-container{ min-height: 70vh !important; } }