challenge-landing-page-Yan_.../assets/styles.css/main.css
2022-10-13 03:48:17 -03:00

367 lines
5.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
text-align: center;
}
.page-header {
display: flex;
justify-content: center;
background: #000000;
padding: 29px 0;
}
.main-banner-row {
max-width: 100%;
}
.top-infocard {
display: flex;
justify-content: center;
padding: 4% 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;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
display: block;
}
.top-infocard-image {
padding: 4% 0 5% 0;
width: 16.5vw;
align-items: center;
}
.top-card-image {
display: block;
margin-bottom: 1.40vw;
}
.top-cards {
background: #FFFFFF;
grid-template-columns: repeat(3, max-content);
padding: 7% 4% 6%;
display: grid;
gap: 48px;
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);
padding: 36px 1.3vw 26px;
}
.top-card-description {
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);
padding: 0 72px;
margin-bottom: 62px;
position: absolute;
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: 16px;
justify-content: center;
text-align: center;
margin: 0 4%;
max-width: 92.5%;
padding-top: 7%;
}
.bottom-card-group {
flex-direction: column;
align-items: center;
display: flex;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
padding-top: 8% ;
}
.bottom-card-text {
font-size: 14px;
line-height: 24px;
padding: 1% 2% 4%;
}
.bottom-infocard-desktop {
margin: 6% 36% 3%;
}
.bottom-infocard-tittle {
font-weight: 600;
font-size: 32px;
line-height: 39px;
margin-bottom: 2%;
}
.bottom-infocard-paragraph {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottom-banner-image {
width: 100%;
padding: 3% 15% 6%;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
padding: 2% 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;
color: #BDBDBD;
text-align: center;
}
.mobile {
display: none;
}
@media screen and (max-width: 1025px) {
.desktop {
display: none;
}
.mobile {
display: flex;
}
.bottom-banner-image-desktop {
display: none;
}
.main-banner-desktop {
display: none;
}
.bottom-infocard-desktop {
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;
margin-top: 18%;
}
.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: 0 32px 112px;
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;
}
.bottom-card {
display: flex;
flex-direction: column;
gap: 15px;
padding: 19% 0 24%;
}
.bottom-card-text {
font-size: 14px;
}
.bottom-banner-image-mobile {
padding: 0;
}
.bottom-infocard-group {
margin: 12% 4% 21%;
}
.bottom-infocard-mobile {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.page-footer {
padding: 20px 0;
font-size: 12px;
}
}
@media screen and (min-width: 1026px) {
.main-banner-mobile {
display: none;
}
.bottom-banner-image-mobile {
display: none;
}
.bottom-infocard-mobile {
display: none;
}
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
}