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

99 lines
1.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
/*Adiciona header*/
.page-header {
display: flex;
justify-content: center;
padding: 29px;
background: #000000;
}
.header-logo {
display: block;
}
/*Adiciona banner principal*/
.main-banner {
display: block;
width: 100%;
}
/*Adiciona top infocard*/
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
padding: 70px 0 180px;
}
.top-infocard-text {
margin-bottom: 70px;
max-width: 766px;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-align: center;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
line-height: 58px;
padding: 0 0 28px;
text-align: center;
text-transform: uppercase;
}
.top-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
/*Media Querie*/
@media screen and (max-width: 414px) {
.main-banner {
content: url('../imagens/main-banner-mobile.png');
}
}
@media screen and (max-width: 992px) {
.top-infocard {
padding: 70px 30px 90px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
}
.top-infocard-text {
margin: 0 0 65px;
}
.top-infocard-image {
width: 100%;
max-width: 240px;
}
}