forked from M3-Academy/challenge-landing-page
268 lines
4.3 KiB
CSS
268 lines
4.3 KiB
CSS
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
}
|
|
|
|
/* Cabeçalho */
|
|
.header-logo {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
padding: 28px 0;
|
|
justify-content: center;
|
|
background: #000;
|
|
}
|
|
|
|
/* Banner principal */
|
|
.main-banner{
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/* Primeiro infocard */
|
|
.top-infocard, .top-infocard-subtitle, .top-infocard-title, .top-infocard-description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.top-infocard-text {
|
|
width: 40%;
|
|
max-width: 100%;
|
|
margin: 72px 0 72px;
|
|
|
|
}
|
|
|
|
.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;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.top-infocard-description {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-figure {
|
|
width: 16%;
|
|
}
|
|
|
|
.top-infocard-image {
|
|
width: 100%;
|
|
display: block;
|
|
margin-bottom: 178px;
|
|
|
|
}
|
|
|
|
/* Cards de cima */
|
|
.top-cards {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1%;
|
|
margin-bottom: 11vh;
|
|
}
|
|
|
|
.top-card {
|
|
width: 18%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image {
|
|
width: 30%;
|
|
margin: 13% 0 9%;
|
|
}
|
|
|
|
.top-cards-description {
|
|
width: 85%;
|
|
margin-bottom: 9%;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Banner do Meio */
|
|
.middle-banners {
|
|
|
|
background-color: #E0E0E0;
|
|
}
|
|
|
|
.middle-banners-wrapper {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 2%;
|
|
position: relative;
|
|
top: 8vh;
|
|
margin-bottom: 17vh;
|
|
}
|
|
|
|
.middle-banner {
|
|
width: 30%;
|
|
display: block;
|
|
}
|
|
|
|
.middle-banner-image {
|
|
width: 100%
|
|
}
|
|
|
|
/* Cards de Baixo */
|
|
.bottom-cards {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1%;
|
|
margin-bottom: 5%;
|
|
}
|
|
|
|
.bottom-card {
|
|
width: 22%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.bottom-card-image {
|
|
width: 22%;
|
|
margin: 10% 0 5%
|
|
|
|
}
|
|
|
|
.bottom-card-description {
|
|
width: 85%;
|
|
margin-bottom: 19%;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* infocard de Baixo */
|
|
.bottom-infocard, .bottom-infocard-title, .bottom-infocard-description {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.bottom-infocard-title {
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
}
|
|
|
|
.bottom-infocard-description {
|
|
line-height: 24px;
|
|
width: 29%;
|
|
margin-bottom: 10vh;
|
|
}
|
|
|
|
.bottom-infocard-image {
|
|
width: 71%;
|
|
}
|
|
|
|
/* Responsividade */
|
|
@media screen and (min-width: 821px) {
|
|
.main-banner-mobile {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 820px) {
|
|
.main-banner-desktop {
|
|
display: none;
|
|
}
|
|
|
|
.top-infocard-text {
|
|
width: 86%;
|
|
max-width: 100%;
|
|
margin: 68px 0 68px;
|
|
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
font-weight: 500;
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.top-infocard-figure {
|
|
width: 58%;
|
|
}
|
|
|
|
.top-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.top-card {
|
|
width: 85%
|
|
}
|
|
|
|
.middle-banners {
|
|
margin-bottom: 23vh;
|
|
}
|
|
|
|
.middle-banners-wrapper {
|
|
margin: 0px 2% 0;
|
|
width: 95%;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
column-gap: 3vw;
|
|
row-gap: 3vh;
|
|
}
|
|
|
|
.middle-banner {
|
|
width: 100%;
|
|
}
|
|
|
|
.middle-banner-fig-03 {
|
|
grid-row-start: 2;
|
|
grid-column-start: 1;
|
|
grid-column-end: 3;
|
|
}
|
|
|
|
.bottom-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.bottom-card {
|
|
width: 85%
|
|
}
|
|
} |