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

346 lines
5.4 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
.main-banner-mobile,
.bottom-infocard-img-mobile {
2022-10-12 21:01:01 +00:00
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;
margin-bottom: 73px;
2022-10-12 20:26:02 +00:00
}
.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;
2022-10-12 20:26:02 +00:00
text-align: left;
}
/*///////////////////AREA DO TOP CARDS COM 3 IMAGENS ///////////////*/
.infocard-img-section {
2022-10-12 20:44:45 +00:00
padding-top: 62px;
background: #e0e0e0;
2022-10-12 20:44:45 +00:00
}
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 {
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 {
margin-top: -62px;
padding-top: 191px;
2022-10-12 21:01:01 +00:00
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: 108px 0px 116px 0px;
2022-10-12 20:26:02 +00:00
display: flex;
flex-direction: column;
2022-10-12 20:26:02 +00:00
justify-content: center;
align-items: center;
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 20:26:02 +00:00
width: 100%;
}
.bottom-inforcard-text {
margin-top: 51px;
padding: 0 32px;
}
.bottom-infocard-title {
font-size: 32px;
line-height: 39px;
2022-10-12 20:26:02 +00:00
margin-bottom: 18px;
text-align: center;
2022-10-12 20:26:02 +00:00
}
.bottom-infocard-description {
max-width: 550px;
line-height: 24px;
text-align: center;
font-size: 16px;
2022-10-12 20:26:02 +00:00
}
/*///////////////// 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 90px;
2022-10-12 20:26:02 +00:00
}
.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) {
.container {
padding: 0 23px;
}
2022-10-12 20:26:02 +00:00
.main-banner,
.bottom-infocard-img {
2022-10-12 20:26:02 +00:00
display: none;
}
.main-banner-mobile,
.bottom-infocard-img-mobile {
2022-10-12 20:26:02 +00:00
display: block;
}
.top-cards {
grid-template-columns: 1fr;
padding: 0 32px 80px;
}
.top-infocard-text {
margin: 0 0 65px;
}
.infocard-img-section {
padding-top: 32px;
}
.infocard-center {
flex-direction: column;
2022-10-12 20:26:02 +00:00
}
.bottom-cards {
padding: 112px 0 98px;
2022-10-12 20:26:02 +00:00
}
.bottom-card-wrapper {
flex-direction: column;
2022-10-12 20:26:02 +00:00
}
.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);
}
}