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

375 lines
5.4 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
}
.imageblock-wrapper {
2022-10-11 04:56:05 +00:00
border: #00c8ff 1px solid;
background-color: #e0e0e0;
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 39px;
justify-content: center;
}
2022-10-11 02:11:12 +00:00
.imageblock-image {
2022-10-11 04:56:05 +00:00
border: #00c8ff 1px solid;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
position: relative;
bottom: -62px;
}
.cards-wrapper2 {
2022-10-11 04:56:05 +00:00
display: grid;
grid-template-columns: repeat(4, max-content);
gap: 16px;
justify-content: center;
padding-top: 179px;
padding-bottom: 74px;
text-align: center;
}
.card2 {
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);
}
.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 {
2022-10-11 04:56:05 +00:00
border: #00c8ff 1px solid;
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 {
2022-10-11 04:56:05 +00:00
justify-content: center;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
max-width: 550px;
margin-bottom: 50px;
}
.bottom-banner {
2022-10-11 04:56:05 +00:00
display: flex;
flex-direction: column;
align-items: center;
}
.bottom-banner-image-desktop,
.bottom-banner-image-mobile {
2022-10-11 04:56:05 +00:00
width: 100%;
}
.page-footer {
margin-top: 106px;
display: flex;
flex-direction: column;
align-items: center;
background: #000000;
padding: 38px 0;
}
.page-footer-icon {
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;
padding-bottom: 38px;
}
2022-10-11 02:11:12 +00:00
@media screen and (max-width: 414px) {
2022-10-11 04:56:05 +00:00
.top-banner-image-desktop,
.bottom-banner-desktop {
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
@media screen and (min-width: 415px) and (max-width: 1200px) {
.top-banner-image-mobile,
.bottom-banner-mobile {
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;
}
.pc-icon {
margin-top: 65px 0 91px;
}
2022-10-11 02:11:12 +00:00
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;
}
2022-10-11 04:56:05 +00:00
.card {
padding: 35px 26px 28px;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
2022-10-11 04:56:05 +00:00
.card-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
}
2022-10-11 02:11:12 +00:00
2022-10-11 04:56:05 +00:00
@media screen and (min-width: 1024px) and (max-width: 2500px) {
.top-banner-image-mobile,
.bottom-banner-mobile {
display: none;
}
}