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

127 lines
1.7 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-container-image {
width: 17%;
}
.top-infocard-image {
display: block;
width: 100%;
}
@media screen and (min-width: 415px) {
/* Corpo da pagina */
/* Banner principal */
.main-banner-mobile {
display: none;
}
}
@media screen and (max-width: 1024px) {
/* Cabeçalho */
.header-logo {
max-width: 55%;
}
.top-infocard {
padding: 73px 28px 90px;
}
.top-infocard-text {
max-width: 86%;
}
.top-infocard-description {
text-align: center;
}
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
.top-infocard-container-image {
width: 100%;
max-width: 58%;
}
.top-infocard-subtitle {
font-size: 23px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 33px;
}
}