.cookie-banner { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: calc(100% - 38px); background: linear-gradient(to right, #ff7e5f, #feb47b); color: #fff; padding: 15px; display: flex; justify-content: space-between; align-items: center; z-index: 9999; box-sizing: border-box; } .cookie-banner p { margin: 0; } .cookie-banner button { background: transparent; border: 1px solid #fff; color: #fff; padding: 10px 20px; cursor: pointer; } @media (max-width: 767px) { .cookie-banner { flex-direction: column; text-align: center; } .cookie-banner button { margin-top: 10px; } }