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

365 lines
6.0 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
border: none;
}
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header{
display: flex;
justify-content: center;
background: #000000;
padding: 28px 0;
}
.header-logo {
display: block;
}
.main-banner, .footer-banner {
width: 100%;
display: block;
}
.top-infocard {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 72px 0 180px;
}
.top-infocard-text {
width: 40%;
text-align: center;
}
.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;
padding-bottom: 28px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-bottom: 72px;
}
.top-cards {
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 20px;
justify-content: center;
padding-bottom: 80px;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 26px 26px 34px;
}
.top-card-image {
display: block;
margin-bottom: 26px;
}
.top-card-description {
max-width: 300px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.middle-banner {
background: #E0E0E0;
display: grid;
grid-template-columns: repeat(3, max-content);
justify-content: center;
gap: 40px;
max-height: 530px;
padding: 0 72px;
}
.middle-banner-image {
width: 100%;
margin-top: 62px;
}
.footer-cards {
display: grid;
grid-template-columns: repeat(4, max-content);
gap: 16px;
justify-content: center;
padding-bottom: 108px;
padding-top: 192px;
}
.footer-card {
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 36px 32px 64px;
}
.footer-card-image {
display: block;
margin-bottom: 16px;
}
.footer-card-description {
max-width: 367px;
text-align: center;
line-height: 24px;
font-size: 16px;
}
.section-footer {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding-bottom: 116px;
}
.section-footer-text{
width: 28%;
text-align: center;
}
.section-footer-title {
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.section-footer-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-bottom: 50px;
}
.section-footer-image-desktop {
display: block;
width: 70%;
}
.page-footer {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background: #000000;
padding: 38px 0;
}
.footer-text {
color: #BDBDBD;
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
}
.social-links {
padding-bottom: 16px;
}
.social-links img {
padding-right: 16px;
}
/* RESPONSIVIDADE */
@media screen and (max-width: 414px) {
.main-banner-desktop, .section-footer-image-desktop {
display: none;
}
.footer-text {
text-align: center;
width: 261px;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile, .middle-banner-mobile, .section-footer-image-mobile {
display: none;
}
}
@media screen and (max-width: 768px){
.top-infocard {
padding-bottom: 90px;
}
.top-cards {
grid-template-columns: 1fr;
padding: 36px 32px 80px;
}
}
@media screen and (max-width: 1024px) {
.top-infocard-text {
width: 100%;
padding: 0 28px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
padding-bottom: 16px;
}
.top-infocard-image {
width: 100%;
max-width: 240px;
}
.section-footer {
flex-direction: column-reverse;
}
.footer-banner {
padding-bottom: 50px;
}
.section-footer-text{
width: 100%;
text-align: center;
padding: 0 32px;
}
.section-footer-title {
font-size: 24px;
line-height: 29px;
padding-bottom: 8px;
}
}
@media screen and (max-width: 1919px) {
.middle-banner {
max-height: 398px;
}
.middle-banner-image {
width: 420px;
margin-top: 46px;
}
.footer-cards {
display: grid;
grid-template-columns: repeat(2, max-content);
}
}
@media screen and (max-width: 968px){
.footer-cards {
grid-template-columns: 1fr;
padding: 80px 24px 98px;
justify-content: center;
}
.footer-card-description {
max-width: 302px;
font-size: 14px;
}
}
@media screen and (max-width: 1530px) {
.middle-banner {
max-height: 318px;
}
.middle-banner-image {
width: 332px;
margin-top: 36px;
}
}
@media screen and (max-width: 1200px) {
.middle-banner {
grid-template-columns: 45% 45%;
grid-template-areas: "banner-grid-1 banner-grid-2"
"banner-grid-3 banner-grid-3";
gap: 14px;
padding: 0;
max-height: max-content;
}
.banner-grid-1 {
grid-area: banner-grid-1;
margin-top: 32px;
}
.banner-grid-2 {
grid-area: banner-grid-2;
margin-top: 32px;
}
.banner-grid-3 {
grid-area: banner-grid-3;
margin-top: 18px;
}
.middle-banner-image {
width: 100%;
margin-top: 0;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-cards {
grid-template-columns: repeat(2, max-content);
padding: 36px 26px 80px;
}
}