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

102 lines
1.6 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
display: flex;
align-items: center;
justify-content: center;
padding: 29px 0;
background-color: #000000;
}
.page-header-logo {
display: block;
}
.main-banner {
display: block;
width: 100%;
}
.top-infocard {
padding: 73px 80px;
}
.top-infocard-text {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.top-infocard-title {
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
line-height: 58px;
color: #000000;
}
.top-infocard-description {
max-width: 766px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 20px;
}
.top-infocard-image {
width: 315px;
height: 315px;
margin-top: 73px;
}
.top-cards {
display: flex;
align-items: center;
justify-content: center;
margin-top: 179px;
gap: 23px;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
@media screen and (max-width: 414px) {
.main-banner-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}