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

117 lines
1.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000;
}
/*Header*/
.page-header {
display: flex;
justify-content: center;
background-color: #000;
padding: 28px 0;
}
.header-logo {
display: block;
}
/*Banner*/
.main-banner {
width: 100%;
}
.main-banner-desktop {
display: block;
}
.main-banner-mobile {
display: none;
}
/*Top infocard*/
.top-infocard {
display: flex;
align-items: center;
justify-content: center;
gap: 124px;
padding: 80px 0 96px 0;
}
.top-infocard-content {
width: 40%;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
margin-bottom: 24px;
}
.top-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 1024px) {
/*top infocard*/
.top-infocard {
padding: 84px 26px 158px;
flex-wrap: wrap;
gap: 0;
}
.top-infocard-content {
width: 100%;
}
.top-infocard-image-container {
margin-top: 68px;
width: 58%;
display: flex;
justify-content: center;
}
.top-infocard-image {
width: 100%;
max-width: 239px;
}
.top-infocard-subtitle {
font-size: 20px;
}
.top-infocard-title {
font-size: 28px;
}
}
@media screen and (max-width: 414px) {
/*banner*/
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: block;
}
}