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

102 lines
1.5 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
display: flex;
justify-content: center;
align-items: center;
padding: 28px;
background: #000000;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
}
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-bottom: 178px;
}
.top-infocard-text {
width: 40%;
text-align: center;
align-items: center;
margin-top: 74px;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
text-transform: uppercase;
font-weight: 500;
font-size: 28px;
line-height: 34px;
padding: 0 0 28px;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
margin-bottom: 74px;
}
.top-infocard-image {
max-width: 16%;
}
@media screen and (max-width: 392px) {
.header-logo {
width: 180px
}
}
@media screen and (max-width: 768px) {
.main-banner-desktop {
display: none;
}
.top-infocard-text {
width: 86%;
}
.top-infocard-subtitle {
line-height: 20px;
}
.top-infocard-description {
margin-bottom: 65px;
}
.top-infocard-image {
max-width: 58%;
margin-bottom: 90px;
}
}
@media screen and (min-width: 769px) {
.main-banner-mobile {
display: none;
}
}