forked from vyla-entertainment/home-frontend
173 lines
2.9 KiB
CSS
173 lines
2.9 KiB
CSS
.hero-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
padding-top: 50px;
|
|
}
|
|
|
|
.logo-image {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
|
|
.logo-image img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.hero-title-warp {
|
|
position: relative;
|
|
width: 100%;
|
|
max-width: 900px;
|
|
height: clamp(80px, 14vw, 150px);
|
|
margin: 0.5rem auto 1rem;
|
|
overflow: hidden;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.warp-text {
|
|
position: relative;
|
|
display: block;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.warp-text canvas {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 2.3rem;
|
|
letter-spacing: -.03em;
|
|
font-weight: 500;
|
|
text-wrap: balance;
|
|
color: var(--color-fg);
|
|
margin-bottom: 1rem;
|
|
min-width: 440px;
|
|
}
|
|
|
|
.hero-title .char {
|
|
display: inline-block;
|
|
opacity: 0;
|
|
animation: char-in 0.4s ease forwards;
|
|
}
|
|
|
|
.hero-description {
|
|
color: var(--color-fg-dim);
|
|
font-size: 0.8rem;
|
|
margin: 1rem auto 0;
|
|
line-height: 1.5;
|
|
width: 50%;
|
|
}
|
|
|
|
.hero-description a {
|
|
color: var(--color-fg-dim);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
@keyframes char-in {
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.hero-title .char {
|
|
animation: none;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-description {
|
|
margin-top: 0rem;
|
|
width: 80%;
|
|
}
|
|
}
|
|
|
|
@media (orientation: landscape) and (max-height: 600px) {
|
|
.hero-title {
|
|
margin-bottom: 0rem;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
.hero-container {
|
|
padding-top: 0px;
|
|
}
|
|
}
|
|
|
|
.hero-preview-wrap {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 980px;
|
|
margin-top: 2.25rem;
|
|
position: relative;
|
|
}
|
|
|
|
.platform-pill {
|
|
display: inline-flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 0.45rem 1.1rem;
|
|
border-radius: 50px;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
color: #ffffff;
|
|
margin-bottom: 1.25rem;
|
|
white-space: nowrap;
|
|
width: auto;
|
|
max-width: max-content;
|
|
}
|
|
|
|
.platform-pill svg {
|
|
width: 13px;
|
|
height: 13px;
|
|
color: #ffffff;
|
|
fill: currentColor;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.platform-pill span {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.hero-screen-mockup {
|
|
position: relative;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-screen-mockup img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
aspect-ratio: 16 / 9;
|
|
object-fit: cover;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-preview-wrap {
|
|
margin-top: 1.75rem;
|
|
}
|
|
}
|
|
|
|
@media (orientation: landscape) and (max-width: 1024px) {
|
|
.hero-screen-mockup {
|
|
width: 60%;
|
|
margin-right: auto;
|
|
}
|
|
} |