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

229 lines
3.4 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%;
}
/* 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%;
}
}
/* 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;
}
}