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

306 lines
5.0 KiB
CSS
Raw Normal View History

2022-10-10 21:04:50 +00:00
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header{
display: flex;
justify-content: center;
padding: 28px 0;
background: #000000;
}
.header-logo{
display: block;
}
.main-banner{
width: 100%;
display: block;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
padding: 3.8% 0 9.4%;
}
.top-infocard-text{
max-width: 40.4%;
}
.top-infocard-subtitle{
font-size: 32px;
font-weight: 400;
text-align: center;
text-transform: uppercase;
}
.top-infocard-title{
font-size: 48px;
font-weight: 500;
text-align: center;
margin-bottom: 3.6%;
text-transform: uppercase;
}
.top-infocard-description{
font-weight: 400;
font-size: 16px;
margin-bottom: 9.4%;
line-height: 24px;
}
.top-infocard-image{
2022-10-10 23:54:47 +00:00
display: flex;
justify-content: center;
width: 32.5vmin;
2022-10-10 21:04:50 +00:00
}
2022-10-10 22:12:17 +00:00
.top-cards{
display: flex;
justify-content: center;
gap: 1.2%;
padding: 0 0 4.2%;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
2022-10-10 23:54:47 +00:00
width: 36.2vmin;
2022-10-10 22:12:17 +00:00
padding: 1.9% 0 1.4%;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-images{
2022-10-11 01:00:45 +00:00
padding-bottom: 6%;
2022-10-10 22:12:17 +00:00
}
2022-10-10 23:54:47 +00:00
.top-card-image{
width: 10.4vmin;
}
2022-10-10 22:12:17 +00:00
.top-card-description{
max-width: 86%;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding: 0 7.4%;
}
.middle-images-section{
width: 100%;
2022-10-10 23:54:47 +00:00
background: #E0E0E0;
2022-10-10 21:04:50 +00:00
}
2022-10-10 23:54:47 +00:00
.middle-images-wrapper{
display: flex;
justify-content: center;
position: relative;
bottom: -62px;
2022-10-10 21:04:50 +00:00
}
.middle-images{
display: flex;
width: 90%;
justify-content: center;
gap: 2%;
}
2022-10-10 23:54:47 +00:00
.middle-image{
width: 33.3%;
display: block;
2022-10-11 01:00:45 +00:00
}
.bottom-cards{
padding: 10.1% 0 5.7% 0;
display: flex;
justify-content: center;
gap: 1%;
}
.bottom-card{
display: flex;
flex-direction: column;
width: 44.6vmin;
align-items: center;
padding: 1.57% 0 2%;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-images{
padding-bottom: 3.25%;
}
.bottom-card-image{
width: 10.8vmin;
}
.bottom-card-description{
margin: 0 7.4%;
font-size: 16px;
line-height: 24px;
text-align: center;
width: 85%;
}
.bottom-infocard{
display: flex;
flex-direction: column;
align-items: center;
}
.bottom-infocard-text{
text-align: center;
margin-bottom: 2.65%;
width: 29%;
}
.bottom-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottom-infocard-description{
font-size: 16px;
line-height: 24px;
}
.bottom-infocard-images{
display: flex;
justify-content: center;
width: 100%;
margin-bottom: 6.1%;
}
.bottom-infocard-image{
width: 75%;
display: block;
}
.page-footer{
display: flex;
flex-direction: column;
align-items: center;
padding: 2% 0;
background: #000000;
}
.footer-icons{
display: flex;
list-style-type: none;
align-items: center;
margin-bottom: 1%;
}
.footer-icon{
margin: 0 8px;
}
.footer-icon-image{
width: 2.48vmin;
}
.footer-description{
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width: 1024px){
.main-banner-desktop{
display: none;
}
.top-infocard-subtitle{
font-size: 20px;
}
.top-infocard-title{
font-size: 28px;
}
.top-infocard{
padding-top: 18.12%;
}
.top-infocard-description{
font-size: 16px;
text-align: center;
margin-bottom: 18.2%;
}
.top-infocard-text{
max-width: 86.25%;
}
.top-infocard-image{
width: 57.75vmin;
margin-bottom: 21.4%;
}
.top-cards{
flex-direction: column;
align-items: center;
}
.top-card{
width: 84.6%;
margin-bottom: 5.8%;
}
.top-card-images{
padding-bottom: 6.58%;
}
.top-card-image{
width: 102px;
padding-top: 36%;
}
.top-card-description{
width: 85.5%;
margin-bottom: 7.7%;
}
}
@media screen and (min-width: 1025px){
.main-banner-mobile{
display: none;
}
}
@media screen and (min-width: 2500px){
.top-infocard-subtitle{
font-size: 64px;
line-height: 78px;
}
.top-infocard-title{
font-size: 48px;
line-height: 58px;
}
.top-infocard-description{
font-size: 32px;
line-height: 48px;
}
.top-card-description{
font-size: 32px;
line-height: 48px;
}
.bottom-card-description{
font-size: 32px;
line-height: 48px;
}
.bottom-infocard-title{
font-size: 64px;
line-height: 78px;
}
.bottom-infocard-description{
font-size: 32px;
line-height: 48px;
}
.footer-description{
font-size: 20px;
line-height: 24px;
}
}