forked from M3-Academy/challenge-landing-page
123 lines
1.7 KiB
CSS
123 lines
1.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;
|
|
}
|
|
}
|
|
|
|
/*CUBE CSS styles*/
|
|
|
|
/*-------*\
|
|
= UTILS =
|
|
\*-------*/
|
|
.text-upper {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
} |