#up-btn { position: fixed; text-align: center; bottom: 1.2rem; right: 18.5%; left: 95%; max-width: 75px; width: 100%; font-size: 1.3rem; border: rgb(138,43,226); background-color: #808080; color: #232323; padding: .5px; border-radius: 4px; } #up-btn:hover { background-color: #232323; cursor: pointer; color: #808080; transition: all 0.75s; } #down-button { color: #121212; } #content { width: 100%; height: 100%; z-index: -1; position: absolute; top: 101%; left: 0; right: 0; background-color: #121212; } #down { z-index: 1; position: relative; }