challenge-landing-page-aman.../styles/main.css

230 lines
3.1 KiB
CSS
Raw Normal View History

2022-10-11 18:25:51 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: black;
font-family: "Inter", sans-serif;
2022-10-11 18:25:51 +00:00
}
/* Cabeçalho */
.page-header {
display: flex;
justify-content: center;
padding: 29px 0;
background: black;
}
.header-logo {
display: block;
max-width: 12%;
}
/* Corpo da pagina */
/* Banner principal */
.main-banner {
width: 100%;
}
/* Topo Infocard */
.top-infocard {
display: flex;
flex-direction: column;
gap: 73px;
align-items: center;
padding: 73px 0 179px;
width: 100%;
}
.top-infocard-text {
text-align: center;
max-width: 40%;
}
.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;
text-transform: uppercase;
}
.top-infocard-description {
text-align: left;
line-height: 24px;
margin-top: 28px;
}
.top-infocard-image {
display: block;
max-width: 17%;
}
/* Card do topo */
.top-cards {
display: flex;
justify-content: center;
gap: 21px;
padding: 0 0 80px;
}
.top-card {
display: flex;
width: 18%;
gap: 27px;
padding: 35px 0 27px;
flex-direction: column;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
max-width: 30%;
}
.top-card-description {
max-width: 85%;
line-height: 24px;
text-align: center;
}
.middle-cards {
display: flex;
gap: 39px;
background: #e0e0e0;
justify-content: center;
}
.middle-card {
width: 30%;
position: relative;
top: 68px;
}
.middle-card-image {
display: block;
width: 100%;
}
.bottom-cards {
display: flex;
align-items: center;
justify-content: center;
padding: 197px 0 108px;
gap: 16px;
}
.bottom-card {
display: flex;
flex-direction: column;
padding: 35px 0 65px;
gap: 15px;
width: 23%;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
width: 24%;
}
.bottom-card-description {
width: 85%;
text-align: center;
}
@media screen and (min-width: 1025px) {
/* Corpo da pagina */
/* Banner principal */
.main-banner-mobile {
display: none;
}
}
2022-10-11 18:25:51 +00:00
@media screen and (max-width: 1024px) {
/* Cabeçalho */
2022-10-11 18:25:51 +00:00
.header-logo {
max-width: 55%;
}
.main-banner-desktop {
display: none;
}
.top-infocard {
width: 100%;
}
.top-infocard-image {
max-width: 72%;
}
.top-infocard-subtitle {
font-size: 23px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 33px;
}
.top-infocard {
padding: 73px 28px 90px;
}
.top-infocard-text {
max-width: 86%;
}
.top-infocard-description {
text-align: center;
}
.top-cards {
align-items: center;
flex-direction: column;
padding: 0 32px 80px;
}
.top-card {
width: 84%;
}
.middle-cards {
flex-direction: row;
flex-wrap: wrap;
gap: 14px;
padding: 0 23px 0;
}
.middle-card {
top: 32px;
}
.middle-card-mobile {
width: 89%;
margin-top: 14px;
}
.middle-cards-mobile {
width: 43%;
}
2022-10-11 18:25:51 +00:00
}