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

379 lines
5.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "Inter", sans-serif;
color: #000000;
}
.page-header {
background: #000000;
padding: 28px 0;
justify-content: center;
display: flex;
}
.top-banner {
display: block;
}
.top-banner-image-desktop,
.top-banner-image-mobile {
width: 100%;
}
.infocard {
margin: 73px 25%;
justify-content: center;
}
.infocard-title {
text-align: center;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.infocard-subtitle {
text-align: center;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard-description {
margin-top: 0 8%;
padding-top: 28px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.pc-icon {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 73px;
}
.pc-icon-image {
width: 315px;
}
.cards-wrapper {
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 21px;
justify-content: center;
padding-top: 179px;
padding-bottom: 74px;
text-align: center;
}
.card {
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-image {
margin-top: 35px;
margin-bottom: 15px;
}
.card-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
.fig-container {
background-color: #00c8ff;
display: block;
margin: auto;
}
.fig-wrapper {
}
.fig-image {
width: 29%;
}
.cards-wrapper2 {
display: grid;
grid-template-columns: repeat(4, max-content);
gap: 16px;
justify-content: center;
padding-top: 179px;
padding-bottom: 74px;
text-align: center;
}
.card2 {
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 {
margin-top: 35px;
margin-bottom: 15px;
}
.card-description2 {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 27px;
}
.article {
border: #00c8ff 1px solid;
margin-top: 108px;
}
.article-title {
text-align: center;
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.article-description {
justify-content: center;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
max-width: 550px;
margin-bottom: 50px;
}
.bottom-banner {
display: flex;
flex-direction: column;
align-items: center;
}
.bottom-banner-image-desktop,
.bottom-banner-image-mobile {
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;
}
.footer-text {
color: #ffffff;
text-align: center;
padding-bottom: 38px;
}
@media screen and (max-width: 414px) {
.top-banner-image-desktop,
.bottom-banner-desktop {
display: none;
}
.infocard {
margin: 73px 6%;
}
.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;
}
.pc-icon-image {
width: 58%;
}
.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%;
}
}
@media screen and (min-width: 415px) and (max-width: 1200px) {
.top-banner-image-mobile,
.bottom-banner-mobile {
display: none;
}
.infocard {
margin: 73px 6%;
}
.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;
}
.pc-icon-image {
width: 58%;
}
.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;
}
}
@media screen and (min-width: 1024px) and (max-width: 2500px) {
.top-banner-image-mobile,
.bottom-banner-mobile {
display: none;
}
}