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

343 lines
5.6 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;
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;
}
.bottom-texts {
padding: 0px 208px 116px;
}
.bottom-text {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.bottom-text-title {
font-weight: 600;
font-size: 32px;
line-height: 39px;
text-align: center;
color: #000000;
}
.bottom-text-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
padding-bottom: 50px;
color: #000000;
}
.bottom-text-image {
display: block;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
padding: 38px 0;
background: #000000;
}
.footer-icons {
display: flex;
list-style: none;
margin-bottom: 16px;
}
.footer-icon {
margin: 0 16px;
}
.footer-text {
font-weight: 400;
text-align: center;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width: 414px) {
2022-10-09 16:58:46 +00:00
.main-banner-desktop,
.top-card-image-desktop,
.image-middle-desktop,
.bottom-text-image-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,
.bottom-text-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;
gap: 15px;
padding: 0 20px;
}
.middle-image {
}
.middle-image-two {
margin-top: 10px;
}
/*
*/
.bottom-card {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.page-footer {
padding-bottom: 32px;
}
.footer-text {
max-width: 280px;
text-align: center;
}
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;
}
.bottom-texts {
display: flex;
flex-direction: column;
padding: 0px 0px 87px;
}
.bottom-text-image {
width: 100%;
margin: 0 0 50px;
}
.bottom-text {
padding: 0 32px;
}
.bottom-text-title {
font-size: 23px;
line-height: 29px;
}
.bottom-text-description {
padding-top: 9px;
font-size: 16px;
}
2022-10-09 16:58:46 +00:00
}
@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