forked from M3-Academy/practice-time-landing-page
103 lines
1.5 KiB
CSS
103 lines
1.5 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
color:#000000;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 28px 0;
|
|
background: #000000;
|
|
}
|
|
|
|
.header-logo {
|
|
display: block;
|
|
}
|
|
|
|
.main-banner {
|
|
width: 100%;
|
|
}
|
|
|
|
.top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
/*padding: 80px 0 96px;*/
|
|
}
|
|
|
|
.top-infocard-text {
|
|
margin-right: 124px;
|
|
max-width: 766px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
margin-bottom: 24px;
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-desc {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
@media screen and (width < 415px) {
|
|
.main-banner-desktop {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (width >= 415px) {
|
|
.main-banner-mobile {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (width < 993px) {
|
|
.top-infocard {
|
|
padding: 84px 26px 158pc;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.top-infocard-text {
|
|
margin: 0 0 68px;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
margin-bottom: 20px;
|
|
font-size: 28px;
|
|
}
|
|
|
|
.top-infocard-image {
|
|
max-width: 240px;
|
|
width: 100%;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
|
.top-infocard-text {
|
|
max-width: 520px;
|
|
margin-right: 70px;
|
|
}
|
|
}
|
|
|