body { overflow: none; height: 100vh; } button { padding: 0 30px; border-radius: 5px; border: none; background: linear-gradient(#ffd326, #ffc61e); color: #704a1d; font-weight: bold; height: 50px; font-size: 20px; } #halvesContainer { width: 100%; height: 100%; position: relative; overflow: hidden; display: flex; } #firstHalf, #secondHalf { display: flex; justify-content: center; width: 100%; } #firstHalf { border-right: 1px solid black; }