139 lines
2.4 KiB
CSS
139 lines
2.4 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-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-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/*Adiciona top cards*/
|
|
.top-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, max-content);
|
|
gap: 20px;
|
|
justify-content: center;
|
|
padding: 0 0 80px;
|
|
}
|
|
|
|
.top-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 36px 26px 26px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image {
|
|
display: block;
|
|
margin-bottom: 26px;
|
|
}
|
|
|
|
.top-card-description {
|
|
max-width: 300px;
|
|
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: 768px) {
|
|
.top-cards {
|
|
grid-template-columns: 1fr;
|
|
padding: 0 26px 80px;
|
|
}
|
|
}
|
|
|
|
@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;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 768px) and (max-width: 1200px) {
|
|
.top-cards {
|
|
grid-template-columns: repeat(2, max-content);
|
|
}
|
|
} |