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

233 lines
3.9 KiB
CSS
Raw Normal View History

* {
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;
2022-10-09 16:58:46 +00:00
padding: 28px 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 {
margin-top: 73px;
}
.top-cards {
display: flex;
2022-10-09 16:58:46 +00:00
align-items: center;
justify-content: center;
padding: 179px 0 80px;
gap: 21px;
2022-10-09 14:42:15 +00:00
}
.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);
padding: 35px 26px 34px;
2022-10-09 16:58:46 +00:00
max-width: 350px;
2022-10-09 14:50:19 +00:00
}
.top-card-image {
2022-10-09 16:58:46 +00:00
display: block;
margin-bottom: 27px;
2022-10-09 14:50:19 +00:00
}
.top-card-description {
font-size: 16px;
line-height: 24px;
text-align: center;
margin-top: 27px;
}
.middle-images {
display: flex;
align-items: center;
justify-content: center;
background: #E0E0E0;
padding: 0 72px;
gap: 40px;
}
.middle-image {
display: flex;
position: relative;
bottom: -62px;
}
.middle-bottom-image {
width: 100%;
display: block;
}
.bottom-card {
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
padding: 192px 72px 108px;
}
.bottom-cards {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
padding: 35px 26px 34px;
}
.bottom-middle-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-middle-image-cards {
display: block;
}
@media screen and (max-width: 414px) {
2022-10-09 16:58:46 +00:00
.main-banner-desktop,
.top-card-image-desktop,
.image-middle-desktop {
display: none;
}
}
@media screen and (min-width: 415px) {
2022-10-09 16:58:46 +00:00
.main-banner-mobile,
.top-card-image-mobile,
.image-image-mobile {
display: none;
}
}
2022-10-09 17:10:40 +00:00
@media screen and (max-width: 768px) {
.top-infocard {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
2022-10-09 17:10:40 +00:00
.top-cards {
display: flex;
flex-direction: column;
padding: 90px 26px;
}
.middle-images {
display: flex;
flex-wrap: wrap;
padding: 32px 23px 0;
}
.middle-image {
}
2022-10-09 17:10:40 +00:00
}
2022-10-09 16:58:46 +00:00
@media screen and (max-width: 992px) {
.top-infocard{
display: flex;
text-align: center;
justify-content: center;
flex-direction: column;
padding: 73px 28px 65px;
2022-10-09 16:58:46 +00:00
}
.top-infocard-text {
max-width: 357px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
2022-10-09 16:58:46 +00:00
}
.top-infocard-title {
font-size: 28px;
line-height: 34px;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
2022-10-09 16:58:46 +00:00
}
.top-infocard-image {
width: 100%;
max-width: 239px;
}
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
.top-infocard, .top-cards {
display: flex;
flex-direction: column;
align-items: center;
}
}
2022-10-09 17:10:40 +00:00