#terms-bar { position: fixed; bottom: 0; width: 79%; background-color: #fff; color: #333; padding: 20px; box-shadow: 0 0 10px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; z-index: 10000; transition: transform 0.3s ease; transform: translateY(0); } #terms-bar .buttons { display: flex; gap: 10px; margin-top: 10px; } #terms-bar button { background-color: #007bff; color: #fff; border: none; padding: 10px 20px; cursor: pointer; border-radius: 5px; transition: background-color 0.3s ease; } #terms-bar button:hover { background-color: #0056b3; } @media (min-width: 768px) { #terms-bar { flex-direction: row; justify-content: space-between; } }