challenge-landing-page/style.css

460 lines
6.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
*{
margin: 0;
padding: 0;
font-family: 'Inter', sans-serif;
}
body html{
box-sizing: border-box;
width: 100%;
}
/*HEADER*/
.back-logo{
background-color: #000000;
display: flex;
justify-content: center;
padding: 29px 0;
width: 100%;
}
.img-logo{
display: block;
width: 12%;
}
/*FINAL HEADER*/
/*IMG PRINCIPAL*/
.not-main{
width: 100%;
display: block;
}
/*IMG PRINCIPAL*/
/*INICIO SECTION-3PC*/
.section-3pc{
display: flex;
flex-direction: column;
align-items: center;
margin-top: 145px;
}
.div-3pc{
display: flex;
flex-direction: column;
align-items: center;
width: 40%;
margin-bottom: 73px;
}
.h2-3pc{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.h1-3pc{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.p-3pc{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
}
.figure-3pc{
width: 100%;
text-align: center;
}
.img-3pc{
width: 16.5%;
}
/*FINAL SECTION-3PC*/
/*DIV CARDS*/
.div-cards{
display: flex;
gap: 20px;
align-items: center;
justify-content: center;
margin-top: 179px;
}
.section-cards{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 35px 2px 27px 2px;
width: 18%;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgb(0 0 0 / 23%);
}
.p-cards{
width: 84%;
margin-top: 27px;
}
/*FINAL DIV CARDS*/
/*INICIO DIV COLOR*/
.div-color{
background-color: #E0E0E0;
padding: 0 72px;
margin-bottom: 191px;
}
.div-background{
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
gap: 39px;
margin-top: 80px;
position: relative;
top: 62px;
}
.figure-img .figure-img3{
position: relative;
width: 30%;
}
.img-figure{
width: 100%;
display: block;
}
/*FINAL DIV COLOR*/
/*DIV SECTION CARDS 2*/
.div-section-cards2{
display: flex;
gap: 14px;
align-items: center;
justify-content: center;
padding: 0 72px;
}
.section-cards2{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 35px 33px 65px;
width: 22.5%;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgb(0 0 0 / 15%);
}
.p-cards2{
margin-top: 15px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
/*FINAL DIV SECTION CARDS 2*/
/*DIV TEXT*/
.conteiner-p{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
margin-bottom: 116px;
}
.div-text{
margin-top: 108px;
text-align: center;
width: 28%;
margin-bottom: 50px;
}
.h2-text{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.p-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.figure-img-final{
width: 71%;
justify-content: center;
align-items: center;
}
.img-final-descktop{
width: 100%;
display: block;
}
/*FINAL DIV TEXT*/
/*FOOTER*/
.footer-backgrond{
background-color: #000000;
color: #BDBDBD;
padding: 38px;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.footer-p{
margin-top: 16px;
font-weight: 400;
font-size: 10px;
line-height: 12px;
}
.footer-img{
display: block;
width: 5.5%;
}
.figure-img-footer{
width: 100%;
justify-content: center;
display: flex;
}
/*FINAL FOOTER*/
/*MEDIA SCREEN*/
@media screen and (max-width: 1024px){
.img-logo{
display: block;
width: 52%;
}
.not-main-descktop{
display: none;
}
/*SECTION 3-PC*/
.section-3pc{
margin-top: 73px;
}
.div-3pc{
width: 86%;
}
.h2-3pc {
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.h1-3pc {
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
.p-3pc{
margin-top: 20px;
}
.img-3pc{
width: 58%;
}
/*FIM SECTION 3-PC*/
/*SECTION CARDS*/
.div-cards{
flex-direction: column;
margin-top: 90px;
}
.section-cards{
width: 84.5%;
}
/*FIM SECTION CARDS*/
/*IMAGENS DESCKTOP*/
.img-figure{
display: none;
}
.div-color{
padding: 0;
margin-bottom: 116px;
}
.div-background{
flex-wrap: wrap;
grid-column-gap: 14px;
grid-row-gap: 23px;
margin-top: 76px;
position: relative;
top: 36px;
}
.item1 {
width: 100%;
display: block;
}
.item2 {
width: 100%;
display: block;
}
.item3 {
width: 100%;
display: block;
}
.figure-img{
width: 42%;
}
.figure-img3{
width: 86%;
}
/*FIM IMAGENS DESCKTOP*/
/*INICIO CARDIS2*/
.div-section-cards2{
flex-direction: column;
margin-top: 90px;
padding: 32px;
}
.section-cards2{
width: 84.5%;
padding: 35px 33px 65px;
}
.p-cards2{
width: 100%;
margin-top: 15px;
text-align: center;
font-weight: 400;
font-size: 14px;
line-height: 24px;
}
/*FINAL CARDIS2*/
.img-final-descktop{
display: none;
}
/*DIV TEXT*/
.div-text{
width: 86%;
margin-top: 50px;
margin-bottom: 87px;
}
.h2-text {
font-weight: 600;
font-size: 24px;
line-height: 29px;
}
.p-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 7px;
}
.conteiner-p{
text-align: center;
flex-direction: column-reverse;
margin: 0;
}
.img-final-mobile{
width: 100%;
display: block;
}
.figure-img-final{
width: 100%;
margin-top: 98px;
}
/*FINAL DIV TEXT*/
/*FOOTER*/
.footer-img{
display: block;
width: 26%;
}
}
/*MEDIA SCREEN MIN 1025*/
@media screen and (min-width: 1025px){
.not-main-mobi{
display: none;
}
.img-figura{
display: none;
}
.img-final-mobile{
display: none;
}
}
/*MEDIA SCREEN MIN 25OO*/
@media screen and (min-width: 2500px){
.h2-3pc {
font-size: 64px;
line-height: 78px;
}
.h1-3pc {
font-size: 96px;
line-height: 116px;
}
.p-3pc {
font-size: 32px;
line-height: 48px;
}
.p-cards {
font-size: 32px;
line-height: 48px;
}
.p-cards2 {
font-size: 32px;
line-height: 48px;
}
.h2-text {
font-size: 64px;
line-height: 78px;
}
.p-text {
font-size: 32px;
line-height: 48px;
}
.footer-p{
font-size: 20px;
line-height: 24px;
}
}