.button { background: #ffd400; border: none; color: #000; font-weight: 600; padding: 0 50px; height: 50px; border-radius: 50px; cursor: pointer; transition: 0.25s ease; font-size: 15px; } .button:hover { background: #ffe667; } .button:active { transform: scale(0.97); } @media (max-width: 768px){ .button{ padding: 0 30px; font-size: 12px; height: 40px; } }