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

193 lines
2.9 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 {
border: #00c8ff 1px solid;
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 {
border: #00c8ff 1px solid;
display: flex;
flex-direction: column;
align-items: center;
margin-top: 73px;
}
.pc-icon-image {
border: #00c8ff 1px solid;
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 {
width: 350px;
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;
}
.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 {
border: #00c8ff 1px solid;
width: 58%;
}
}
@media screen and (min-width: 415px) and (max-width: 1024px){
.top-banner-image-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;
margin-bottom: 91px;
}
}
@media screen and (min-width: 1024px) and (max-width: 2500px){
.top-banner-image-mobile {
display: none;
}
}