challenge-landing-page-Henr.../style/style.css

205 lines
3.4 KiB
CSS
Raw Normal View History

2022-10-11 01:48:24 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.page-header{
display: flex;
align-items: center;
justify-content: center;
background: black;
}
.image-header{
display: block;
padding: 28px 0;
}
.main-banner{
display: block;
width: 100%;
}
@media screen and (max-width: 425px){
.banner-desktop{
display: none;
}
}
@media screen and (min-width: 426px){
.banner-mobile{
display: none;
}
2022-10-11 02:16:53 +00:00
}
.infocard{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
padding: 72px 0;
}
.infocard-subtitle{
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard-title{
font-weight: 500px;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.infocard-description{
font-size: 16px;
line-height: 24px;
max-width: 766px;
padding: 28px 0 0 0;
}
.infocard-image{
display: flex;
align-items: center;
justify-content: center;
2022-10-11 02:55:29 +00:00
}
2022-10-12 19:25:18 +00:00
@media screen and (max-width: 768px){
2022-10-11 02:55:29 +00:00
.infocard{
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.infocard-subtitle{
font-size: 20px;
line-height: 24px;
max-width: 62%;
}
.infocard-title{
font-size: 28px;
}
.infocard-description{
font-size: 16px;
line-height: 24px;
text-align: center;
2022-10-12 03:38:52 +00:00
max-width: 64%;
2022-10-11 02:55:29 +00:00
}
2022-10-11 15:59:55 +00:00
2022-10-11 02:55:29 +00:00
.infocard-image{
2022-10-11 15:59:55 +00:00
display: flex;
2022-10-11 02:55:29 +00:00
align-items: center;
justify-content: center;
2022-10-12 19:25:18 +00:00
max-width: 768px;
2022-10-11 15:59:55 +00:00
}
}
2022-10-12 19:25:18 +00:00
@media screen and (min-width:1440px){
.infocard-description{
font-size: 32px;
line-height: 48px;
text-align: center;
}
}
2022-10-11 15:59:55 +00:00
.cards-conteiner{
display: grid;
2022-10-12 03:11:19 +00:00
grid-template-columns: repeat(3, max-content);
justify-content: center;
2022-10-11 15:59:55 +00:00
gap: 20px;
2022-10-12 03:11:19 +00:00
padding: 180px 0 80px;
2022-10-12 19:25:18 +00:00
width: 100%;
2022-10-11 15:59:55 +00:00
}
.card{
display: flex;
flex-direction: column;
align-items: center;
2022-10-12 19:25:18 +00:00
justify-content: center;
2022-10-12 03:11:19 +00:00
padding: 26px 26px 34px;
2022-10-11 15:59:55 +00:00
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
2022-10-12 03:11:19 +00:00
.card-image{
2022-10-11 15:59:55 +00:00
display: block;
margin-bottom: 26px;
}
.card-text{
max-width: 300px;
2022-10-12 03:11:19 +00:00
font-size: 16px;
line-height: 24px;
text-align: center;
2022-10-12 03:38:52 +00:00
}
2022-10-12 15:48:18 +00:00
@media screen and (max-width: 1024px){
2022-10-12 03:38:52 +00:00
.cards-conteiner {
grid-template-columns: 1fr;
padding: 90px 30px 80px;
}
2022-10-12 15:48:18 +00:00
}
2022-10-12 19:25:18 +00:00
@media screen and (min-width: 1440px){
.card-text{
font-size: 32px;
line-height: 48px;
text-align: center;
}
}
2022-10-12 15:48:18 +00:00
.middle-conteiner {
display: grid;
2022-10-12 19:25:18 +00:00
width: 100%;
2022-10-12 15:48:18 +00:00
background: #E0E0E0;
2022-10-12 19:25:18 +00:00
margin-bottom: 129px;
2022-10-12 15:48:18 +00:00
}
2022-10-12 19:25:18 +00:00
.middle-images{
2022-10-12 15:48:18 +00:00
display: grid;
2022-10-12 19:25:18 +00:00
grid-template-columns: repeat(3, 1fr);
gap: 40px;
2022-10-12 15:48:18 +00:00
margin: 62px 72px -62px;
2022-10-12 19:25:18 +00:00
2022-10-12 15:48:18 +00:00
}
2022-10-12 19:25:18 +00:00
.middle-banner{
display: block;
2022-10-12 15:48:18 +00:00
width: 100%;
}
2022-10-12 19:25:18 +00:00
.bottom-card-conteiner{
display: grid;
grid-template-columns: repeat(4, 1fr);
justify-content: center;
gap: 16px;
margin: 0 72px;
}
.bottom-card{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 36px 26px 64px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
2022-10-12 15:48:18 +00:00
}
2022-10-12 19:25:18 +00:00
.b-card-image{
display: block;
padding: 36px 0 14px;
}
2022-10-12 15:48:18 +00:00
2022-10-12 19:25:18 +00:00
.b-card-text{
max-width: 367px;
font-size: 16px;
line-height: 24px;
text-align: center;
}