challenge-landing-page-fili.../assets/styles/main.css

327 lines
4.9 KiB
CSS
Raw Normal View History

2022-10-10 22:01:20 +00:00
* {
margin:0;
padding: 0;
box-sizing: border-box;
}
2022-10-11 15:33:28 +00:00
body{
font-family: 'Inter', sans-serif;
color:#000000;
}
2022-10-11 18:33:08 +00:00
/* Header */
2022-10-10 22:01:20 +00:00
.page-header{
background: #000000;
display: flex;
justify-content: center;
padding: 28px 0;
}
.header-logo{
display: block;
}
2022-10-11 18:33:08 +00:00
/* Banner Principal */
.main-banner{
width: 100%;
display: block;
}
2022-10-11 18:33:08 +00:00
/*Top Infocard*/
2022-10-11 15:33:28 +00:00
.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;
2022-10-11 18:33:08 +00:00
line-height: 39px;
2022-10-11 15:33:28 +00:00
text-transform: uppercase;
}
.top-infocard-title{
margin-bottom: 28px;
font-weight: 500;
font-size: 48px;
2022-10-11 18:33:08 +00:00
line-height: 58px;
2022-10-11 15:33:28 +00:00
text-transform: uppercase;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
}
.top-infocard-subtitle,
.top-infocard-title{
text-align: center;
}
.figure-infocard{
2022-10-11 18:33:08 +00:00
min-width: 17%;
2022-10-11 15:33:28 +00:00
}
.top-infocard-image{
min-width: 100%;
}
2022-10-11 18:33:08 +00:00
/* 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%;
}
2022-10-11 15:33:28 +00:00
2022-10-12 15:34:37 +00:00
.top-card-description{
2022-10-11 18:33:08 +00:00
width: 85%;
font-size: 16px;
line-height: 24px;
text-align: center;
}
2022-10-11 19:29:26 +00:00
/*Middle Banners*/
.middle-banners{
background: #E0E0E0;
}
.middle-banners-wrapper{
position: relative;
display: grid;
grid-template-columns: repeat(3, 29%);
justify-content: center;
gap: 39px;
top: 62px;
}
.middle-banners-image{
width: 100%;
}
2022-10-12 15:11:10 +00:00
/* Bot Cards */
.bot-cards{
display: flex;
justify-content: center;
gap: 16px;
padding-top: 188px;
}
.cartao-bot{
width:22%;
}
.bot-card{
display: flex;
flex-direction: column;
align-items: center;
padding: 35px 32px 65px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.bot-card-image{
display: block;
margin-bottom: 15px;
width: 24%;
}
.bot-card-image-04{
width: 19.67%;
}
2022-10-12 15:34:37 +00:00
.bot-card-description{
2022-10-12 15:11:10 +00:00
width: 85%;
font-size: 16px;
line-height: 24px;
text-align: center;
}
2022-10-12 16:08:55 +00:00
/*Bot Infocard*/
.bot-infocard{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 108px 0 116px;
gap: 50px;
}
.bot-infocard-text{
text-align: center;
width: 28%;
}
.bot-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bot-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bot-infocard-image{
width: 100%;
}
/* BREAKPOINTS */
2022-10-11 18:33:08 +00:00
@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;
}
2022-10-12 16:08:55 +00:00
.bot-card-description{
font-size: 32px;
line-height: 48px;
}
.bot-infocard-title{
font-size: 64px;
line-height: 78px;
}
.bot-infocard-description{
font-size: 32px;
line-height: 48px;
}
2022-10-11 18:33:08 +00:00
}
@media screen and (min-width:1025px){
2022-10-12 16:21:50 +00:00
.main-banner-mobile,
.bot-infocard-image-mobile{
2022-10-11 18:33:08 +00:00
display: none;
}
}
2022-10-11 16:56:38 +00:00
@media screen and (max-width:1024px) {
2022-10-12 16:21:50 +00:00
.main-banner-desktop,
.bot-infocard-image-desktop{
display: none;
}
2022-10-11 15:33:28 +00:00
2022-10-11 15:45:20 +00:00
.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;
}
2022-10-11 19:49:40 +00:00
.top-cards{
flex-direction: column;
align-items: center;
gap: 24px;
}
.cartao{
width: 84%;
}
2022-10-12 13:39:17 +00:00
#image-02{
order:-1;
}
#image-03{
grid-area: 2/1/2/3;
}
.middle-banners-wrapper{
grid-template-columns: repeat(2, 43%);
column-gap: 14px;
row-gap: 24px;
}
2022-10-12 15:34:37 +00:00
.bot-cards{
flex-direction: column;
align-items: center;
gap: 16px;
}
.cartao-bot{
width: 88%;
}
.bot-card-image-04{
width: 23%;
}
2022-10-12 16:21:50 +00:00
.bot-infocard{
flex-direction: column-reverse;
padding: 98px 0 87px;
}
.bot-infocard-text{
width: 84%;
}
2022-10-12 13:39:17 +00:00
2022-10-11 15:45:20 +00:00
}