forked from M3-Academy/challenge-landing-page
79 lines
1.2 KiB
CSS
79 lines
1.2 KiB
CSS
.main-banner .banner-img {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.main-banner .banner-mobile {
|
|
display: none;
|
|
}
|
|
|
|
.main .top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
padding: 73px 0;
|
|
}
|
|
|
|
.main .container-infocard-text {
|
|
margin-bottom: 73px;
|
|
max-width: 766px;
|
|
}
|
|
|
|
.main .infocard-subtitle {
|
|
font-size: 32px;
|
|
font-weight: 400;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.main .infocard-title {
|
|
margin-bottom: 28px;
|
|
font-size: 48px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
}
|
|
|
|
.main .infocard-description {
|
|
font: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.main-banner .banner-desktop {
|
|
display: none;
|
|
}
|
|
.main-banner .banner-mobile {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.main .top-infocard {
|
|
padding: 73px 29px 90px;
|
|
}
|
|
|
|
.main .container-infocard-text {
|
|
margin-bottom: 65px;
|
|
}
|
|
|
|
.main .infocard-subtitle {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.main .infocard-title {
|
|
font-size: 28px;
|
|
margin-bottom: 28px;
|
|
}
|
|
|
|
.main .infocard-description {
|
|
text-align: center;
|
|
}
|
|
|
|
.main .infocard-img {
|
|
max-width: 244px;
|
|
width: 100%;
|
|
}
|
|
}
|