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

345 lines
5.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.body{
font-family: 'Inter', sans-serif;
color: black;
}
.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;
}
}
.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;
}
@media screen and (max-width: 768px){
.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;
max-width: 64%;
}
.infocard-image{
display: flex;
align-items: center;
justify-content: center;
max-width: 768px;
}
}
@media screen and (min-width:1440px){
.infocard-description{
font-size: 200%;
line-height: 200%;
text-align: center;
}
}
.cards-conteiner{
display: grid;
grid-template-columns: repeat(3, max-content);
justify-content: center;
gap: 20px;
padding: 180px 0 80px;
width: 100%;
}
.card{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 26px 26px 34px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-image{
display: block;
margin-bottom: 26px;
}
.card-text{
max-width: 300px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (max-width: 1024px){
.cards-conteiner {
grid-template-columns: 1fr;
padding: 90px 30px 80px;
}
}
@media screen and (min-width: 1440px){
.card-text{
font-size: 200%;
line-height: 200%;
text-align: center;
}
}
.middle-conteiner {
display: grid;
width: 100%;
background: #E0E0E0;
margin-bottom: 129px;
}
.middle-images{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 40px;
margin: 62px 72px -62px;
}
.middle-banner{
display: block;
width: 100%;
}
@media screen and (max-width: 768px){
.middle-images{
display: flex;
flex-direction: column;
}
}
.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);
}
.b-card-image{
display: block;
padding: 36px 0 16px;
}
.b-card-text{
max-width: 367px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
@media screen and (max-width: 768px){
.bottom-card-conteiner {
display: flex;
flex-direction: column;
margin: 0 24px;
}
}
@media screen and (min-width: 1440px){
.bottom-card{
width: 100%;
}
.b-card-text{
max-width: 367px;
font-size: 200%;
line-height: 200%;
text-align: center;
}
}
.bottom-conteiner{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin: 108px 0 116px;
}
.bottom-subtitle{
font-weight: 600;
font-size: 32px;
line-height: 39px;
text-align: center
}
.bottom-text{
font-size: 16px;
line-height: 24px;
text-align: center;
width: 550px;
padding-bottom: 50px;
}
.banner-bottom{
display: block;
width: 100%;
}
@media screen and (max-width: 768px){
.bottom-desktop{
display: none;
}
.bottom-conteiner{
display: flex;
flex-direction: column-reverse;
}
.bottom-content{
display: flex;
flex-direction: column;
padding: 50px 0 215px
}
.bottom-text{
width: 100%;
padding-top: 10px;
}
}
@media screen and (min-width: 769px){
.bottom-mobile{
display: none;
}
}
@media screen and (min-width: 1440px){
.bottom-text{
font-size: 200%;
line-height: 200%;
text-align: center;
}
}
.page-footer{
display: flex;
flex-direction: column;
align-items: center;
background: black;
}
.footer-content{
display: grid;
gap: 16px;
padding: 40px 0 24px;
}
.footer-image{
display: block;
padding: 40px 0 12px;
}
.logo-footer{
padding: 0 6px;
}
.text-footer{
font-size: 10px;
line-height: 12px;
padding-bottom: 24px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width:768px){
.text-footer{
max-width: 298px;
text-align: center;
}
}
@media screen and (min-width: 1440px){
.text-footer{
font-size: 200%;
line-height: 200%;
}
}