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

105 lines
1.7 KiB
CSS
Raw Normal View History

2022-10-12 21:18:36 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-10-13 00:24:27 +00:00
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
2022-10-12 21:18:36 +00:00
.page-header {
display: flex;
justify-content: center;
padding: 29px 0;
background: #000000;
}
.header-logo {
display: block;
width: 226.16px;
height: 43px;
2022-10-12 21:29:09 +00:00
}
.main-banner {
width: 100%;
display: block;
2022-10-12 21:40:29 +00:00
}
2022-10-13 00:24:27 +00:00
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
2022-10-13 01:46:19 +00:00
margin-bottom: 178px;
2022-10-13 00:24:27 +00:00
}
.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;
}
2022-10-12 21:40:29 +00:00
2022-10-13 00:24:27 +00:00
.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;
}
2022-10-13 01:46:19 +00:00
.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;
}
2022-10-13 00:24:27 +00:00
2022-10-13 01:46:19 +00:00
.top-card-description {
max-width: 299px;
line-height: 24px;
text-align: center;
2022-10-13 00:24:27 +00:00
}
2022-10-12 21:40:29 +00:00
@media screen and (max-width: 414px) {
.main-banner-desktop{
display: none;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
2022-10-12 21:18:36 +00:00
}