#cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background-color: #333; color: #fff; padding: 15px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; z-index: 9999; } #cookie-banner p { margin: 0; } #cookie-banner button { background-color: #155799; color: #fff; border: none; padding: 10px 15px; cursor: pointer; } @media (min-width: 768px) { #cookie-banner { width: 50%; } } @media (min-width: 1024px) { #cookie-banner { width: 40%; } }