challenge-landing-page/styles/main.css

98 lines
1.5 KiB
CSS
Raw Normal View History

2022-10-11 14:05:41 +00:00
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
img{
display: block;
}
2022-10-11 16:40:02 +00:00
body{
color: #000;
font-family: 'Inter', sans-serif;
text-align: center;
}
2022-10-11 14:05:41 +00:00
.page-header{
display: flex;
justify-content: center;
background: #000000;
padding: 29px 0;
}
.main-banner{
width: 100%;
}
2022-10-11 16:40:02 +00:00
.top-infocard{
margin-top: 73px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 65px;
}
.top-infocard-text{
max-width: 40%;
}
.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;
margin-bottom: 28px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: left;
}
.top-infocard-figure{
min-width: 16%;
}
.top-infocard-image{
width: 100%;
}
@media screen and (max-width: 1024px){
2022-10-11 16:40:02 +00:00
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 1025px){
2022-10-11 16:40:02 +00:00
.main-banner-mobile{
display: none;
}
2022-10-11 16:40:02 +00:00
}
@media screen and (min-width: 2500px){
.top-infocard-subtitle{
font-size: 64px;
line-height: 78px;
}
.top-infocard-title{
font-size: 98px;
line-height: 116px;
}
.top-infocard-description{
font-size: 32px;
line-height: 48px;
}
2022-10-11 14:05:41 +00:00
}