Files
home-frontend/src/styles/sections/hero-content.css

81 lines
1.3 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: 100px;
height: 100px;
}
.logo-image img {
width: 100%;
height: 100%;
object-fit: contain;
}
.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;
}
}