challenge-landing-page-Patr.../assets/Styles/main.css

133 lines
2.0 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Inter&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
color: #000000;
}
.page-header {
padding: 29px 0;
justify-content: center;
display: flex;
background: #000000;
}
.logo-cima {
display: block;
}
.banner-principal {
width: 100%;
}
.infocard-cima {
display: flex;
align-items: center;
flex-direction: column;
}
.top-paragrafo {
text-align: left;
max-width: 766px;
margin-top: 28px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.top-titulo-h2 {
text-align: center;
margin-top: 73px;
font-style: normal;
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-titulo-h1 {
text-align: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-img {
margin: 73px 0 179px;
}
.infocard-meio {
padding: 80px 0;
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 20px;
justify-content: center;
}
.card-meio {
padding: 27px 27px 36px;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
background: #ffffff;
}
.cards-do-meio {
display: block;
margin-bottom: 27px;
}
.paragrafos-meio {
max-width: 299px;
text-align: center;
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 820px) {
.top-titulo-h2 {
font-size: 20px;
line-height: 24px;
}
.top-titulo-h1 {
font-size: 28px;
line-height: 34px;
height: 49px;
}
.top-paragrafo {
font-size: 16px;
line-height: 24px;
max-width: 357px;
width: 96%;
height: 115px;
text-align: center;
margin: 0 auto;
}
.top-img {
width: 239px;
height: auto;
margin: 65px 0 90px;
}
}
@media screen and (max-width: 414px) {
.banner-principal-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.banner-principal-mobile {
display: none;
}
}