practice-time-landing-page/main.css

105 lines
1.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: 0;
}
body {
font-family: 'Inter', sans-serif;
}
.page-header {
display: flex;
justify-content: center;
padding: 28px 0 ;
background-color: #000000;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
}
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
padding: 80px 0 96px;
}
.top-infocard-text {
max-width: 766px;
margin-right: 124px;
}
.top-inforcard-subtitle {
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-inforcard-title {
margin-bottom: 24px;
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
}
.top-inforcard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (max-width:992px) {
.top-infocard {
flex-direction: column;
padding: 54px 26px 78px;
}
.top-infocard-text {
margin: 0 0 68px;
}
.top-infocard-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;
}
}