.container { position: relative; overflow: hidden; height: 100vh; } .container::after { content: ""; position: absolute; inset: 0; background: linear-gradient( 180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.36) 50%, rgba(0, 0, 0, 0.75) 100% ); pointer-events: none; z-index: 1; } @media screen and (min-width: 768px) { .container { height: 880px; } } .content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; max-width: 800px; margin: 0 auto; gap: var(--Spacing-x1); padding: var(--Spacing-x4) var(--Spacing-x3); z-index: 2; } .mainContent { display: flex; flex-direction: column; align-items: center; gap: var(--Spacing-x2); } .buttons { display: flex; gap: var(--Spacing-x1); } .buttonWrapper { min-width: 180px; } @media screen and (max-width: 767px) { .buttonWrapper:not(:only-child) { min-width: 135px; } } .image { max-width: 100%; height: 100%; z-index: 0; } .scriptedText { display: inline-block; }