practice-time-landing-page-.../assets/styles/main.css

98 lines
1.7 KiB
CSS
Raw Normal View History

*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-10-07 22:41:48 +00:00
body{
font-family: 'Inter', sans-serif;
color: #000;
}
.page-header{
display: flex;
justify-content: center;
padding: 28px 0;
2022-10-07 22:41:48 +00:00
background-color: #000
;
}
.header-logo{
display: block;
}
.main-banner{
max-width: 100%;
}
2022-10-07 22:41:48 +00:00
.top-infocard{
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
}
.top-infocard-text{
margin-right: 124px;
max-width: 766px;
}
.top-inforcard-subtitle{
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
2022-10-07 22:41:48 +00:00
}
.top-infocard-title{
margin-bottom: 24px;
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop{
display: none;
}
}
2022-10-07 22:41:48 +00:00
@media screen and (max-width: 992px) {
.top-infocard{
flex-direction: column;
padding: 84px 26px 158px;
}
.top-infocard-text{
margin: 0 0 68px;
}
.top-inforcard-subtitle{
font-size: 20px;
}
.top-infocard-title{
margin-bottom: 20px;
font-size: 28px;
}
.top-infocard-image{
width: 100%;
max-width: 240px;
}
}
@media screen and (min-width: 993px) and (max-width: 1280px) {
.top-infocard-text{
max-width: 520px;
margin-right: 70px;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile{
display: none;
}
2022-10-07 22:41:48 +00:00
}
@media screen and (min-width: 1920px) {
.main-banner-desktop {
width: 100%;
object-fit: contain;
}
}