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

329 lines
4.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box; /*mantem a largura do elemento determinada no widht e nao adiciona o tamanho do padding no calculo, porem ele vai estar la*/
}
body {
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header {
display: flex;
justify-content: center;
padding: 28px 0;
background: #000;
}
.logo-header {
display: block;
width: 12%;
}
.main-banner{
width: 100%;
display: block;
}
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
padding-top: 72px;
}
.top-infocard-text{
width: 40%;
text-align: center;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
padding-bottom: 28px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
text-align: left;
}
.network{
display: flex;
align-items: center;
justify-content: center;
padding-top: 73px;
}
.network-image{
width: 17%;
}
.cards{
display: flex;
justify-content: center;
align-items: center;
margin-top: 178px;
gap: 21px;
}
.card{
width: 18%;
text-align: center;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 35px 26px 26px 26px;
}
.card-text{
font-size: 16px;
line-height: 24px;
width: 85%;
display: inline-block;
}
.card-icon{
width: 29%;
margin-bottom: 30px;
}
.notebooks{
width: 100%;
background: #E0E0E0;
margin-top: 80px;
display: flex;
justify-content: center;
gap: 29px;
}
.notebook1, .notebook2, .notebook3{
width: 29.50%;
bottom: -62px;
position: relative;
}
.notebook1{
order: 1;
}
.notebook2{
order: 2;
}
.notebook3{
order: 3;
}
.cards-bottom{
display: flex;
justify-content: center;
align-items: center;
margin-top: 190px;
gap: 16px;
}
.card-bottom{
width: 22.35%;
text-align: center;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 40px 26px 65px 32px;
}
.card-bottom-text{
font-size: 16px;
line-height: 24px;
width: 95%;
display: inline-block;
}
.card-bottom-icon{
width: 29%;
margin-bottom: 17px;
}
.smartphone{
width: 24%;
}
.article{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 108px;
}
.article-text{
width: 28.64%;
text-align: center;
}
.article-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.article-description{
font-size: 16px;
line-height: 24px;
padding: 0 14px;
}
.article-figure{
text-align: center;
margin-top: 50px;
width: 70.83%;
}
.article-banner-desktop{
width: 100%;
}
/*4k*/
@media screen and (min-width: 2500px) {
.top-infocard-subtitle{
font-size: 40px;
line-height: 48px;
}
.top-infocard-title{
font-size: 56px;
line-height: 68px;
}
.top-infocard-description{
font-size: 32px;
line-height: 48px;
}
.card-text{
font-size: 32px;
line-height: 48px;
}
.card-bottom-text{
font-size: 32px;
line-height: 48px;
}
.article-title{
font-weight: 600;
font-size: 64px;
line-height: 78px;
}
.article-description{
font-size: 32px;
line-height: 48px;
}
}
/*MOBILE* */
@media screen and (max-width: 1024px) {
.logo-header{
width: 55%;
}
.banner-main-desktop{
display: none;
}
.top-infocard-text{
width: 86%;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
padding-bottom: 10px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
text-align: center;
}
.network{
padding-top: 65px;
}
.network-image{
width: 58%;
}
.cards{
flex-direction: column;
gap: 24px;
}
.card{
width: 84.54%;
}
.notebooks{
display: block;
text-align: center;
row-gap: 14px;
}
.notebook1{
margin-top: 25px;
width: 43.52%;
bottom: -7px;
margin-left: 7px;
}
.notebook2{
margin-top: 25px;
width: 43.52%;
bottom: -7px;
margin-right: 7px;
}
.notebook3{
width: 90.80%;
bottom: -32px;
}
.cards-bottom{
flex-direction: column;
margin-top: 112px;
}
.card-bottom{
width: 88.88%;
}
.card-bottom-text{
font-size: 14px;
}
}
/*DESKTOP*/
@media screen and (min-width: 1025px) {
.banner-main-mobile{
display: none;
}
}