#cookie-banner { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 90%; max-width: calc(100% - 34px); background-color: #222; color: #fff; padding: 15px; box-sizing: border-box; border-radius: 5px 5px 0 0; z-index: 10000; text-align: center; } @media (min-width: 768px) { #cookie-banner { padding: 20px; } } #cookie-banner a { color: #1e90ff; text-decoration: underline; }