forked from M3-Academy/challenge-landing-page
317 lines
5.6 KiB
CSS
317 lines
5.6 KiB
CSS
/*Toda a Page*/
|
|
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/*Cabeçario*/
|
|
header{
|
|
background: black;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 29px 0px;
|
|
}
|
|
.logom3{
|
|
display:block;
|
|
}
|
|
|
|
/*Parte01, o banner principal*/
|
|
.imgbanner{
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.imgbannerpq{
|
|
display: none;
|
|
}
|
|
|
|
/*Parte2,Parte2, escrito com imagem dos 3 computador*/
|
|
.parte2{
|
|
display:flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.tdtextopart2{
|
|
width: 40%;
|
|
padding: 73px 0px 0px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items:center ;
|
|
}
|
|
.subtitlepart2{
|
|
font-family: 'Inter';
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
text-transform: uppercase;
|
|
color: #000000;
|
|
}
|
|
.titlepart2{
|
|
font-family: 'Inter';
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
text-transform: uppercase;
|
|
color: #000000;
|
|
}
|
|
.paragpart2{
|
|
padding: 28px 0px 0px;
|
|
font-family: 'Inter';
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #000000;
|
|
}
|
|
.imgparte2{
|
|
display: block;
|
|
padding: 73px 0px 0px;
|
|
}
|
|
|
|
/*Parte3, os 3 caixotes*/
|
|
.tdscaixotes{
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 21px;
|
|
justify-content: center;
|
|
background: #FFFFFF;
|
|
padding: 178px 414px 80px;
|
|
|
|
}
|
|
.cadacaixote{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 350px;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
.imgcaixote{
|
|
padding: 46px 0px 38px;
|
|
display: block;
|
|
}
|
|
.legendcaixote{
|
|
padding: 0px 25px 28px;
|
|
font-family: 'Inter';
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
color: black;
|
|
}
|
|
|
|
/*Parte4, imagens notebook*/
|
|
.parte4{
|
|
padding: 0px 72px 62px;
|
|
background:#E0E0E0; ;
|
|
display: grid;
|
|
grid-template-columns: auto auto auto;
|
|
gap: 39px;
|
|
|
|
}
|
|
.imgparte4{
|
|
display: block;
|
|
width: 100%;
|
|
position: relative;
|
|
top: 124px;
|
|
}
|
|
|
|
/*Parte5-mais caixotes*/
|
|
.caixotes2{
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 16px;
|
|
justify-content: center;
|
|
background: #FFFFFF;
|
|
padding: 192px 72px 0px;
|
|
}
|
|
.cdcaixote2{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
|
}
|
|
.imgcaixote2{
|
|
padding: 35px 0px 15px;
|
|
display: block;
|
|
}
|
|
.legendcaixote2{
|
|
padding: 0px 32px 65px;
|
|
font-family: 'Inter';
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
color: #000000;
|
|
}
|
|
|
|
/*Parte6-texto com imagem final*/
|
|
.parte06{
|
|
padding: 108px 280px 244px;
|
|
display: flex;
|
|
flex-direction:column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.tdtextpart6{
|
|
padding: 108px 0px 50px;
|
|
width: 40%;
|
|
text-align: center;
|
|
}
|
|
.titlepart6{
|
|
font-family: 'Inter';
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
color: #000000;
|
|
}
|
|
.paragrafpart6{
|
|
font-family: 'Inter';
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #000000;
|
|
}
|
|
.imgparte6{
|
|
display: block;
|
|
}
|
|
.imgparte06pq{
|
|
display: none;
|
|
}
|
|
|
|
/*Parte7-final*/
|
|
|
|
@media screen and (min-width: 2500){
|
|
|
|
}
|
|
|
|
|
|
|
|
/*Modificações para os Varios tamanhos de tela */
|
|
@media screen and (max-width: 1024px)
|
|
{
|
|
/*Parte01, o banner principal*/
|
|
.imgbanner{
|
|
display: none;
|
|
}
|
|
|
|
.imgbannerpq{
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
/*Parte 02*,Parte2, escrito com imagem dos 3 computador*/
|
|
.tdtextopart2{
|
|
width: 86%;
|
|
text-align: center;
|
|
}
|
|
.subtitlepart2{
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
}
|
|
.titlepart2{
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
text-align: center;
|
|
}
|
|
.paragpart2{
|
|
padding: 1px 0px 0px;
|
|
font-family: 'Inter';
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
color: #000000;
|
|
}
|
|
.imgparte2{
|
|
display: block;
|
|
padding: 65px 0px 0px;
|
|
width: 240px;
|
|
|
|
}
|
|
|
|
/*Parte3,os 3 caixotes*/
|
|
.tdscaixotes{
|
|
grid-template-columns: 1fr;
|
|
gap: 24px;
|
|
padding: 90px 32px 80px;
|
|
}
|
|
.cadacaixote{
|
|
width: 99%;
|
|
}
|
|
.imgcaixote{
|
|
padding: 46px 0px 38px;
|
|
display: block;
|
|
}
|
|
|
|
/*Parte4, imagens notebook*/
|
|
.parte4{
|
|
grid-template-areas: "img2 img1"
|
|
"img3 img3";
|
|
padding: 0px 64px 32px;
|
|
background:#E0E0E0; ;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
column-gap: 14px;
|
|
row-gap: 23px;
|
|
|
|
}
|
|
.imgparte4{
|
|
top: 64px;
|
|
}
|
|
.img1{
|
|
grid-area: img1;
|
|
}
|
|
.img2{
|
|
grid-area: img2;
|
|
}
|
|
.img3{
|
|
grid-area: img3;
|
|
}
|
|
|
|
/*Parte5-mais caixotes*/
|
|
.caixotes2{
|
|
grid-template-columns: 1fr;
|
|
gap: 16px;
|
|
padding: 112px 23px 98px;
|
|
}
|
|
.cdcaixote2{
|
|
width: 100%;
|
|
}
|
|
.imgcaixote2{
|
|
padding: 35px 0px 15px;
|
|
display: block;
|
|
|
|
}
|
|
.legendcaixote2{
|
|
font-size: 14px;
|
|
}
|
|
|
|
/*Parte6-texto com imagem final*/
|
|
.parte06{
|
|
padding: 0px 0px 87px;
|
|
flex-direction: column-reverse;
|
|
}
|
|
.tdtextpart6{
|
|
padding: 50px 0px 0px;
|
|
width: 84%;
|
|
}
|
|
.titlepart6{
|
|
font-size: 24px;
|
|
line-height: 29px;
|
|
}
|
|
.imgparte6{
|
|
display: none;
|
|
}
|
|
.imgparte06pq{
|
|
display: block;
|
|
}
|
|
|
|
/*Parte7-final*/
|
|
|
|
}
|
|
|