nowa-panda/themes/panda-theme/assets/css/components/hero.css

130 lines
1.8 KiB
CSS
Raw Permalink Normal View History

2025-07-07 07:52:36 +00:00
/* ================ Hero ================ */
.section-main {
min-height: 100vh;
padding-top: 20px;
padding-bottom: 20px;
}
.hero {
display: flex;
justify-content: center;
align-items: center;
}
.hero__media {
display: none;
}
.hero__content {
width: 420px;
}
.hero__heading {
font-size: 1.4rem;
font-weight: 400;
color: var(--primary);
margin-bottom: 1rem;
}
.hero__heading--bold {
font-weight: 600;
}
.hero__heading--highlight {
color: var(--secondary);
}
.hero__description {
font-size: 1rem;
margin-bottom: 2rem;
color: var(--primary);
text-align: justify;
}
.hero__description--highlight {
font-weight: 600;
}
.hero__feature {
display: flex;
align-items: center;
gap: 1rem;
background-color: var(--white);
padding: 1rem;
margin-bottom: 1rem;
border-radius: 1rem;
}
.hero__icon {
width: 4rem;
height: 4rem;
background-color: var(--button-color);
color: var(--white);
border-radius: 1rem;
display: flex;
align-items: center;
justify-content: center;
padding: 10px;
}
.hero__icon--yellow {
background-color: var(--yellow);
}
.hero__icon--blue {
background-color: var(--secondary);
}
.hero__feature-text {
font-weight: 600;
color: var(--primary);
font-size: 1rem;
}
@media (min-width: 1024px) {
.hero {
justify-content: left;
}
.hero__media {
display: block;
width: 50%;
}
.hero__media img {
width: 100%;
}
.hero__content {
width: 40%;
margin-left: 50px;
}
.hero__heading {
font-size: 40px;
}
}
.upscale-anim svg {
animation: svgAnim 3s ease infinite;
}
@keyframes svgAnim {
0% {
transform: scale(1.0);
}
10% {
transform: scale(1.20);
}
20% {
transform: scale(0.75);
}
30% {
transform: scale(1.0);
}
100% {
transform: scale(1.0);
}
}