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

165 lines
2.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: black;
font-family: "Inter", sans-serif;
}
/* 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;
}
@media screen and (min-width: 1025px) {
/* Corpo da pagina */
/* Banner principal */
.main-banner-mobile {
display: none;
}
}
@media screen and (max-width: 1024px) {
/* Cabeçalho */
.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%;
}
}