challenge-landing-page/Styles/index.css

367 lines
6.0 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);
}
.banners-midle{
display: flex;
padding: 0 72px;
gap: 4.3%;
justify-content: center;
background: #E0E0E0;
}
.banners-midle img{
position: relative;
top: 35px;
gap: 20px;
}
.banner-midle{
display: flex;
gap: 3.4%;
}
.banner-midle img{
max-width: 50%;
}
.banner-midle-third{
gap: 39px;
width: 32%;
}
.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%;
padding: 0 0 116px;
}
.page-footer{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 128px;
gap: 16px;
background-color: #000000;
}
.page-footer p{
font-weight: 400;
font-size: 10px;
line-height: 12px;
width: 65%;
text-align: center;
text-transform: uppercase;
color: #BDBDBD;
}
@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-title{
font-size: 24px;
}
.bottom-infocard img{
width: 100%;
}
.page-footer p{
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;
}
.banners-midle{
display: flex;
flex-direction: column;
padding: 0 23px;
gap: 24px;
}
.banners-midle img{
position: relative;
top: 32px;
}
.banner-midle{
display: flex;
flex-direction: row-reverse;
gap: 14px;
justify-content: center;
}
.banner-midle img{
width: 48%;
}
.banner-midle-third{
gap: 24px;
width: 100%;
}
.bottom-cards{
flex-direction: column;
align-items: center;
padding: 112px 23px 98px;
}
.bottom-card{
max-width: 350px;
}
.bottom-infocard{
flex-direction: column-reverse;
}
.bottom-infocard img{
padding: unset;
}
.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;
}
.banner-midle{
gap: 50px;
}
.banners-midle{
gap: 50px;
}
.banners-midle img{
max-width: 566px;
}
.page-footer p{
font-size: 15px;
}
}
@media screen and (min-width: 3000px){
.infocard-subtitle,
.bottom-infocard-title{
font-size: 55px;
}
.infocard-title{
font-size: 67px;
}
.infocard-description,
.card-description{
font-size: 36px;
}
.infocard-description,
.infocard-subtitle{
line-height: 50px;
}
.top-card{
max-width: 20%;
height: 500px;
padding: 60px;
gap: 90px;
}
.bottom-card{
max-width: 100%;
height: 580px;
padding: 60px;
gap: 50px;
}
}