.Product_Card{ .cardSec { padding: 50px 0px; transform: scale(0.85); transition: 0.3s; } .price { color: var(--paragraphColorWhite); margin: 30px 0px; background: var(--themeColor1); display: inline-block; padding: 5px 20px; opacity: 0; transition: 0.3s; } .textSec { padding: 30px 0px; } .name { font-size: 25px; line-height: 35px; color: var(--headingColor2); font-weight: 600; font-family: var(--hFont); } .cardInfo { margin: 20px auto; border: 1px solid var(--themeBg1); border-left: none; border-right: none; } .infoText { padding: 10px; border-right: 1px solid var(--themeBg2); color: var(--paragraphColorBlack); } .infoText:nth-last-child(1) { border-right: none; } .textSec { margin: 0 auto; max-width: 350px; } .infoText { font-size: 14px; line-height: 24px; } .btn { background-color: transparent; border: none; cursor: pointer; } .btnText { font-size: 16px; line-height: 16px; color: var(--btnTextColor); background-color: var(--btnColor); padding: 15px 25px 15px 25px; border-radius: 30px; transition: all 0.4s ease-in-out; } .btnSec { margin-top: 20px; opacity: 0; transition: 0.3s; } .btnSvg { border-radius: 50%; width: 46px; height: 46px; background-color: var(--btnColor); color: var(--btnTextColor); transform: rotate(-40deg); transition: all 0.4s ease-in-out; } .btn:hover .btnSvg { transform: rotate(0deg); } .btn:hover .btnText { color: var(--btnHoverTextColor); background-color: var(--btnHoverColor); } .btn:hover .btnSvg { color: var(--btnHoverTextColor); background-color: var(--btnHoverColor); } @media only screen and (max-width: 900px) { .proSec4 .active.center .cardSec { transform: scale(1); } .product_section_4::after { content: none; } .cardSec { padding: 0px; } } .btnSec{ opacity: 1; } .cardSec{ padding: 0; background-color: #FFFFFF; border-radius: 10px; transform: scale(1); } .imgSec{ aspect-ratio: 16/12; } .imgSec img{ height: 100%; object-fit: cover; } .name{ font-size: 18px; padding: 0 10px; text-transform: uppercase; } .textSec{ padding: 20px 0; } .infoText .flex{ flex-direction: column; } .cardInfo{ background: #fff9e9; } }.Product_Card{ @media only screen and (max-width: 900px) { background-attachment:scroll; } }