.home-main { --home-blue: #4796C2; --home-heading: color-mix(in srgb, #2F6F93 64%, #1F1F1F); --home-link: #2F6F93; --home-ink: #1F1F1F; --home-muted: color-mix(in srgb, #2F6F93 38%, #1F1F1F); --home-paper: #FFF; --home-tint: color-mix(in srgb, #4796C2 10%, #FFF); --home-app: color-mix(in srgb, #4796C2 19%, #FFF); --home-line: color-mix(in srgb, #4796C2 18%, #FFF); background: var(--home-paper); color: var(--home-ink); font-size: 1.125rem; line-height: 1.6; } .home-main .wide-width { width: min(90%, 81rem); } .home-main :is(h1, h2, strong) { color: var(--home-heading); } .home-main :is(h1, h2) { font-weight: 500; letter-spacing: -.035em; text-wrap: balance; } .home-main .eyebrow { color: var(--home-link); font-size: .78rem; font-weight: 800; letter-spacing: .24em; line-height: 1.5; } .home-main :is(a, button):focus-visible { outline: 3px solid var(--home-link); outline-offset: 5px; } .home-hero { position: relative; overflow: hidden; border: 0; background: var(--home-paper); } .home-hero::before { content: none; } .home-hero__inner { display: grid; min-height: clamp(38rem, 57vw, 51rem); grid-template-columns: 1.08fr 1fr; align-items: center; gap: 2rem; padding-block: 0; } .home-hero__content { position: relative; z-index: 1; grid-row: auto; padding-block: 5rem; } .home-hero__eyebrow::after, .home-app .eyebrow::after { display: inline-block; width: 1.8rem; height: 1px; margin-inline-start: .8rem; background: var(--home-blue); content: ""; vertical-align: middle; } .home-hero h1 { max-width: none; margin: 1rem 0 1.5rem; font-size: clamp(3.2rem, 5.1vw, 4.8rem); line-height: 1.04; text-wrap: initial; } .home-hero h1 span { display: block; } .home-hero .lede { max-width: 34rem; color: var(--home-muted); font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.65; } .home-hero__actions { margin-block-start: 2rem; } .home-hero .button--primary { min-height: 3.9rem; gap: 1.1rem; padding: 1rem 2rem; border: 1px solid #2F6F93; border-radius: .5rem; background: #2F6F93; color: #FFF; box-shadow: 0 .6rem 1.5rem color-mix(in srgb, #4796C2 20%, transparent); font-size: 1.05rem; font-weight: 800; } .home-hero .button--primary:hover { background: #1F1F1F; color: #FFF; } .home-hero__links { display: flex; flex-wrap: wrap; gap: .5rem 2rem; margin-block-start: 1.5rem; } .home-hero__links a, .home-section-link { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .6rem; color: var(--home-link); font-size: 1rem; font-weight: 750; text-decoration: none; } .home-hero__links a:hover, .home-section-link:hover { text-decoration: underline; text-underline-offset: .25em; } .home-hero__visual { position: absolute; inset: 0 0 0 auto; display: block; width: 60%; min-height: 0; grid-row: auto; margin: 0; background: var(--home-tint); mask-image: linear-gradient(to right, transparent 12%, #1F1F1F 40%); } .home-hero__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% center; } .home-destinations, .home-articles { padding-block: clamp(3.5rem, 5vw, 5rem); } .home-section-intro { margin-block-end: 2.5rem; } .home-section-intro--split { display: flex; align-items: end; justify-content: space-between; gap: 2.5rem; } .home-section-intro h2 { margin: 0; font-size: clamp(2.5rem, 4vw, 3.9rem); line-height: 1.08; } .home-section-intro > p { max-width: 26rem; margin: 0 0 .25rem; color: var(--home-muted); font-size: 1.05rem; } .home-section-link { flex-shrink: 0; } .destination-panels { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 2rem; } .destination-panel { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--home-line); border-radius: .75rem; background: var(--home-tint); color: var(--home-ink); text-decoration: none; } .destination-panel:first-child { background: var(--home-paper); box-shadow: 0 .4rem 1.6rem color-mix(in srgb, #4796C2 8%, transparent); } .destination-panel:hover { border-color: var(--home-blue); color: var(--home-ink); } .destination-panel__media { position: relative; display: block; height: clamp(11rem, 16vw, 15rem); flex: 0 0 auto; background: var(--home-tint); } .destination-panel__image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; } .destination-panel__image[data-mushna-media-slot="homepage.destination.dua"] { object-position: center 42%; } .destination-panel__badge { position: relative; display: grid; width: 5.25rem; height: 5.25rem; flex: 0 0 auto; place-items: center; margin: -2.6rem 0 .75rem 1.6rem; border: 1px solid var(--home-line); border-radius: 50%; background: var(--home-paper); box-shadow: 0 .4rem 1rem color-mix(in srgb, #4796C2 10%, transparent); } .destination-panel__icon { display: block; width: 2.75rem; height: 2.75rem; background: var(--home-link); } .destination-panel__icon--quran { mask: url("../images/homepage/flutter-quran-icon.png") center / contain no-repeat; } .destination-panel__icon--adhkar { mask: url("../images/homepage/flutter-adhkar-icon.png") center / contain no-repeat; } .destination-panel__icon--dua { mask: url("../images/homepage/flutter-dua-icon.png") center / contain no-repeat; } .destination-panel__copy { display: grid; gap: .75rem; padding: 0 1.75rem; } .destination-panel__copy strong { font-family: var(--font-display); font-size: clamp(2.1rem, 3vw, 2.85rem); font-weight: 500; line-height: 1.1; } .destination-panel__copy > span { max-width: 28ch; color: var(--home-muted); font-size: 1.05rem; line-height: 1.6; } .destination-panel__link { display: flex; align-items: center; gap: .7rem; margin-block-start: auto; padding: 1.5rem 1.75rem 1.75rem; color: var(--home-link); font-size: 1.05rem; font-weight: 800; } .home-app { overflow: hidden; background: var(--home-app); } .home-app__inner { display: grid; min-height: 41rem; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); } .home-app__copy { display: flex; flex-direction: column; align-items: start; grid-column: 1; grid-row: 1; padding-block: 4.5rem; } .home-app__copy h2 { max-width: 13ch; margin: 1rem 0 1.25rem; font-size: clamp(3rem, 4.8vw, 4.6rem); line-height: 1.02; } .home-app__copy > p:not(.eyebrow) { max-width: 35rem; color: var(--home-muted); font-size: 1.2rem; } .home-app__copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.5rem; order: 1; margin: 2rem 0 0; padding: 0; color: var(--home-heading); font-size: .95rem; list-style: none; } .home-app__copy li { display: flex; align-items: center; gap: .6rem; } .home-app__copy li::before { width: .4rem; height: .4rem; flex: 0 0 auto; border-radius: 50%; background: var(--home-link); content: ""; } .home-app .store-badges { gap: 1rem; margin-block-start: 1.5rem; } .home-app .store-badge img { width: auto; height: 3.65rem; } .home-app__visual { display: grid; grid-column: 2; grid-row: 1; align-self: end; justify-items: center; padding-block-start: 3.5rem; } .app-device { position: relative; width: min(23rem, 90%); aspect-ratio: 1080 / 2066; padding: .45rem; border: .2rem solid #1F1F1F; border-radius: 2.6rem; background: #1F1F1F; box-shadow: 0 1rem 2.5rem color-mix(in srgb, #2F6F93 22%, transparent); transform: translateY(2rem) rotate(-8deg); } .app-device__screen { height: 100%; overflow: hidden; border-radius: 2rem; background: #FFF; } .app-device__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; } .app-device__speaker { display: none; } .article-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } .article-feature-card { min-width: 0; overflow: hidden; border: 1px solid var(--home-line); border-radius: .65rem; background: var(--home-paper); box-shadow: 0 .75rem 2rem color-mix(in srgb, #2F6F93 6%, transparent); } .article-feature-card__link { position: relative; display: flex; height: 100%; flex-direction: column; color: var(--home-ink); text-decoration: none; } .article-feature-card__link:hover strong { text-decoration: underline; text-underline-offset: .12em; } .article-feature-card__media { display: block; aspect-ratio: 2.05; overflow: hidden; background: var(--home-tint); } .article-feature-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; } .article-feature-card__body { display: flex; flex: 1; flex-direction: column; gap: .6rem; padding: 1.25rem 1.5rem 1.5rem; } .article-feature-card__label { position: absolute; inset: 1rem auto auto 1rem; max-width: calc(100% - 2rem); padding: .3rem .75rem; border-radius: 2rem; background: var(--home-paper); color: var(--home-link); font-size: .7rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; } .article-feature-card__body strong { font-family: var(--font-display); font-size: 1.65rem; font-weight: 600; line-height: 1.15; } .article-feature-card__body > span:not(.article-feature-card__label, .article-feature-card__more) { color: var(--home-muted); font-size: 1rem; line-height: 1.5; } .article-feature-card__more { margin-block-start: auto; padding-block-start: .5rem; color: var(--home-link); font-size: 1rem; font-weight: 750; } .article-feature-card__more b { margin-inline-start: .5rem; } :root[data-theme="dark"] .home-main { --home-heading: #FFF; --home-link: color-mix(in srgb, #4796C2 40%, #FFF); --home-ink: #FFF; --home-muted: color-mix(in srgb, #FFF 80%, #4796C2); --home-paper: #1F1F1F; --home-tint: color-mix(in srgb, #4796C2 12%, #1F1F1F); --home-app: color-mix(in srgb, #4796C2 18%, #1F1F1F); --home-line: color-mix(in srgb, #4796C2 35%, #1F1F1F); } @media (prefers-color-scheme: dark) { :root:not([data-theme]) .home-main { --home-heading: #FFF; --home-link: color-mix(in srgb, #4796C2 40%, #FFF); --home-ink: #FFF; --home-muted: color-mix(in srgb, #FFF 80%, #4796C2); --home-paper: #1F1F1F; --home-tint: color-mix(in srgb, #4796C2 12%, #1F1F1F); --home-app: color-mix(in srgb, #4796C2 18%, #1F1F1F); --home-line: color-mix(in srgb, #4796C2 35%, #1F1F1F); } } @media (width <= 64rem) { .home-hero__inner { min-height: 37rem; gap: 1.5rem; } .home-hero h1 { font-size: clamp(3rem, 5.6vw, 4rem); } .home-hero__content { padding-block: 4rem; } .destination-panels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } .destination-panel__copy, .destination-panel__link { padding-inline: 1.1rem; } .destination-panel__badge { margin-inline-start: 1rem; } .home-app__inner { min-height: 35rem; gap: 2rem; } .home-app__copy ul { grid-template-columns: 1fr; gap: .7rem; } .home-app .store-badge img { height: 3rem; } } @media (width <= 47.99rem) { .home-main .wide-width { width: calc(100% - 2.5rem); } .home-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 0; } .home-hero__content { padding-block: 3.25rem 2.5rem; } .home-hero h1 { max-width: 19ch; font-size: clamp(3rem, 10vw, 4.5rem); } .home-hero .lede { font-size: 1.1rem; } .home-hero__links { gap: .25rem 1.25rem; } .home-hero__links a { font-size: .94rem; } .home-hero__visual { position: relative; inset: auto; width: auto; height: auto; aspect-ratio: 1.46; mask-image: none; margin-inline: -1.25rem; } .home-hero__art { object-position: center; } .home-section-intro--split { align-items: start; flex-direction: column; gap: 1rem; } .home-section-intro h2 { text-wrap: pretty; } .destination-panels, .article-feature-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } .destination-panel__media { height: auto; aspect-ratio: 1.85; } .destination-panel__copy, .destination-panel__link { padding-inline: 1.5rem; } .destination-panel__copy > span { max-width: 36ch; } .destination-panel__badge { margin-inline-start: 1.5rem; } .home-app__inner { grid-template-columns: minmax(0, 1fr); gap: 0; } .home-app__copy { padding-block: 3.5rem 1rem; } .home-app__copy h2 { font-size: clamp(3rem, 10vw, 4rem); } .home-app__copy ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font-size: .88rem; } .home-app__visual { grid-column: 1; grid-row: 2; padding-block-start: 2rem; } .app-device { width: min(18rem, 80%); } } @media (prefers-reduced-motion: reduce) { .home-main *, .home-main *::before, .home-main *::after { scroll-behavior: auto; transition: none; animation: none; } }