challenge-landing-page-Henr.../style/style.css
2022-10-12 00:38:52 -03:00

137 lines
2.2 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.page-header{
display: flex;
align-items: center;
justify-content: center;
background: black;
}
.image-header{
display: block;
padding: 28px 0;
}
.main-banner{
display: block;
width: 100%;
}
@media screen and (max-width: 425px){
.banner-desktop{
display: none;
}
}
@media screen and (min-width: 426px){
.banner-mobile{
display: none;
}
}
.infocard{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 72px 0;
}
.infocard-subtitle{
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard-title{
font-weight: 500px;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.infocard-description{
font-size: 16px;
line-height: 24px;
max-width: 766px;
padding: 28px 0 0 0;
}
.infocard-image{
display: flex;
align-items: center;
justify-content: center;
}
@media screen and (max-width: 425px){
.infocard{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.infocard-subtitle{
font-size: 20px;
line-height: 24px;
max-width: 62%;
}
.infocard-title{
font-size: 28px;
}
.infocard-description{
font-size: 16px;
line-height: 24px;
text-align: center;
max-width: 64%;
}
.infocard-image{
display: flex;
align-items: center;
justify-content: center;
max-width: 414px;
}
}
.cards-conteiner{
display: grid;
grid-template-columns: repeat(3, max-content);
justify-content: center;
gap: 20px;
padding: 180px 0 80px;
}
.card{
display: flex;
flex-direction: column;
align-items: center;
padding: 26px 26px 34px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-image{
display: block;
margin-bottom: 26px;
}
.card-text{
max-width: 300px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (max-width: 1024px) {
.cards-conteiner {
grid-template-columns: 1fr;
padding: 90px 30px 80px;
}
}