challenge-landing-page/Styles/index.css

231 lines
3.8 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;
2022-10-13 14:49:34 +00:00
padding: 178px 150px 80px;
gap: 26px;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
max-width: 350px;
2022-10-13 14:49:34 +00:00
padding: 30px;
gap: 30px;
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;
}
2022-10-13 14:49:34 +00:00
.bottom-cards{
display: flex;
justify-content: center;
padding: 178px 30px 108px;
2022-10-13 14:49:34 +00:00
gap: 16px;
}
.bottom-card{
display: flex;
flex-direction: column;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
padding: 30px;
gap: 30px;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-infocard{
display: flex;
flex-direction: column;
align-items: center;
}
.text-bottom-infocard {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 80%;
}
2022-10-13 14:49:34 +00:00
.text-bottom-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
@media screen and (max-width: 414px){
.banner-principal-desktop,
.infocard-image-desktop{
display: none;
}
.banner-principal-mobile,
.infocard-image-mobile{
display: unset;
}
.text-bottom-infocard{
width: 100%;
}
}
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;
}
2022-10-13 14:49:34 +00:00
.bottom-cards{
flex-direction: column;
align-items: center;
padding: 112px 23px 98px;
}
.bottom-card{
max-width: 350px;
}
}
@media screen and (min-width: 2000px){
.infocard-subtitle{
font-size: 40px;
}
.infocard-title{
font-size: 56px;
}
.infocard-description,
.card-description{
2022-10-13 14:49:34 +00:00
font-size: 25px;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
}
.infocard-image{
width: 100%;
max-width: 400px;
align-items: unset;
}
.top-cards{
2022-10-13 14:49:34 +00:00
padding: 200px 250px 80px;
}
.top-card{
max-width: 450px;
2022-10-13 14:49:34 +00:00
height: 350px;
padding: 40px;
gap: 40px;
}
.bottom-cards{
padding: 178px 72px 80px;
}
.bottom-card{
padding: 40px;
gap: 40px;
}
2022-10-10 23:40:11 +00:00
}