challenge-landing-page/assets/styles/main.css

93 lines
1.6 KiB
CSS
Raw Normal View History

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header{
display: flex;
justify-content: center;
padding: 29px 0;
background-color: #000;
}
.header-logo{
width: 12vw;
min-width: 226px;
}
.main-banner-desktop{
width: 100%;
display: block;
}
.main-banner-mobile{
display: none;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
padding: 73px 0;
}
.top-inforcard-subtitle{
text-align: center;
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title{
text-align: center;
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
padding: 0 0 28px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.top-infocard-text{
max-width: 40%;
padding: 0 0 73px;
}
.top-infocard-image{
width: 16%;
min-width: 239px;
}
@media screen and (min-width: 2500px) {
.page-header{
padding: 58px
}
}
@media screen and (max-width: 1024px) {
.main-banner-desktop{
display: none;
}
.main-banner-mobile{
width: 100%;
display: block;
}
/* top infocard */
.top-inforcard-subtitle{
font-size: 20px;
}
.top-infocard-title{
font-size: 28px;
}
.top-infocard-text{
text-align: center;
max-width: 86%;
padding: 0 0 73px;
}
}
@media screen and (max-width: 992px){
.top-infocard-image{
width: 34%;
}
}