forked from M3-Academy/challenge-landing-page
145 lines
2.3 KiB
CSS
145 lines
2.3 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
color: #000000;
|
|
}
|
|
|
|
|
|
.page-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 28px 0;
|
|
background-color: #000000;
|
|
}
|
|
|
|
.page-header-logo {
|
|
display: block;
|
|
}
|
|
|
|
.main-banner {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.top-infocard {
|
|
padding: 73px 80px;
|
|
}
|
|
|
|
.top-infocard-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
text-transform: uppercase;
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
|
}
|
|
|
|
.top-infocard-title {
|
|
text-transform: uppercase;
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
color: #000000;
|
|
}
|
|
|
|
.top-infocard-description {
|
|
max-width: 766px;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.top-infocard-image {
|
|
width: 315px;
|
|
height: 315px;
|
|
margin-top: 73px;
|
|
}
|
|
|
|
.top-cards {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 179px 0 80px;
|
|
gap: 21px;
|
|
}
|
|
|
|
.top-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
padding: 26px 26px 34px;
|
|
max-width: 350px;
|
|
}
|
|
|
|
.top-card-image {
|
|
display: block;
|
|
margin-bottom: 27px;
|
|
}
|
|
|
|
.top-card-description {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
margin-top: 27px;
|
|
}
|
|
|
|
@media screen and (max-width: 414px) {
|
|
.main-banner-desktop,
|
|
.top-card-image-desktop {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 415px) {
|
|
.main-banner-mobile,
|
|
.top-card-image-mobile {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 992px) {
|
|
.top-infocard{
|
|
display: flex;
|
|
text-align: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
padding: 73px 29px 65px;
|
|
}
|
|
|
|
.top-infocard-text {
|
|
max-width: 357px;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
font-size: 28px;
|
|
line-height: 1;
|
|
}
|
|
|
|
.top-infocard-image {
|
|
width: 100%;
|
|
max-width: 239px;
|
|
}
|
|
}
|
|
|
|
|