new hero
All checks were successful
Deploy Theme / deploy (push) Successful in 10s

This commit is contained in:
2025-03-07 09:29:08 +01:00
parent 3e1c648603
commit a89eaf5eee
2 changed files with 143 additions and 85 deletions

View File

@@ -15,6 +15,7 @@
align-items: center;
text-align: center;
width: 100%;
height: 30vw;
/* max-width: 1200px; */
gap: 4rem; /* Space between items */
margin-bottom: 4rem;
@@ -79,60 +80,94 @@
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.hero-catch-phrase {
text-align: center;
font-size: 2.5rem;
color: #333;
margin: 40px 0;
}
.hero-second {
display: flex;
flex-direction: column; /* Stack elements vertically by default */
align-items: center;
text-align: center;
width: 80%;
width: 70%;
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: 35px;
}
.steps {
.hero-bloc {
display: flex;
flex-direction: column;
gap: 120px;
text-align: center;
justify-content: space-between;
align-items: center;
padding: 20px;
background-color: #f5f5f5;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.step h3 {
font-size: 1.6rem;
margin-bottom: 10px;
/* Styling for bloc-text */
.bloc-text {
flex: 1;
padding: 20px;
font-size: 1.2rem;
color: #333;
}
/* Features Section */
#features {
padding: 30px 0;
.bloc-text h3 {
font-size: 1.8rem;
color: #E72E77;
margin-bottom: 1rem;
}
#features h2 {
margin-bottom: 35px;
.bloc-text ul {
list-style-type: disc;
padding-left: 20px;
}
.features-list {
.bloc-text ul li {
margin-bottom: 0.5rem;
}
/* Styling for bloc-image */
.bloc-image {
flex: 1;
max-width: 400px;
padding: 20px;
display: flex;
flex-direction: column;
gap: 50px;
justify-content: center;
align-items: center;
}
.feature {
text-align: center;
.bloc-image img {
max-width: 100%;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.feature h3 {
/* Button at the end of the hero-second */
.hero-button-end {
display: flex;
justify-content: center;
padding: 40px 0;
}
.hero-button-end a {
background-color: #E72E77;
color: white;
padding: 20px 40px;
font-size: 1.6rem;
margin-bottom: 10px;
font-weight: bold;
border-radius: 8px;
text-decoration: none;
transition: background-color 0.3s;
}
.hero-button-end a:hover {
background-color: #F9B208;
color: #333;
}
/* Responsive layout for larger screens */
@@ -188,18 +223,4 @@
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%;
}
}