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

148 lines
2.2 KiB
CSS

*{
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{
display: flex;
justify-content: center;
width: 32.5vmin;
}
.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;
width: 36.2vmin;
padding: 1.9% 0 1.4%;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-images{
padding-bottom: 6%;
}
.top-card-image{
width: 10.4vmin;
}
.top-card-description{
max-width: 86%;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding: 0 7.4%;
}
.middle-images{
background: #E0E0E0;
}
.middle-images-wrapper{
display: flex;
justify-content: center;
gap: 2%;
position: relative;
bottom: -62px;
}
.middle-image{
width: 58.5vmin;
}
.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%;
}