challenge-landing-page/assets/styles/main.css

245 lines
3.9 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
.header-page{
background: #000000;
display: flex;
justify-content: center;
padding: 29px 0;
}
.header-link{
display: flex;
width: 12%;
justify-content: center;
}
.header-img{
width: 100%;
}
.top-banner{
width: 100%;
display: block;
}
.top-infocard{
display: flex;
align-items: center;
text-align: center;
justify-content: center;
flex-direction: column;
}
.top-infocard-text{
width: 40%;
padding: 72px 0;
}
.top-infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.top-infocard-image{
width: 17%;
padding: 0 0 178px;
}
.top-cards{
display: grid;
grid-template-columns: repeat(3, 18%);
gap: 20px;
justify-content: center;
padding: 0 0 80px;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 36px 26px 26px;
gap: 27px;
}
.top-card-image{
display: block;
width: 34%;
}
.top-card-description{
font-size: 16px;
line-height: 24px;
text-align: center;
}
.mid-banners{
background: #E0E0E0;
margin: 0 0 192px;
}
.mid-banner-wrapper{
display: grid;
grid-template-columns: repeat(3, 29%);
justify-content: center;
gap: 38px;
position: relative;
top: 62px;
}
.mid-banner-image{
width: 100%;
}
.bottom-cards{
display: grid;
grid-template-columns: repeat(4, 23%);
gap: 16px;
justify-content: center;
margin: 0 0 108px;
}
.bottom-card{
display: flex;
flex-direction: column;
align-items: center;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
gap: 15px;
padding: 36px 32px 65px;
}
.bottom-card-image{
display: block;
width: 24%;
height: 100%;
}
.bottom-card-description{
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-section{
display: flex;
align-items: center;
text-align: center;
justify-content: center;
flex-direction: column;
gap: 50px;
}
.bottom-section-text{
width: 29%;
text-align: center;
}
.bottom-section-text-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottom-section-text-description{
font-size: 16px;
line-height: 24px;
}
.bottom-section-image{
padding: 0 0 116px;
}
.bottom-section-image-desktop{
width: 71%;
}
.page-footer{
display: flex;
flex-direction: column;
align-items: center;
padding: 38px 0;
background: #000000;
}
.page-footer-content{
display: flex;
flex-direction: column;
width: 21%;
align-items: center;
}
.footer-icons{
display: flex;
list-style: none;
margin-bottom: 16px;
justify-content: center;
gap: 16px;
width: 100%;
}
.footer-link{
display: flex;
width: 6%;
}
.footer-text{
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (min-width: 2500px) {
.top-infocard-subtitle{
font-size: 64px;
line-height: 78px;
}
.top-infocard-title{
font-size: 96px;
line-height: 116px;
}
.bottom-section-text-title{
font-size: 64px;
line-height: 78px;
}
.top-infocard-description,
.top-card-description,
.bottom-card-description,
.bottom-section-text-description {
font-size: 32px;
line-height: 48px;
}
.footer-text{
font-size: 20px;
line-height: 24px;
}
}