#user-policy-banner { position: fixed; bottom: 0; left: 0; width: 72%; background: linear-gradient(45deg, #6a11cb 0%, #2575fc 100%); color: #fff; padding: 15px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; z-index: 9999; } #user-policy-banner button { background-color: #155799; color: #fff; border: none; padding: 10px 15px; cursor: pointer; margin-top: 10px; } @media(min-width: 768px) { #user-policy-banner { flex-direction: row; justify-content: space-between; max-width: 600px; } }