challenge-landing-page/Styles/index.css

367 lines
6.0 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,
.banner-bottom-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);
}
2022-10-13 13:09:58 +00:00
.banners-midle{
display: flex;
padding: 0 72px;
gap: 4.3%;
justify-content: center;
background: #E0E0E0;
2022-10-13 13:09:58 +00:00
}
.banners-midle img{
position: relative;
top: 35px;
gap: 20px;
2022-10-13 13:09:58 +00:00
}
.banner-midle{
display: flex;
gap: 3.4%;
}
.banner-midle img{
max-width: 50%;
}
.banner-midle-third{
2022-10-13 13:09:58 +00:00
gap: 39px;
width: 32%;
2022-10-13 13:09:58 +00:00
}
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%;
padding: 0 0 50px;
}
.bottom-infocard-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottom-infocard img{
justify-content: center;
width: 70%;
2022-10-13 16:47:24 +00:00
padding: 0 0 116px;
}
2022-10-13 16:47:24 +00:00
.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%;
}
2022-10-13 16:47:24 +00:00
.bottom-infocard-title{
font-size: 24px;
}
.bottom-infocard img{
width: 100%;
}
.page-footer p{
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;
}
.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%;
}
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;
}
.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{
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;
}
2022-10-13 14:49:34 +00:00
.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;
}
2022-10-10 23:40:11 +00:00
}
@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;
}
}