#cookie-consent-modal { position: fixed; bottom: 0; left: 0; width: 100%; max-width: 400px; background-color: #444; color: #fff; padding: 20px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; z-index: 9999; } #cookie-consent-modal .buttons { display: flex; gap: 10px; margin-top: 10px; } #cookie-consent-modal button { background-color: #556b2f; color: #fff; border: none; padding: 10px 20px; cursor: pointer; } @media(min-width: 768px) { #cookie-consent-modal { flex-direction: row; justify-content: space-between; padding: 15px; } }