challenge-landing-page/html/main.styles/style.css

331 lines
5.2 KiB
CSS
Raw Normal View History

2022-10-12 20:26:02 +00:00
* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
color: #000000;
}
2022-10-12 20:44:45 +00:00
.container {
width: 100%;
max-width: 1920px;
margin: 0 auto;
padding: 0 72px;
}
2022-10-12 20:26:02 +00:00
/*///////////// HEADER /////////////////// */
.page-header {
background: #000000;
display: flex;
justify-content: center;
padding: 28px 0;
}
.header-logo {
display: block;
}
/*///////////// SECTION 01 e 02 com banner /////////////////// */
2022-10-12 21:01:01 +00:00
.main-banner {
display: block;
width: 100%;
}
2022-10-12 20:26:02 +00:00
2022-10-12 21:01:01 +00:00
.main-banner-mobile {
display: none;
}
2022-10-12 20:26:02 +00:00
/*///////////// SECTION 02 INFO CARD TOP ///////////////////*/
.top-infocard {
display: flex;
align-items: center;
2022-10-12 20:44:45 +00:00
2022-10-12 20:26:02 +00:00
padding: 75px 30px 179px;
flex-direction: column;
text-align: center;
}
.top-infocard-text {
max-width: 766px;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
line-height: 58px;
margin-bottom: 24px;
text-transform: uppercase;
}
.top-infocard-description {
font-size: 16px;
line-height: 24px;
margin-bottom: 74px;
text-align: left;
}
/*///////////////////AREA DO TOP CARDS COM 3 IMAGENS ///////////////*/
.infocard-img-section {
2022-10-12 20:44:45 +00:00
background: #e0e0e0;
padding-top: 62px;
}
2022-10-12 21:01:01 +00:00
.infocards-center {
2022-10-12 20:44:45 +00:00
display: flex;
gap: 40px;
}
.infocard-center {
display: flex;
gap: 40px;
}
2022-10-12 21:01:01 +00:00
.middle-banner {
2022-10-12 20:44:45 +00:00
margin-bottom: -62px;
2022-10-12 21:01:01 +00:00
width: 100%;
2022-10-12 20:26:02 +00:00
}
/*///////////////////AREA DO TOP CARDS COM 3 IMAGENS ///////////////*/
.top-cards {
background: #ffffff;
2022-10-12 20:44:45 +00:00
2022-10-12 20:26:02 +00:00
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 20px;
justify-content: center;
2022-10-12 20:44:45 +00:00
padding-bottom: 80px;
2022-10-12 20:26:02 +00:00
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #ffffff;
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;
text-align: center;
line-height: 24px;
font-size: 16px;
}
/*/////////// Bottom Area com imagens e background//////////////*/
.bottom-cards {
2022-10-12 21:01:01 +00:00
margin-top: 191px;
background: #ffffff;
2022-10-12 20:26:02 +00:00
}
.bottom-card-wrapper {
2022-10-12 21:01:01 +00:00
display: flex;
2022-10-12 20:26:02 +00:00
justify-content: center;
gap: 20px;
}
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 36px 32px 66px;
background: #ffffff;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
display: block;
margin-bottom: 14px;
}
.bottom-card-description {
max-width: 368px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
/*///////////////// BOTTOM AREA COM IMAGEM + TEXTO /////////////////*/
.bottom-infocard {
display: flex;
align-items: center;
}
/*////////////////section bottom 03///////////////////*/
.bottom-infocard {
padding: 142px 12px 179px 12px;
display: flex;
justify-content: center;
align-items: center;
gap: 40px;
2022-10-12 21:01:01 +00:00
background: #ffffff;
2022-10-12 20:26:02 +00:00
}
.bottom-infocard-image {
display: block;
2022-10-12 21:06:58 +00:00
2022-10-12 20:26:02 +00:00
width: 100%;
}
.bottom-inforcard-text {
margin-top: 51px;
padding: 0 32px;
}
.bottom-infocard-title {
font-size: 32px;
line-height: 36px;
margin-bottom: 18px;
}
.bottom-infocard-description {
max-width: 550px;
line-height: 24px;
}
/*///////////////// FOOTER /////////////////*/
.footer-infocard {
padding: 38px 0;
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
}
.footer-infocards {
display: flex;
align-items: center;
gap: 28px;
margin-bottom: 20px;
}
.footer-description {
color: #bdbdbd;
font-size: 10px;
text-align: center;
}
/*///////////////// ABAIXO DE 992PX /////////////////*/
@media screen and (max-width: 992px) {
.top-infocard {
flex-direction: column;
padding: 84px 26px 158px;
}
.top-infocard-text {
margin: 0 0 68px;
}
.top-infocard-subtitle {
font-size: 20px;
}
.top-infocard-title {
font-size: 28px;
margin-bottom: 20px;
}
.top-infocard-description {
font-size: 16px;
line-height: 24px;
}
.top-infocard-image {
width: 100%;
max-width: 240px;
}
}
/*///////////////// ABAIXO DE 768PX /////////////////*/
@media screen and (max-width: 768px) {
.main-banner,
.middle-banner {
display: none;
}
.main-banner-mobile,
.middle-banner-mobile {
display: block;
}
.top-cards {
grid-template-columns: 1fr;
padding: 36px 26px;
}
.bottom-cards {
padding: 0 16px;
margin-top: 114px;
}
.bottom-card-wrapper {
grid-template-columns: 1fr;
gap: 16px;
}
.bottom-card-description {
font-size: 14px;
}
.bottom-infocard {
flex-direction: column;
padding: 80px 0 135px 0;
}
.bottom-infocard-title {
font-size: 24px;
line-height: 24px;
}
.bottom-infocard {
gap: 0;
}
.footer-description {
max-width: 261px;
}
}
/*//////////////////MEDIA DE UM TAMANHO ATE O OUTR////////////////*/
@media screen and (min-width: 769px) and (max-width: 992px) {
.bottom-card-description {
max-width: 280px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(2, max-content);
}
.bottom-card-wrapper {
grid-template-columns: repeat(2, max-content);
}
}