#cookie-alert-box { position: fixed; bottom: 0; left: 10%; width: 80%; background-color: #f9f9f9; color: #333; padding: 20px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; z-index: 1000; } #cookie-alert-box button { background-color: #4CAF50; color: white; border: none; padding: 10px 20px; cursor: pointer; } #cookie-alert-box button:hover { background-color: #45a049; } @media (max-width: 768px) { #cookie-alert-box { flex-direction: column; align-items: flex-start; } #cookie-alert-box button { margin-top: 10px; } }