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

119 lines
1.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;
}
@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;
}
}
/*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;
}
}
/*DESKTOP*/
@media screen and (min-width: 1025px) {
.banner-main-mobile{
display: none;
}
}