@media screen and (min-width: 1221px) { html body .wrapper::before { content: ""; position: absolute; left: 13.9%; top: 0; width: 72.2%; aspect-ratio: 1600 / 384; background: url(/static/franchise/shadows_house-over-1793627691.webp) no-repeat center bottom / 100% 100%; transform: translateY(-100%); pointer-events: none; z-index: 5; } } @media screen and (max-width: 1220px) { html body .wrapper { padding-top: calc(min(92vw, 420px) * 702 / 1600); } html body .wrapper::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: calc(min(92vw, 420px) * 702 / 1600); background: url(/static/franchise/shadows_house-bg-1793627691.webp) center top / 260% auto no-repeat; pointer-events: none; z-index: 4; } html body .wrapper::before { content: ""; position: absolute; left: 50%; top: 0; width: min(92vw, 420px); aspect-ratio: 1600 / 702; background: url(/static/franchise/shadows_house-over-mob-1793627691.webp) no-repeat center bottom / 100% 100%; transform: translateX(-50%); pointer-events: none; z-index: 5; } }