.Brand_Category{ .brand_based_category { padding: 50px 0px; background-color: var(--themeBg1); background-position: center; background-repeat: no-repeat; background-size: cover; } .outrSec { margin-bottom: 50px; } .mainHeading { font-size: 30px; line-height: 40px; font-weight: 600; color: var(--headingColor1); margin-bottom: 5px; } .subPara { font-size: 14px; font-weight: 400; color: var(--paragraphColorBlack); margin-top: 5px; } .cardSec { padding: 20px; background-color: var(--themeBg2); border-radius: 10px; box-shadow: 0 0 10px rgb(0 0 0 / 10%); overflow: hidden; transition: 0.3s; } .imgSec { line-height: 0px; aspect-ratio: 1; overflow: hidden; } .cardName { font-size: 15px; font-weight: 500; color: var(--paragraphColorBlack); margin-top: 15px; } .cardSec:hover { transform: translateY(-5px); } /* BUTTON CSS START */ .btn { width: 130px; height: 42px; margin-top: 50px; position: relative; cursor: pointer; overflow: hidden; border: 2px solid var(--btnColor); transition: 0.4s; z-index: 1; font-size: 16px; border-radius: 6px; font-weight: 500; color: var(--btnTextColor); background-color: var(--btnColor); } .btn:before { content: ""; position: absolute; z-index: -1; background: var(--btnHoverColor); height: 150px; width: 200px; border-radius: 50%; } .btn:hover { color: var(--btnHoverTextColor); } .btn:before { top: 100%; left: 100%; transition: all 0.4s; } .btn:hover:before { top: -30px; left: -30px; } .btn:active:before { background: var(--btnHoverColor); transition: 0s; } /* BUTTON CSS END */ @media only screen and (max-width: 900px) { .mainHeading { font-size: 22px; line-height: 35px; } .gap30 { gap: 10px; } .cardSec { padding: 10px; } .cardName { font-size: 12px; margin-top: 10px; } .brand_based_category { padding: 30px 0px; } .outrSec { margin-bottom: 30px; } } }.Brand_Category{ @media only screen and (max-width: 900px) { background-attachment:scroll; } }