challenge-landing-page-savi.../assets/css/style.css

98 lines
1.5 KiB
CSS
Raw Normal View History

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
color: #000000;
}
.page-header {
display: flex;
padding: 28px 0;
justify-content: center;
background-color: #000000;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
display: block;
}
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
padding: 74px 0 180px;
width: 100%;
}
.top-inforcard-text {
max-width: 100%;
margin: 0 30% 0;
}
.top-infocard-subtitle {
font-style: normal;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-align: center;
text-transform: uppercase;
}
.top-infocard-title {
font-style: normal;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-align: center;
text-transform: uppercase;
margin-bottom: 28px;
}
.top-infocard-description {
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 150%;
margin-bottom: 74px;
text-align: center;
}
@media screen and (max-width: 1023px) {
.main-banner-desktop {
display: none;
}
.top-infocard {
padding-bottom: 90px;
}
.top-inforcard-text {
margin: 0 7% 0;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
margin-bottom: 66px;
}
.top-infocard-description {
line-height: 24px;
}
}
@media screen and (min-width: 1024px) {
.main-banner-mobile {
display: none;
}
}