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

256 lines
3.7 KiB
CSS
Raw Normal View History

2022-10-09 00:40:28 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
background: #000000;
2022-10-10 18:10:53 +00:00
padding: 28px 0;
justify-content: center;
display: flex;
2022-10-09 00:40:28 +00:00
}
.top-banner {
display: block;
}
.top-banner-image-desktop,
.top-banner-image-mobile {
width: 100%;
}
2022-10-11 02:11:12 +00:00
.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 {
border: #00c8ff 1px solid;
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;
2022-10-11 02:11:12 +00:00
display: flex;
flex-direction: column;
align-items: center;
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 (max-width: 414px) {
.top-banner-image-desktop {
display: none;
}
2022-10-11 02:11:12 +00:00
.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;
2022-10-11 02:11:12 +00:00
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;
}
2022-10-11 02:11:12 +00:00
}
@media screen and (min-width: 415px) and (max-width: 1200px){
.top-banner-image-mobile {
display: none;
}
2022-10-11 02:11:12 +00:00
.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;
2022-10-11 02:11:12 +00:00
}
}
2022-10-11 02:11:12 +00:00
@media screen and (min-width: 1024px) and (max-width: 2500px){
.top-banner-image-mobile {
display: none;
}
}