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

110 lines
1.7 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
display: flex;
justify-content: center;
background-color: #000000;
}
.header-logo {
display: block;
padding: 30px 0;
max-width: 226px;
width: 100%;
}
.main-banner {
width: 100%;
}
.top-infocard{
margin: 73px 0 180px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 0 28px;
}
.top-infocard-text {
display: flex;
align-items: center;
flex-direction: column;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
text-transform: uppercase;
}
.top-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
max-width: 766px;
padding: 28px 0 74px;
}
@media screen and (max-width: 414px) {
.main-banner {
content: url('../image/main-banner-mobile.png');
}
.header-logo {
padding: 24px 0 33px;
}
}
@media screen and (max-width: 768px) {
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
}
.top-infocard-description {
font-size: 16px;
text-align: center;
}
.top-infocard-image img {
max-width: 240px;
width: 100%;
}
}
@media screen and (max-width: 290px) {
.top-infocard-title {
font-size: 26px;
}
}