challenge-landing-page-Sabr.../assets/styles/style.css

128 lines
1.8 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
color: #000000;
}
a {
text-decoration: none;
}
/* HEADER */
.header-container {
display: flex;
width: 100%;
background: #000000;
padding: 29px 0;
justify-content: center;
align-items: center;
}
.logo-link {
width: 12%;
}
.logo {
width: 98%;
}
/* MAIN BANNER */
.main-banner {
display: block;
width: 100%;
}
.main-banner-mobile {
display: none;
}
/* MAIN TOP INFOCARD */
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.top-infocard-text {
max-width: 40%;
text-align: center;
padding: 73px 0;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
line-height: 38px;
}
.top-infocard-title {
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
line-height: 58px;
}
.top-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-top: 28px;
}
.top-infocard-image {
width: 17%;
}
.image-top-infocard {
width: 100%;
}
/* MOBILE */
@media (max-width: 1024px) {
.logo-link {
width: 55%;
}
.logo {
width: 99%;
}
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: block;
}
.top-infocard-text {
max-width: 86%;
padding: 73px 0 65px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
}
.top-infocard-description {
padding-top: 22px;
}
.top-infocard-image {
width: 58%;
}
}