Ajusta o infocard para mobile e telas 4k

This commit is contained in:
Leonardo Pereira Rocha 2022-10-13 00:24:05 -03:00
parent 76ffd5f38b
commit daffd86deb

View File

@ -65,3 +65,56 @@ body{
margin-bottom: 84px;
}
@media screen and (max-width:992px) {
.top-infocard-image{
width: 40%;
}
.second-card{
grid-template-columns: 1fr;
margin: 0 23px;
}
.top-infocard-description{
margin: 0 28px 73px;
padding: 26px 36px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
text-transform: uppercase;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
}
@media screen and (min-width:2500px){
.top-infocard-text {
max-width: 2000px;
}
.top-infocard-title{
font-size: 144px;
line-height: 174px;
margin-bottom: 84px;
}
.top-infocard-subtitle{
margin-top: 219px;
font-size: 96px;
line-height: 117px;
}
.top-infocard-description{
font-size: 48px;
line-height: 72px;
margin-bottom: 252px;
}
}