#cookie-alert-box { position: fixed; bottom: 0; left: 0; width: 70%; max-width: 400px; background: linear-gradient(45deg, #6b73ff, #000dff); color: #fff; padding: 15px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; z-index: 9999; } #cookie-alert-box button { background-color: #ff5a5f; color: #fff; border: none; padding: 10px 20px; cursor: pointer; } @media(max-width: 768px) { #cookie-alert-box { width: 90%; } }