forked from M3-Academy/challenge-landing-page
198 lines
2.7 KiB
CSS
198 lines
2.7 KiB
CSS
/*=== Por que criei esse arquivo ===*/
|
|
/* Este é meu arquivo principal, a metodologia que vou usar será CUBE CSS <3*/
|
|
|
|
/* started styles */
|
|
|
|
/*--------*\
|
|
= HEADER =
|
|
\*--------*/
|
|
.l-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
padding: 1.875rem 1rem;
|
|
}
|
|
|
|
.header-logo {
|
|
display: flex;
|
|
}
|
|
|
|
/*-------------*\
|
|
= MAIN BANNER =
|
|
\*-------------*/
|
|
.main-banner-image {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/*-------------*\
|
|
= INFORMATION =
|
|
\*-------------*/
|
|
.information {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
gap: 64px;
|
|
padding: 74px 1.875rem 90px;
|
|
}
|
|
|
|
.information-texts {
|
|
text-align: center;
|
|
}
|
|
|
|
.information-subtitle {
|
|
font-weight: 400;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.information-title {
|
|
font-weight: 500;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.information-description {
|
|
line-height: 24px;
|
|
}
|
|
|
|
|
|
@media screen and (min-width:1025px) {
|
|
.information {
|
|
padding: 74px 0 157px;
|
|
gap: 74px;
|
|
}
|
|
|
|
.information-texts {
|
|
width: 40%;
|
|
margin: 0 auto;
|
|
text-align: initial;
|
|
}
|
|
|
|
.information-title,
|
|
.information-subtitle {
|
|
text-align: center;
|
|
}
|
|
|
|
.information-title {
|
|
font-size: 200%;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.information-subtitle {
|
|
line-height: 32px;
|
|
}
|
|
|
|
.information-image {
|
|
width: 16%;
|
|
height: auto;
|
|
}
|
|
}
|
|
|
|
/*----------*\
|
|
= SERVICES =
|
|
\*----------*/
|
|
.services {
|
|
padding-bottom: 90px;
|
|
}
|
|
|
|
.services-container {
|
|
--hs-flex-space: 20px;
|
|
--hs-flow-space: 28px;
|
|
|
|
padding: 0 26px;
|
|
}
|
|
|
|
.services-container,
|
|
.card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.card {
|
|
width: 100%;
|
|
flex-direction: column;
|
|
min-height: 288px;
|
|
padding: 36px 26px 28px;
|
|
}
|
|
|
|
.card-image {
|
|
width: 29%;
|
|
height: auto;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px) {
|
|
.services-container {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width:1025px) {
|
|
.services {
|
|
width: 55%;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.card {
|
|
max-width: 350px;
|
|
}
|
|
}
|
|
|
|
/*CUBE CSS styles*/
|
|
|
|
/*-------------*\
|
|
= COMPOSITION =
|
|
\*-------------*/
|
|
.flow *+* {
|
|
margin-top: var(--hs-flow-space);
|
|
}
|
|
|
|
.flex-box {
|
|
display: flex;
|
|
gap: var(--hs-flex-space);
|
|
}
|
|
|
|
/*-------*\
|
|
= UTILS =
|
|
\*-------*/
|
|
.center {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.text-upper {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.box-shadow {
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.bg-clr-black {
|
|
background-color: var(--bg-clr-black);
|
|
}
|
|
|
|
@media only screen and (max-width: 1024px) {
|
|
.image-mobile {
|
|
display: flex;
|
|
}
|
|
|
|
.image-desktop {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media only screen and (min-width: 1025px) {
|
|
.image-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.image-desktop {
|
|
display: flex;
|
|
}
|
|
} |