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

105 lines
1.7 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;
}
@media screen and (max-width: 414px) {
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}