#cookie-notice { position: fixed; bottom: 0; left: 0; width: 90%; background-color: #f3f3f3; color: #333; padding: 15px; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; margin: 0 14px; z-index: 9999; } #cookie-notice button { background-color: #4CAF50; color: white; border: none; padding: 10px 20px; cursor: pointer; } @media(min-width: 768px) { #cookie-notice { justify-content: space-between; max-width: 600px; margin: 0 auto; } }