Created basic structure of home page
This commit is contained in:
212
src/styles/index.css
Normal file
212
src/styles/index.css
Normal file
@@ -0,0 +1,212 @@
|
||||
.homepage {
|
||||
display: flex;
|
||||
overflow-x: hidden;
|
||||
flex-direction: column;
|
||||
gap: 220px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.sections {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 48px;
|
||||
padding: 0px 350px;
|
||||
}
|
||||
|
||||
.section-1 {
|
||||
position: relative;
|
||||
background-color: transparent;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4xl-96px);
|
||||
padding: 80px 300px 0px 300px;
|
||||
}
|
||||
|
||||
.main-title {
|
||||
font-size: 80px;
|
||||
}
|
||||
|
||||
.lady-img {
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0px;
|
||||
|
||||
width: 680px;
|
||||
height: auto;
|
||||
|
||||
transform: translateX(-25%);
|
||||
z-index: -1;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.landing-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4xl-96px);
|
||||
}
|
||||
|
||||
.logo-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: start;
|
||||
}
|
||||
.logo-naliia-full {
|
||||
height: 81px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.text-and-button-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-3xl-64px);
|
||||
max-width: 780px;
|
||||
}
|
||||
|
||||
.text-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md-16px);
|
||||
}
|
||||
.subtitle {
|
||||
max-width: 630px;
|
||||
}
|
||||
|
||||
.call-to-action-button {
|
||||
height: 56px;
|
||||
width: auto;
|
||||
padding: var(--space-sm-8px) var(--space-lg-24px);
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
background-color: #e54c75;
|
||||
font-size: var(--font-desktop-h5);
|
||||
font-weight: bold;
|
||||
font-family: var(--font-family-primary);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* ----- Offer section styles ----- */
|
||||
.offer-section {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.title-and-phrase {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm-8px);
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.cards-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-lg-24px);
|
||||
}
|
||||
|
||||
.offer-card {
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
border-radius: var(--space-lg-24px);
|
||||
|
||||
height: 200px;
|
||||
padding: var(--space-3xl-64px);
|
||||
|
||||
display: flex;
|
||||
|
||||
background-image: url("../assets/imgs/img-preview.svg");
|
||||
background-repeat: no-repeat;
|
||||
background-position: right;
|
||||
background-size: contain;
|
||||
}
|
||||
|
||||
.card-content {
|
||||
max-width: 500px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-md-16px);
|
||||
}
|
||||
|
||||
/* ----- Pricing section styles ----- */
|
||||
.pricing {
|
||||
margin-bottom: 140px;
|
||||
background-color: transparent;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2xl-48px);
|
||||
padding: 0px 350px;
|
||||
}
|
||||
|
||||
.pricing-cards-container {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: var(--space-lg-24px);
|
||||
}
|
||||
|
||||
.pricing-card {
|
||||
border-radius: var(--space-lg-24px);
|
||||
|
||||
padding: var(--space-3xl-64px) var(--space-xl-32px);
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2xl-48px);
|
||||
|
||||
height: 600px;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.1);
|
||||
background-color: #363636;
|
||||
}
|
||||
|
||||
.best-plan-card {
|
||||
border: 4px solid #e54c75;
|
||||
height: 620px;
|
||||
}
|
||||
|
||||
.pricing-card .plan-type {
|
||||
font-weight: bold;
|
||||
background-color: #e54c75;
|
||||
padding: var(--space-sm-8px) var(--space-md-16px);
|
||||
border-radius: var(--space-md-16px);
|
||||
width: fit-content;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.price-and-description {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm-8px);
|
||||
}
|
||||
|
||||
.features-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-sm-8px);
|
||||
|
||||
&& li {
|
||||
color: white;
|
||||
font-size: var(--font-desktop-base);
|
||||
line-height: var(--line-height-desktop-base);
|
||||
}
|
||||
}
|
||||
|
||||
.select-plan-button {
|
||||
height: 42px;
|
||||
width: auto;
|
||||
padding: var(--space-sm-8px) var(--space-md-16px);
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
background-color: #e54c75;
|
||||
font-family: var(--font-family-primary);
|
||||
font-size: var(--font-desktop-h6);
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
Reference in New Issue
Block a user