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