challenge-landing-page-guil.../assests/style/main.css

160 lines
2.3 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;
padding: 29px 0;
background: #000000;
}
.header-logo {
display: block;
width: 226.16px;
height: 43px;
}
.main-banner {
width: 100%;
display: block;
}
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 178px;
}
.top-infocard-text {
text-align: center;
margin: 73px 0;
max-width: 766px;
filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
margin: 14px 0;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-description {
font-size: 16px;
line-height: 24px;
text-align: left;
}
.top-cards {
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 21px;
justify-content: center;
margin-bottom: 80px;
}
.top-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 35px 26px 27px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
margin-bottom: 27px;
}
.top-card-description {
max-width: 299px;
line-height: 24px;
text-align: center;
}
.middle-cards-wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-items: center;
gap: 40px;
margin: 0 72px;
}
.middle-cards {
background: #E0E0E0;
margin-bottom: 190px;
}
.middle-card {
max-width: 566px;
}
.middle-card-image {
width: 100%;
display: block;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
padding: 38px;
background: black;
}
.footer-icons {
display: flex;
list-style: none;
}
.footer-icon {
margin: 0 8px;
margin-bottom: 16px;
}
.footer-text {
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width: 414px) {
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}