.contract-container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; width: 100%; } .contract-paper { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; background: url('contract.png') no-repeat center center; background-size: contain; width: 90%; max-width: 600px; height: 80vh; padding: 40px 20px; animation: scrollOpen 1.2s ease-out forwards; transform-origin: top; } #quote { font-size: 1.2rem; max-width: 90%; text-align: center; margin-top: 10px; margin-bottom: 20px; white-space: pre-wrap; text-shadow: 0 0 5px #fff, 0 0 10px #000000, 0 0 20px #f0f0f0, 0 0 40px #dddddd; height: 3em; } #name-input { font-size: 1.2rem; background: none; color: white; border: none; border-bottom: 1px solid white; text-align: center; padding: 5px; width: 70%; display: none; position: absolute; top: 65%; left: 50%; transform: translateX(-50%); } #submit-btn { background: none; border: none; cursor: pointer; display: none; position: absolute; top: 75%; left: 50%; transform: translateX(-50%); } #submit-btn img { width: 100px; } #submit-btn:hover { transform: translateX(-50%) scale(1.05); }