This commit is contained in:
parent
1a8c702499
commit
0fed4e2159
@ -1,83 +1,86 @@
|
||||
/* Base styles for the hero section */
|
||||
.hero {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: 0 auto; /* Centering the hero section */
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding-top: 80px;
|
||||
padding-bottom: 80px;
|
||||
padding-left: 40px;
|
||||
padding-right: 40px;
|
||||
padding: 2rem;
|
||||
background: linear-gradient(to bottom right, #F9B208, #E72E77);
|
||||
}
|
||||
|
||||
.hero-inner {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
flex-direction: column; /* Stack elements vertically by default */
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
max-width: 1200px;
|
||||
gap: 2rem; /* Space between items */
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
padding: 20px;
|
||||
margin-right: none;
|
||||
}
|
||||
|
||||
.hero-logo {
|
||||
width: 200px;
|
||||
margin: 0 auto 20px;
|
||||
margin-bottom: 40px;
|
||||
max-width: 150px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-title {
|
||||
font-size: 2.5rem;
|
||||
font-size: calc(2rem + 1vw); /* Responsive font size */
|
||||
color: white;
|
||||
margin-bottom: 40px;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.hero-button {
|
||||
background-color: white;
|
||||
color: #E72E77;
|
||||
padding: 15px 30px;
|
||||
border: none;
|
||||
padding: 1rem 2rem;
|
||||
text-decoration: none;
|
||||
border-radius: 5px;
|
||||
font-size: 1.4rem;
|
||||
font-weight: bold;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s;
|
||||
text-transform: uppercase;
|
||||
font-size: 1.2rem;
|
||||
transition: background-color 0.3s, color 0.3s;
|
||||
}
|
||||
|
||||
|
||||
.hero-button:hover {
|
||||
background-color: white;
|
||||
/* color: #2ee797; */
|
||||
color: #ff3988;
|
||||
opacity: 1;
|
||||
box-shadow: 0 0px 16px rgba(0, 0, 0, 0.3);
|
||||
background-color: #E72E77;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/* Screenshots styling */
|
||||
.hero-screenshots {
|
||||
max-width: 50%;
|
||||
display: flex;
|
||||
gap: 40px;
|
||||
margin-left: 0px;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.screenshot {
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
width: 100%;
|
||||
height: 330px;
|
||||
background-color: white;
|
||||
border: 5px solid black;
|
||||
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
|
||||
border-radius: 13px;
|
||||
overflow: hidden;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.screenshot img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
max-width: 90%;
|
||||
height: auto;
|
||||
border-radius: 10px;
|
||||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* Responsive layout for larger screens */
|
||||
@media screen and (min-width: 768px) {
|
||||
.hero-inner {
|
||||
flex-direction: row; /* Side-by-side layout on larger screens */
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.hero-content {
|
||||
align-items: flex-start;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.hero-screenshots {
|
||||
flex-direction: row; /* Display screenshots side-by-side */
|
||||
gap: 1.5rem;
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
<link rel="stylesheet" href="{{asset "css/hero.css"}}">
|
||||
|
||||
|
||||
<section class="hero">
|
||||
<div class="hero-inner">
|
||||
<!-- Left content with logo and text -->
|
||||
|
Loading…
x
Reference in New Issue
Block a user