forked from M3-Academy/challenge-landing-page
175 lines
2.6 KiB
CSS
175 lines
2.6 KiB
CSS
* {
|
|
margin:0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body{
|
|
font-family: 'Inter', sans-serif;
|
|
color:#000000;
|
|
}
|
|
|
|
/* Header */
|
|
|
|
.page-header{
|
|
background: #000000;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 28px 0;
|
|
}
|
|
|
|
.header-logo{
|
|
display: block;
|
|
}
|
|
|
|
/* Banner Principal */
|
|
.main-banner{
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/*Top Infocard*/
|
|
.top-infocard{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80px 0 96px;
|
|
gap: 73px;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
max-width:40%;
|
|
}
|
|
|
|
.top-infocard-subtitle{
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-title{
|
|
margin-bottom: 28px;
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-description{
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-subtitle,
|
|
.top-infocard-title{
|
|
text-align: center;
|
|
}
|
|
|
|
.figure-infocard{
|
|
min-width: 17%;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
min-width: 100%;
|
|
}
|
|
|
|
/* Top Cards */
|
|
.top-cards{
|
|
display: flex;
|
|
gap: 21px;
|
|
justify-content: center;
|
|
padding: 74px 0;
|
|
}
|
|
|
|
.cartao{
|
|
width:18%;
|
|
}
|
|
|
|
.top-card{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 35px 26px 27px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image{
|
|
display: block;
|
|
margin-bottom: 27px;
|
|
width: 29%;
|
|
}
|
|
|
|
.top-card-description{
|
|
width: 85%;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* BREAKPOINTS */
|
|
|
|
@media screen and (min-width:2500px){
|
|
.top-infocard-subtitle{
|
|
font-size: 64px;
|
|
line-height: 78px;
|
|
}
|
|
|
|
.top-infocard-title{
|
|
font-size: 96px;
|
|
line-height: 116px;
|
|
}
|
|
|
|
.top-infocard-description{
|
|
font-size: 32px;
|
|
line-height: 48px;
|
|
}
|
|
|
|
.top-card-description{
|
|
font-size: 32px;
|
|
line-height: 48px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width:1025px){
|
|
.main-banner-mobile{
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width:1024px) {
|
|
.main-banner-desktop{
|
|
display: none;
|
|
}
|
|
|
|
.top-infocard{
|
|
gap:65px;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
max-width:86%;
|
|
}
|
|
|
|
.top-infocard-subtitle{
|
|
font-size: 20px;
|
|
}
|
|
|
|
.top-infocard-title{
|
|
font-size: 28px;
|
|
}
|
|
|
|
.top-infocard-description{
|
|
text-align: center;
|
|
}
|
|
|
|
.figure-infocard{
|
|
display: flex;
|
|
width: 58%;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
margin: 0 auto;
|
|
min-width: 0;
|
|
}
|
|
} |