challenge-landing-page-edna.../assets/style/style.css

110 lines
1.6 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;
background: #000000;
padding: 29px 0;
}
.header-logo{
display: block;
}
.main-banner{
width: 100%;
}
.top-infocard{
display:flex;
justify-content: center;
align-items: center;
margin-top: 73px;
}
.top-infocard-text{
max-width: 766px;
}
.top-infocard-subtitle{
display: flex;
justify-content: center;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
display: flex;
justify-content: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
margin-bottom: 24px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
}
.top-infocard-image{
display: flex;
justify-content: center;
margin: 84px 0 178px;
}
/*MEDIAS*/
@media screen and (max-width:414px) {
.main-banner-desktop{
display: none;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
margin: 28px;
text-align: center;
}
.top-infocard-image{
margin: 74px 0 90px;
}
}
@media screen and (min-width: 415px){
.main-banner-mobile{
display: none;
}
}