challenge-landing-page/assets/styles/main.css

102 lines
1.5 KiB
CSS
Raw Normal View History

2022-10-13 03:53:48 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: #000000;
2022-10-13 05:22:38 +00:00
font-family: 'Inter', sans-serif;
2022-10-13 03:53:48 +00:00
}
.page-header {
display: flex;
padding: 29px 0;
background: #000000;
2022-10-13 05:22:38 +00:00
justify-content: center;
2022-10-13 03:53:48 +00:00
}
.header-logo {
display: block;
2022-10-13 04:08:18 +00:00
}
2022-10-13 05:22:38 +00:00
.main-banner {
2022-10-13 06:08:45 +00:00
width: 100%;
2022-10-13 04:08:18 +00:00
display: block;
2022-10-13 05:22:38 +00:00
}
.top-infocard {
display: flex;
flex-flow: column;
align-items: center;
2022-10-13 06:08:45 +00:00
padding-bottom: 179px;
2022-10-13 05:22:38 +00:00
justify-content: center;
}
.top-inforcard-subtitle {
font-size: 32px;
font-weight: 400;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title {
font-size: 48px;
font-weight: 500;
line-height: 58px;
margin-bottom: 28px;
text-transform: uppercase;
}
.top-infocard-text {
padding: 73px 0;
max-width: 766px;
text-align: center;
}
.top-infocard-description {
font-size: 16px;
line-height: 24px;
text-align: justify;
2022-10-13 04:08:18 +00:00
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
2022-10-13 06:08:45 +00:00
}
@media screen and (max-width: 992px) {
.top-infocard {
padding: 0 28px 90px;
}
.top-infocard-text {
padding-bottom: 65px;
}
.top-inforcard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
margin-bottom: 15px;
}
.top-infocard-description{
text-align: center;
}
.top-infocard-image {
max-width: 240px;
}
2022-10-13 03:53:48 +00:00
}