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

152 lines
2.0 KiB
CSS
Raw Normal View History

2022-10-13 20:37:11 +00:00
*
{
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-10-13 20:37:11 +00:00
body
{
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header
{
display: flex;
justify-content: center;
padding: 28px 0;
background: #000000;
}
2022-10-13 20:37:11 +00:00
.header-logo
{
display: block;
}
.main-banner,
2022-10-13 20:37:11 +00:00
.middle-banner
{
width: 100%;
display: block;
}
2022-10-13 20:37:11 +00:00
.top-infocard
{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 72px 0 180px;
}
2022-10-13 20:37:11 +00:00
.top-infocard-text
{
max-width: 766px;
}
2022-10-13 20:37:11 +00:00
.top-infocard-subtitle
{
display: flex;
align-items: center;
justify-content: center;
text-transform: uppercase;
font-size: 32px;
line-height: 39px;
font-weight: 400;
}
2022-10-13 20:37:11 +00:00
.top-infocard-title
{
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 28px;
text-transform: uppercase;
line-height: 58px;
font-size: 48px;
font-weight: 500;
}
2022-10-13 20:37:11 +00:00
.top-infocard-description
{
font-size: 16px;
line-height: 24px;
margin-bottom: 72px;
}
2022-10-13 20:37:11 +00:00
.top-infocard-image
{
display: flex;
align-items: center;
justify-content: center;
padding: 0;
width: 315px;
max-width: 100%;
}
2022-10-13 20:37:11 +00:00
@media screen and (max-width: 414px)
{
.main-banner-desktop,
2022-10-13 20:37:11 +00:00
.middle-banner-desktop
{
display: none;
}
}
2022-10-13 20:37:11 +00:00
@media screen and (min-width: 415px)
{
.main-banner-mobile,
2022-10-13 20:37:11 +00:00
.middle-banner-mobile
{
display: none;
}
2022-10-13 20:37:11 +00:00
}
@media screen and (max-width: 768px)
{
.top-infocard
{
padding: 0;
}
.top-infocard-text
{
width: 357px;
padding: 72px 28px 65px;
}
.top-infocard-subtitle
{
font-size: 20px;
line-height: 24px;
}
.top-infocard-title
{
font-size: 28px;
line-height: 34px;
}
.top-infocard-description
{
margin: 0 0px 0px;
}
.top-infocard-image
{
width: 100%;
max-width: 240px;
}
}