challenge-landing-page-affo.../_assets/css/main.css

326 lines
4.6 KiB
CSS
Raw Normal View History

2022-10-09 00:40:28 +00:00
* {
2022-10-11 04:56:05 +00:00
margin: 0;
padding: 0;
box-sizing: border-box;
2022-10-09 00:40:28 +00:00
}
body {
2022-10-11 04:56:05 +00:00
font-family: "Inter", sans-serif;
color: #000000;
2022-10-09 00:40:28 +00:00
}
.page-header {
2022-10-11 04:56:05 +00:00
background: #000000;
padding: 28px 0;
justify-content: center;
display: flex;
}
.top-banner {
2022-10-11 04:56:05 +00:00
display: block;
}
.top-banner-image-desktop,
.top-banner-image-mobile {
2022-10-11 04:56:05 +00:00
width: 100%;
}
2022-10-11 02:11:12 +00:00
.infocard {
2022-10-11 04:56:05 +00:00
margin: 73px 25%;
justify-content: center;
2022-10-11 02:11:12 +00:00
}
.infocard-title {
2022-10-11 04:56:05 +00:00
text-align: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
2022-10-11 02:11:12 +00:00
.infocard-subtitle {
2022-10-11 04:56:05 +00:00
text-align: center;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
2022-10-11 02:11:12 +00:00
.infocard-description {
2022-10-11 04:56:05 +00:00
margin-top: 0 8%;
padding-top: 28px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
2022-10-11 02:11:12 +00:00
}
.pc-icon {
2022-10-11 04:56:05 +00:00
display: flex;
flex-direction: column;
align-items: center;
margin-top: 73px;
2022-10-11 02:11:12 +00:00
}
.pc-icon-image {
2022-10-11 04:56:05 +00:00
width: 315px;
}
2022-10-11 02:11:12 +00:00
.cards-wrapper {
2022-10-11 04:56:05 +00:00
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 21px;
justify-content: center;
padding-top: 179px;
padding-bottom: 74px;
text-align: center;
2022-10-11 02:11:12 +00:00
}
.card {
2022-10-11 04:56:05 +00:00
max-width: 350px;
display: flex;
flex-direction: column;
align-items: center;
padding: 0 26px 28px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
2022-10-11 02:11:12 +00:00
}
.card-image {
2022-10-11 04:56:05 +00:00
margin-top: 35px;
margin-bottom: 15px;
}
2022-10-11 02:11:12 +00:00
.card-description {
2022-10-11 04:56:05 +00:00
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
2022-10-11 02:11:12 +00:00
}
.fig-container {
background-color: #E0E0E0;
max-height: 530px;
}
2022-10-11 02:11:12 +00:00
.fig-wrapper {
max-height: 530px;
display: flex;
justify-content: center;
align-items: center;
gap: 39px;
padding: 0;
}
.fig-image {
max-width: 566px;
width: 29%;
}
.cards-wrapper2 {
2022-10-11 04:56:05 +00:00
gap: 16px;
justify-content: center;
text-align: center;
margin: 179px 72px 74px 72px;
display: flex;
}
.card2 {
2022-10-11 04:56:05 +00:00
flex-direction: column;
align-items: center;
padding: 0 26px 28px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-image2 {
2022-10-11 04:56:05 +00:00
margin-top: 35px;
margin-bottom: 15px;
}
.card-description2 {
2022-10-11 04:56:05 +00:00
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
.article {
margin-top: 108px;
}
.article-title {
2022-10-11 04:56:05 +00:00
text-align: center;
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.article-description {
max-width: 550px;
2022-10-11 04:56:05 +00:00
text-align: center;
font-size: 16px;
line-height: 24px;
margin: 0 auto 50px auto;
2022-10-11 04:56:05 +00:00
}
.bottom-banner {
display: flex;
align-items: center;
justify-content: center;
}
.bottom-banner-desktop {
max-width: 1360px;
width: 71%;
2022-10-11 04:56:05 +00:00
}
.page-footer {
margin-top: 116px;
2022-10-11 04:56:05 +00:00
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
2022-10-11 04:56:05 +00:00
}
.page-footer-icon {
margin-top: 38px;
2022-10-11 04:56:05 +00:00
display: flex;
list-style: none;
}
2022-10-11 02:11:12 +00:00
2022-10-11 04:56:05 +00:00
.footer-text {
color: #ffffff;
text-align: center;
margin: 17px 0 38px;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
2022-10-11 04:56:05 +00:00
}
2022-10-11 02:11:12 +00:00
/* Tablet e Mobile - 280px to 1024px */
@media only screen
and (min-device-width: 280px)
and (max-device-width: 1024px) {
.top-banner-image-desktop {
2022-10-11 04:56:05 +00:00
display: none;
}
2022-10-11 04:56:05 +00:00
.infocard {
margin: 73px 6%;
}
2022-10-11 04:56:05 +00:00
.infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.infocard-title {
font-size: 28px;
line-height: 34px;
}
.infocard-description {
padding-top: 19px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
2022-10-11 04:56:05 +00:00
.pc-icon {
margin-top: 65px 0 91px;
}
2022-10-11 04:56:05 +00:00
.pc-icon-image {
width: 58%;
}
2022-10-11 04:56:05 +00:00
.cards-wrapper {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 91px;
padding-bottom: 80px;
}
.card {
padding: 35px 26px 28px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
.imageblock-wrapper {
background-color: #e0e0e0;
display: flex;
flex-direction: column;
align-items: center;
}
.imageblock-image {
align-items: center;
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.image2 .image1 {
grid-row: span 2;
width: 43%;
}
};
2022-10-11 02:11:12 +00:00
2022-10-11 04:56:05 +00:00
2022-10-11 02:11:12 +00:00
/* Desktop - 1025px to 2500px */
@media only screen
and (min-device-width: 1025px)
and (max-device-width: 2500px) {
.top-banner-image-mobile,
.bottom-banner-mobile {
display: none;
}
};
2022-10-11 02:11:12 +00:00
/* Desktop 4k - 2501px above */
@media only screen
and (min-device-width: 2501px) {
.top-banner-image-mobile,
.bottom-banner-mobile {
display: none;
}
};