* { box-sizing: border-box; } body { display: flex; align-items: center; justify-content: center; margin: 0; min-height: 100vh; background-color: #161622; } button { background-color:#808080; color: white; font-size: 19px; padding: 1rem; border-radius: 5px; border: none; cursor: pointer; transition: .5s; } button:hover{ background: white; color: #161622; } #container { position: fixed; bottom: 10px; right: 10px; } .test { background-color: #F20A15; border-radius: 5px; color: white; padding: 15px; margin: 10px; width: 100px; }