Files
recommender/packages/frontend/src/pages/Home.css
T
ivanch c319dea2bf
Recommender Build and Deploy (internal) / Build Recommender Image (push) Successful in 3m22s
Recommender Build and Deploy (internal) / Deploy Recommender (internal) (push) Successful in 48s
new design
2026-04-18 21:19:24 -03:00

108 lines
2.4 KiB
CSS

/* ── Landing page ───────────────────────────────────────── */
.landing-layout {
display: flex;
height: 100vh;
position: relative;
overflow: hidden;
isolation: isolate;
}
.landing-bg {
position: absolute;
inset: -10px;
background: url('/wallpaper.png') center / cover no-repeat;
filter: blur(5px) brightness(0.28) saturate(0.85);
z-index: 0;
}
.landing-layout::after {
content: '';
position: absolute;
inset: 0;
background:
linear-gradient(90deg, rgba(10, 8, 15, 0.34) 0%, rgba(10, 8, 15, 0.08) 32%, rgba(10, 8, 15, 0.28) 100%);
z-index: 0;
pointer-events: none;
}
.landing-layout .sidebar {
position: relative;
z-index: 1;
}
.landing-main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 28px;
text-align: center;
position: relative;
z-index: 1;
padding: var(--sp-10);
}
.landing-title {
font-size: clamp(3.8rem, 9vw, 5.6rem);
font-weight: 300;
color: var(--text);
letter-spacing: -0.03em;
line-height: 1;
text-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}
.landing-tagline {
max-width: 620px;
font-size: clamp(1rem, 2vw, 1.3rem);
color: rgba(245, 240, 232, 0.7);
font-weight: 400;
line-height: 1.7;
}
.btn-gradient {
padding: 14px 30px;
font-size: 1rem;
font-weight: 600;
color: #1a141f;
border: 1px solid rgba(255, 244, 232, 0.14);
border-radius: var(--radius);
cursor: pointer;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 100%),
linear-gradient(135deg, rgba(232, 168, 124, 0.96), rgba(214, 149, 106, 0.94));
backdrop-filter: blur(10px);
box-shadow:
0 10px 30px rgba(232, 168, 124, 0.22),
inset 0 1px 0 rgba(255, 255, 255, 0.22);
transition:
transform 0.2s ease,
box-shadow 0.2s ease,
background 0.2s ease;
letter-spacing: -0.01em;
}
.btn-gradient:hover {
transform: translateY(-2px);
box-shadow:
0 16px 38px rgba(232, 168, 124, 0.28),
inset 0 1px 0 rgba(255, 255, 255, 0.24);
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 100%),
linear-gradient(135deg, rgba(232, 168, 124, 1), rgba(214, 149, 106, 0.98));
}
@media (max-width: 720px) {
.landing-layout {
flex-direction: column;
min-height: 100vh;
height: auto;
}
.landing-main {
min-height: 55vh;
padding: var(--sp-8) var(--sp-5);
}
}