forked from M3-Academy/challenge-landing-page
85 lines
1.2 KiB
CSS
85 lines
1.2 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%;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.top-infocard{
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
align-items: center;
|
||
|
padding: 3.8% 0 9.4%;
|
||
|
}
|
||
|
|
||
|
.top-infocard-text{
|
||
|
max-width: 40.4%;
|
||
|
}
|
||
|
|
||
|
.top-infocard-subtitle{
|
||
|
font-size: 32px;
|
||
|
font-weight: 400;
|
||
|
text-align: center;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
.top-infocard-title{
|
||
|
font-size: 48px;
|
||
|
font-weight: 500;
|
||
|
text-align: center;
|
||
|
margin-bottom: 3.6%;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
|
||
|
.top-infocard-description{
|
||
|
font-weight: 400;
|
||
|
font-size: 16px;
|
||
|
margin-bottom: 9.4%;
|
||
|
line-height: 24px;
|
||
|
}
|
||
|
|
||
|
.top-infocard-image{
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
@media screen and (max-width: 414px){
|
||
|
.main-banner-desktop{
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and (min-width: 415px){
|
||
|
.main-banner-mobile{
|
||
|
display: none;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@media screen and (max-width: 768px){
|
||
|
.top-infocard-subtitle{
|
||
|
font-size: 20px;
|
||
|
line-height: 24px;
|
||
|
margin: 0 138px;
|
||
|
}
|
||
|
}
|