forked from M3-Academy/challenge-landing-page
135 lines
2.1 KiB
CSS
135 lines
2.1 KiB
CSS
* {
|
|
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;
|
|
}
|
|
|
|
.top-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
justify-content: center;
|
|
margin: 0 22% 4%;
|
|
}
|
|
|
|
.top-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #ffffff;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image {
|
|
display: block;
|
|
margin-top: 10%;
|
|
}
|
|
.top-card-description {
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 150%;
|
|
/* or 150% */
|
|
margin: 8%;
|
|
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;
|
|
}
|
|
|
|
.top-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 24px;
|
|
margin: 0 32px 80px;
|
|
}
|
|
}
|
|
@media screen and (min-width: 1024px) {
|
|
.main-banner-mobile {
|
|
display: none;
|
|
}
|
|
}
|