forked from M3-Academy/challenge-landing-page
423 lines
6.8 KiB
CSS
423 lines
6.8 KiB
CSS
* {
|
|
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;
|
|
padding: 28px 0;
|
|
background-color: #000000;
|
|
}
|
|
|
|
.page-header-logo {
|
|
width: 100%;
|
|
height: 43px;
|
|
display: block;
|
|
}
|
|
|
|
.main-banner {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.top-infocard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
padding: 73px 0;
|
|
}
|
|
|
|
.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 {
|
|
width: 315px;
|
|
margin-top: 73px;
|
|
}
|
|
|
|
/**/
|
|
|
|
.top-cards {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 40px;
|
|
padding: 74px 0;
|
|
}
|
|
|
|
.top-card{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 26px 26px 34px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.top-card-image {
|
|
display: block;
|
|
margin-bottom: 26px;
|
|
}
|
|
|
|
.top-card-description {
|
|
max-width: 300px;
|
|
text-align: center;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
.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;
|
|
max-width: 550px;
|
|
color: #000000;
|
|
}
|
|
|
|
.bottom-text-image {
|
|
display: block;
|
|
}
|
|
|
|
.page-footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 38px 0;
|
|
background: #000000;
|
|
}
|
|
|
|
.bottom-text-image {
|
|
width: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.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) {
|
|
.main-banner-desktop,
|
|
.top-card-image-desktop,
|
|
.image-middle-desktop,
|
|
.bottom-text-image-desktop {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 415px) {
|
|
.main-banner-mobile,
|
|
.top-card-image-mobile,
|
|
.image-image-mobile,
|
|
.bottom-text-image-mobile {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media screen and (max-width: 768px) {
|
|
.top-infocard {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.top-cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 90px 26px;
|
|
}
|
|
|
|
.middle-images {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 15px;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
|
|
}
|
|
|
|
@media screen and (max-width: 992px) {
|
|
.top-infocard{
|
|
display: flex;
|
|
text-align: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
padding: 73px 28px 65px;
|
|
}
|
|
|
|
.top-infocard-text {
|
|
max-width: 357px;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.top-infocard-description {
|
|
line-height: 24px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.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;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
@media screen and (min-width: 769px) and (max-width: 992px) {
|
|
.top-infocard, .top-cards {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.bottom-text-image {
|
|
width: 100%;
|
|
}
|
|
|
|
.top-cards {
|
|
padding: 0 10px;
|
|
gap: 21px;
|
|
}
|
|
|
|
.middle-images {
|
|
gap: 39px;
|
|
padding: 0 72px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width:993px) and (max-width: 1280px) {
|
|
.top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1281px) and (max-width: 1440px) {
|
|
.top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 2000px) and (max-width: 3799px) {
|
|
.top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
font-size: 3em;
|
|
}
|
|
|
|
.top-infocard-description {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.top-card-description {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.bottom-middle-description {
|
|
font-size: 1.2em;
|
|
}
|
|
|
|
.bottom-text-title {
|
|
font-size: 3em;
|
|
}
|
|
|
|
.bottom-text-description {
|
|
font-size: 1.2em;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.footer-text {
|
|
font-size: 1em;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 3799px) and (max-width: 4000px) {
|
|
.top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|