challenge-landing-page-Sabr.../assets/styles/style.css

456 lines
7.0 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
color: #000000;
}
a {
text-decoration: none;
}
/* HEADER */
.header-container {
display: flex;
width: 100%;
background: #000000;
padding: 29px 0;
justify-content: center;
align-items: center;
}
.logo-link {
width: 12%;
}
.logo {
width: 98%;
}
/* MAIN BANNER */
.main-banner {
display: block;
width: 100%;
}
.main-banner-mobile {
display: none;
}
/* MAIN TOP INFOCARD */
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.top-infocard-text {
max-width: 40%;
text-align: center;
padding: 73px 0;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
line-height: 38px;
}
.top-infocard-title {
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
line-height: 58px;
}
.top-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-top: 28px;
}
.top-infocard-image {
width: 17%;
}
.image-top-infocard {
width: 100%;
}
/* MAIN TOP CARDS */
.top-cards {
display: flex;
max-width: 100%;
align-items: center;
justify-content: center;
gap: 21px;
padding: 178px 0 80px;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
width: 18%;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
width: 29%;
padding: 35px 0 27px;
}
.top-card-description {
max-width: 80%;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-bottom: 27px;
}
/* MAIN - TRÊS IMAGENS MINI BANNER CENTRAL */
.mini-banner-container {
background: #E0E0E0;
}
.mini-banner-wrapper {
position: relative;
display: flex;
justify-content: center;
align-items: center;
bottom: -62px;
gap: 39px;
}
.mini-banner {
width: 29%;
}
.mini-banner-image {
display: block;
width: 100%;
}
/* MAIN BOTTOM CARDS */
.bottom-cards {
display: flex;
max-width: 100%;
align-items: center;
justify-content: center;
gap: 16px;
padding-top: 191px;
}
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
width: 22%;
background: #FFFFFF;
box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.20);
}
.bottom-card-image {
display: block;
width: 24%;
padding: 44px 0 24px;
}
.imgage-bottom-card-4 {
width: 20%;
}
.bottom-card-description {
max-width: 84%;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-bottom: 65px;
}
/* MAIN BOTTOM INFORCARD */
.bottom-infocard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.bottom-infocard-text {
width: 28%;
text-align: center;
padding: 108px 0 50px;
}
.bottom-infocard-subtitle {
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottom-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottom-infocard-image {
width: 70%;
padding-bottom: 116px;
}
.image-bottom-infocard {
width: 100%;
}
.bottom-infocard-image-mobile {
display: none;
}
/* FOOTER */
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
background-color: #000000;
padding: 38px 0;
}
.footer-redes-sociais {
display: flex;
margin-bottom: 17px;
gap: 16px;
justify-content: center;
align-items: center;
}
.footer-text-mobile {
display: none;
}
.footer-text {
text-transform: uppercase;
font-weight: 400;
line-height: 12px;
font-size: 10px;
color: #BDBDBD;
}
/* MOBILE */
@media (max-width: 1024px) {
.logo-link {
width: 55%;
}
.logo {
width: 99%;
}
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: block;
}
.top-infocard-text {
max-width: 86%;
padding: 73px 0 65px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
}
.top-infocard-description {
padding-top: 22px;
}
.top-infocard-image {
width: 58%;
}
.top-cards{
flex-direction: column;
padding-top: 90px;
gap: 24px;
}
.top-card{
width: 84%;
}
.mini-banner-wrapper {
display: grid;
grid-template-columns: auto auto;
justify-items: center;
row-gap: 23px;
column-gap: 14px;
bottom: -32px;
padding-left: 5%;
padding-right: 5%;
}
.mini-banner {
width: 100%;
}
.img-1 {
grid-area: 1 / 2 / 2 / 3;
}
.img-2 {
grid-area: 1 / 1 / 2 / 2;
}
.img-3 {
grid-area: 2 / 1 / 3 / 3;
}
.bottom-cards{
flex-direction: column;
padding-top: 112px;
}
.bottom-card{
width: 88%;
}
.bottom-infocard-image-desktop {
display: none;
}
.bottom-infocard-image-mobile {
display: block;
}
.bottom-infocard {
flex-direction: column-reverse;
}
.bottom-infocard-text {
width: 84%;
padding: 50px 0 87px;
}
.bottom-infocard-subtitle {
font-size: 24px;
line-height: 29px;
padding-bottom: 9px;
}
.bottom-infocard-image {
width: 100%;
padding: 98px 0 0;
}
.page-footer {
padding: 32px 0;
}
.footer-text-desktop {
display: none;
}
.footer-text-mobile {
display: block;
}
.footer-text {
text-align: center;
}
}
/* TELAS GRANDES */
@media (min-width: 2500px) {
.top-infocard-subtitle {
font-size: 64px;
line-height: 76px;
}
.top-infocard-title {
font-size: 96px;
line-height: 116px;
}
.top-infocard-description {
font-size: 32px;
line-height: 48px;
}
.top-cards {
gap: 30px;
}
.top-card {
box-shadow: 0px 4px 26px rgba(0, 0, 0, 0.23);
}
.top-card-description {
font-size: 32px;
line-height: 48px;
}
.bottom-cards {
gap: 30px;
}
.bottom-card {
box-shadow: 0px 4px 26px rgba(0, 0, 0, 0.23);
}
.bottom-card-description {
font-size: 32px;
line-height: 48px;
}
.bottom-card-description {
font-size: 32px;
line-height: 48px;
}
.bottom-infocard-text {
width: 40%;
}
.bottom-infocard-subtitle {
font-size: 64px;
line-height: 78px;
padding-bottom: 10px;
}
.bottom-infocard-description {
font-size: 32px;
line-height: 48px;
}
.footer-text {
line-height: 24px;
font-size: 20px;
}
}