challenge-landing-page-well.../css/style.css

112 lines
1.7 KiB
CSS

* {
margin: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
/*** HEADER ***/
.page-header{
display: flex;
justify-content: center;
align-items: center;
background-color: #000000;
padding: 28px 0;
}
.header-logo{
display: block;
}
/*** MAIN BANNER ***/
.main-banner-desktop{
display: block;
width: 100%;
}
.main-banner-mobile{
display: block;
width: 100%;
}
/*** TOP INFOCARD ***/
.top-infocard {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 74px;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
max-width: 40%;
}
.top-infocard-image{
margin-top: 74px;
}
@media screen and (max-width: 1024px){
/*** MAIN BANNER ***/
.main-banner-desktop{
display: none;
}
/*** TOP INFOCARD ***/
.top-infocard{
padding: 0 28px 0;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
text-align: center;
}
.top-infocard-title{
text-align: center;
font-size: 28px;
line-height: 34px;
}
.top-infocard-description{
max-width: 100%;
text-align: center;
}
.top-infocard-image{
margin-top: 65px;
}
}
@media screen and (min-width: 1025px){
/*** MAIN BANNER ***/
.main-banner-mobile{
display: none;
}
}