challenge-landing-page/Styles/index.css

173 lines
2.7 KiB
CSS
Raw Normal View History

2022-10-10 15:12:02 +00:00
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
2022-10-10 23:40:11 +00:00
body{
font-family: 'Inter', sans-serif
}
2022-10-10 15:12:02 +00:00
.page-header{
display: flex;
justify-content: center;
padding: 29px 0;
background-color: #000000;
}
.banner-principal{
width: 100%;
}
.banner-principal-mobile,
.infocard-image-mobile{
display: none;
}
2022-10-10 23:40:11 +00:00
.text-infocard{
display: flex;
flex-direction: column;
padding: 73px 0;
align-items: center;
text-align: center;
}
.infocard-subtitle{
2022-10-10 23:40:11 +00:00
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard-title{
2022-10-10 23:40:11 +00:00
font-weight: 500;
font-size: 48px;
line-height: 58px;
margin-bottom: 20px;
text-transform: uppercase;
}
.infocard-description{
2022-10-10 23:40:11 +00:00
font-weight: 400;
font-size: 16px;
line-height: 24px;
width: 38%;
}
.infocard-image{
display: flex;
flex-direction: column;
align-items: center;
}
.top-cards{
display: flex;
justify-content: center;
padding: 178px 32px 80px;
gap: 26px;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
max-width: 350px;
padding: 40px;
gap: 40px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-icon{
width: 100%;
height: 100%;
max-width: 103px;
max-height: 104px;
}
2022-10-13 13:09:58 +00:00
.banner-midle-back{
background: #E0E0E0;
padding: 0 72px;
}
.banners-midle{
display: flex;
gap: 39px;
}
.banners-midle img{
position: relative;
top: 62px;
}
.banner-midle{
display: flex;
gap: 39px;
}
@media screen and (max-width: 414px){
.banner-principal-desktop,
.infocard-image-desktop{
display: none;
}
.banner-principal-mobile,
.infocard-image-mobile{
display: unset;
}
2022-10-13 13:09:58 +00:00
}
2022-10-10 23:40:11 +00:00
@media screen and (max-width: 768px){
2022-10-13 13:09:58 +00:00
.infocard-subtitle{
2022-10-10 23:40:11 +00:00
font-size: 20px;
line-height: 24px;
}
2022-10-13 13:09:58 +00:00
.infocard-title{
2022-10-10 23:40:11 +00:00
font-size: 28px;
line-height: 34px;
}
2022-10-13 13:09:58 +00:00
.infocard-description{
2022-10-10 23:40:11 +00:00
width: 100%;
2022-10-13 13:09:58 +00:00
padding: 0 40px;
2022-10-10 23:40:11 +00:00
}
.top-cards{
flex-direction: column;
align-items: center;
padding: 90px 32px 80px;
}
}
@media screen and (min-width: 2000px){
.infocard-subtitle{
font-size: 40px;
}
.infocard-title{
font-size: 56px;
}
.infocard-description,
.card-description{
font-size: 30px;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
}
.infocard-image{
width: 100%;
max-width: 400px;
align-items: unset;
}
.top-cards{
padding: 200px 300px 80px;
}
.top-card{
max-width: 450px;
height: 400px;
}
2022-10-10 23:40:11 +00:00
}