challenge-landing-page-Yan_.../assets/styles.css/main.css

374 lines
6.1 KiB
CSS
Raw Normal View History

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
text-align: center;
}
2022-10-09 23:58:09 +00:00
.page-header {
display: flex;
justify-content: center;
background: #000000;
padding: 29px 0;
2022-10-09 23:58:09 +00:00
}
.main-banner-row {
max-width: 100%;
}
.top-infocard {
display: flex;
justify-content: center;
2022-10-11 21:50:54 +00:00
padding: 3.80vw 0 0;
}
.top-infocard-text {
max-width: 776px;
line-height: 24px;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
line-height: 39px;
}
.top-infocard-title {
margin-bottom: 28px;
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
line-height: 58px;
}
.top-infocard-description {
font-size: 16px;
line-height: 28px;
text-align: justify;
}
2022-10-09 23:58:09 +00:00
.header-logo {
display: block;
}
.main-banner {
width: 100%;
display: block;
}
.top-infocard-image {
2022-10-11 21:50:54 +00:00
padding: 3.80vw 0 4.63vw 0;
width: 16.4vw;
align-items: center;
}
.top-card-image {
display: block;
2022-10-11 21:50:54 +00:00
margin-bottom: 1.40vw;
}
.top-cards {
background: #FFFFFF;
grid-template-columns: repeat(3, max-content);
2022-10-11 21:50:54 +00:00
padding: 3.125vw 0 4.166vw;
display: grid;
2022-10-11 21:50:54 +00:00
gap: 1.09vw;
justify-content: center;
}
.top-card {
flex-direction: column;
align-items: center;
display: flex;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
2022-10-10 23:28:41 +00:00
padding: 36px 1.3vw 26px;
}
.top-card-description {
2022-10-10 23:28:41 +00:00
max-width: 15.625vw;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.middle-banner {
width: 100%;
margin: auto;
background-color: #E0E0E0;
position: relative;
height: 27.6vw;
}
.middle-banner-group {
display: grid;
grid-template-columns: repeat(3, 1fr);
2022-10-10 23:28:41 +00:00
padding: 0 72px;
margin-bottom: 62px;
position: absolute;
2022-10-10 23:28:41 +00:00
top: 62px;
gap: 2.03125vw;
}
.middle-banner-item {
width: 100%;
}
.middle-banner-image {
max-width: 100%;
}
.bottom-card {
background: #FFFFFF;
grid-template-columns: repeat(4, 4fr);
display: grid;
gap: 0.83vw;
justify-content: center;
2022-10-11 20:17:11 +00:00
padding: 6.71875vw 0 0;
text-align: center;
margin: 0 3.75vw;
width: 92.5%;
}
.bottom-card-group {
flex-direction: column;
align-items: center;
display: flex;
background: #FFFFFF;
2022-10-11 20:17:11 +00:00
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
justify-items: center;
}
.bottom-card-image {
2022-10-11 20:17:11 +00:00
padding: 1.82vw;
}
.bottom-card-text {
font-size: 16px;
line-height: 24px;
width: 19vw;
padding: 0 0 65px;
}
2022-10-11 20:17:11 +00:00
.bottom-infocard {
display: flex;
margin: 5.625vw 0 2.604vw;
align-items: center;
justify-content: center;
}
.bottom-infocard-group {
width: 29%;
2022-10-11 20:17:11 +00:00
}
.bottom-infocard-tittle {
font-weight: 600;
font-size: 32px;
line-height: 39px;
margin-bottom: 2%;
2022-10-11 20:17:11 +00:00
}
.bottom-infocard-paragraph {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
2022-10-11 21:50:54 +00:00
.bottom-banner-image {
width: 100%;
padding: 2.6vw 14.583vw 6.04vw;
}
2022-10-11 23:11:43 +00:00
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
padding: 1.979vw 0;
background-color: #000000;
}
.footer-icons {
display: flex;
list-style: none;
padding-bottom: 26px;
}
.footer-icon {
margin: 0 8px;
}
.footer-text {
text-transform: uppercase;
line-height: 12px;
font-size: 10px;
color: #BDBDBD;
text-align: center;
}
.mobile {
display: none;
}
.bottom-banner-image-mobile {
display: none;
}
.bottom-infocard-mobile {
display: none;
}
@media screen and (max-width: 1025px) {
.desktop {
display: none;
}
.mobile {
display: flex;
}
.main-banner-desktop {
display: none;
}
.bottom-infocard-paragraph {
display: none;
}
.bottom-infocard {
display: none;
}
.top-infocard-text {
max-width: 357px;
margin: auto;
}
.top-infocard-title {
font-size: 28px;
margin-bottom: 12px;
line-height: 34px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
text-align: center;
}
.top-infocard-image {
padding: 64px 0 90px 0;
width: 239px;
}
.top-cards {
grid-template-columns: 1fr;
padding: 36px 26px;
gap: 5.79vw;
}
.top-card-image {
padding-bottom: 6.52vw;
}
.top-card-description {
max-width: 299px;
}
.middle-banner-group {
grid-template-columns: repeat(2, 1fr);
align-items: center;
top: 32px;
gap: 3.38vw;
padding: 32px 0 0;
position: static;
margin-bottom: 0;
max-width: 88%;
width: 100%;
}
.middle-banner {
/* height: 138.647vw; */
flex-direction: column;
align-items: center;
height: fit-content;
padding-bottom: 82.125vw;
}
.middle-banner-image {
width: 100%;
}
.middle-banner-item {
width: 100%;
margin: auto;
}
.img-full {
max-width: 88%;
position: absolute;
bottom: -32px;
}
.middle-banner-item:last-child img {
width: 100%;
}
.bottom-infocard-tittle {
font-size: 24px;
}
.bottom-card-group {
grid-template-columns: 1fr;
gap: 15px;
}
.bottom-card {
display: flex;
flex-direction: column;
margin-top: 19%;
}
.bottom-card-text {
width: 302px;
font-size: 14px;
padding: 0 0 16%;
}
.bottom-infocard-group {
width: 84%;
}
.bottom-banner-image-desktop {
display: none;
}
.bottom-banner-image-mobile {
padding: 0;
margin: 24% 0 12%;
}
}
@media screen and (min-width: 415px) {
.main-banner-mobile {
display: none;
}
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
.top-cards {
grid-template-columns: 1fr;
padding: 30px 28px;
}
}