kscheidecker 45c25a42f5
All checks were successful
Deploy Theme / deploy (push) Successful in 10s
hero
2025-03-07 07:47:52 +01:00

205 lines
3.5 KiB
CSS

/* Base styles for the hero section */
.hero {
position: relative;
width: 100%;
margin: 0 auto; /* Centering the hero section */
display: flex;
justify-content: space-between;
flex-direction: column;
align-items: center;
}
.hero-first {
display: flex;
flex-direction: row;
align-items: center;
text-align: center;
width: 100%;
/* max-width: 1200px; */
gap: 4rem; /* Space between items */
margin-bottom: 4rem;
background: linear-gradient(to bottom right, #F9B208, #E72E77);
padding-top: 60px;
padding-bottom: 80px;
padding-right: 40px;
padding-left: 40px;
}
.hero-content {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.hero-logo {
max-width: 180px;
margin-bottom: 3rem;
}
.hero-title {
font-size: calc(2rem + 1vw); /* Responsive font size */
color: white;
margin-bottom: 1rem;
}
.hero-button {
background-color: white;
color: #E72E77;
padding: 15px 30px;
border: none;
border-radius: 5px;
font-size: 1.4rem;
font-weight: bold;
cursor: pointer;
transition: background-color 0.3s;
text-transform: uppercase;
}
.hero-button:hover {
background-color: #E72E77;
opacity: 1;
color: white;
}
/* Screenshots styling */
.hero-screenshots {
display: flex;
flex-direction: row;
gap: 3rem;
width: 100%;
align-items: center;
}
.screenshot img {
max-width: 70vmin;
height: auto;
border-radius: 20px;
border: 4px solid black;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero-second {
display: flex;
flex-direction: column; /* Stack elements vertically by default */
align-items: center;
text-align: center;
width: 80%;
gap: 4rem; /* Space between items */
margin-bottom: 4rem;
}
/* How It Works Section */
#how-it-works {
/* background-color: #f8f9fa; */
padding: 30px 0;
}
#how-it-works h2 {
margin-bottom: 25px;
}
.steps {
display: flex;
flex-direction: column;
gap: 40px;
text-align: justify;
}
.step h3 {
font-size: 1.6rem;
margin-bottom: 10px;
}
/* Features Section */
#features {
padding: 30px 0;
}
#features h2 {
margin-bottom: 25px;
}
.features-list {
display: flex;
flex-direction: column;
gap: 30px;
}
.feature {
text-align: center;
}
.feature h3 {
font-size: 1.6rem;
margin-bottom: 10px;
}
/* Responsive layout for larger screens */
@media screen and (min-width: 768px) {
.hero-inner {
justify-content: space-between;
width: 100%;
flex-direction: row;
}
.hero-content {
text-align: center;
padding: 20px;
margin-right: none;
}
.hero-logo {
width: 200px;
margin: 0 auto 20px;
margin-bottom: 40px;
}
.hero-title {
font-size: 2.5rem;
color: white;
margin-bottom: 40px;
}
.hero-button:hover {
background-color: white;
/* color: #2ee797; */
color: #ff3988;
box-shadow: 0 0px 16px rgba(0, 0, 0, 0.3);
}
.hero-screenshots {
max-width: 50%;
display: flex;
gap: 40px;
margin-left: 0px;
padding-left: 0px;
flex-direction: row;
}
.screenshot {
width: auto;
height: 330px;
border-radius: 13px;
}
.screenshot img {
width: 100%;
height: 100%;
object-fit: cover;
}
.steps {
flex-direction: row;
justify-content: space-around;
}
.features-list {
flex-direction: row;
justify-content: space-between;
}
.feature {
flex-basis: 45%;
}
}