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

160 lines
2.3 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-13 02:44:53 +00:00
.middle-cards-wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-items: center;
gap: 40px;
margin: 0 72px;
}
.middle-cards {
background: #E0E0E0;
2022-10-13 02:51:45 +00:00
margin-bottom: 190px;
2022-10-13 02:44:53 +00:00
}
.middle-card {
max-width: 566px;
}
.middle-card-image {
width: 100%;
display: block;
}
2022-10-13 02:51:45 +00:00
.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;
}
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
}