challenge-landing-page/Styles/index.css

254 lines
4.2 KiB
CSS

*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif
}
.page-header{
display: flex;
justify-content: center;
padding: 29px 0;
background-color: #000000;
}
.banner-principal{
width: 100%;
}
.banner-principal-mobile,
.infocard-image-mobile,
.banner-bottom-mobile{
display: none;
}
.text-infocard{
display: flex;
flex-direction: column;
padding: 73px 0;
align-items: center;
text-align: center;
}
.infocard-subtitle{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.infocard-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
margin-bottom: 20px;
text-transform: uppercase;
}
.infocard-description{
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 150px 80px;
gap: 26px;
}
.top-card{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 100%;
max-width: 350px;
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;
}
.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;
}
.bottom-cards{
display: flex;
justify-content: center;
padding: 178px 30px 108px;
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%;
padding: 0 0 50px;
}
.bottom-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottom-infocard img{
justify-content: center;
width: 70%;
}
@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%;
}
.bottom-infocard img{
width: 100%;
}
}
@media screen and (max-width: 768px){
.infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
.infocard-title{
font-size: 28px;
line-height: 34px;
}
.infocard-description{
width: 100%;
padding: 0 40px;
}
.top-cards{
flex-direction: column;
align-items: center;
padding: 90px 32px 80px;
}
.bottom-cards{
flex-direction: column;
align-items: center;
padding: 112px 23px 98px;
}
.bottom-card{
max-width: 350px;
}
.bottom-infocard{
flex-direction: column-reverse;
}
.text-bottom-infocard{
padding: 50px 0 87px;
}
.banner-bottom-desktop{
display: none;
}
.banner-bottom-mobile{
display: unset;
}
}
@media screen and (min-width: 2000px){
.infocard-subtitle,
.bottom-infocard-title{
font-size: 40px;
}
.infocard-title{
font-size: 56px;
}
.infocard-description,
.card-description{
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{
padding: 200px 250px 80px;
}
.top-card{
max-width: 450px;
height: 350px;
padding: 40px;
gap: 40px;
}
.bottom-cards{
padding: 178px 72px 80px;
}
.bottom-card{
padding: 40px;
gap: 40px;
}
}