challenge-landing-page-jess.../style.css

308 lines
4.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2? family= Inter:wght@400;500 & display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
.pagina {
padding: 29px 0;
display: flex;
justify-content: center;
background-color: #000000;
}
.logo {
display: block;
}
.banner {
width: 100%;
}
.sessao1 {
display: flex;
padding: 0 28px;
align-items: center;
text-align: center;
justify-content: center;
flex-direction: column;
}
.BL {
padding: 73px 0;
}
.sentence{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.sentence2{
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.one-p {
max-width: 766px;
margin-top: 28px;
}
.computadores {
max-width: 239px;
}
.icones {
display: flex;
margin-top: 179px;
gap: 21px;
}
.icone1 {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
padding: 35px 26px 27px 26px;
}
.img1 {
padding: 36px 25px 27px 26px;
}
.icone2 {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
padding: 35px 26px 27px 26px;
}
.img2 {
padding: 36px 25px 27px 26px;
}
.icone3 {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
padding: 35px 26px 27px 26px;
}
.img3 {
padding: 36px 25px 27px 26px;
}
.grids {
display: flex;
background: #E0E0E0;
justify-content: center;
margin-top: 80px;
padding: 0 72px;
}
.grid{
display: flex;
position: relative;
gap: 39px;
bottom: -62px;
}
.grid-img{
width: 100%;
max-height: 530px;
max-width: 566px;
}
.cards {
display: flex;
flex-wrap: wrap;
gap: 16px;
justify-content: center;
text-align: center;
margin-top: 191px;
margin-bottom: 108px;
}
.card{
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 432px;
padding: 35px 32px 65px 32px;
}
.card figcaption{
margin-top: 15px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.texto-oculos{
max-width: 550px;
margin-bottom: 50px;
}
.texto-oculos h2{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.texto-oculos p{
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.sessao-oculos{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
margin-bottom: 116px;
}
.image-oculos{
max-width: 1360px;
width: 100%;
}
@media screen and (max-width: 1024px ) {
.one-p{
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.BL{
padding: 0 24px;
margin-top: 73px;
}
.sentence{
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
.sentence2{
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.computadores{
margin-top: 65px;
}
.sessao1{
padding: 0 32px;
}
.icones{
margin-top: 90px;
flex-direction: column;
gap: 24px;
}
.icone1, .icone2, .icone3 {
max-width: unset;
}
.grids{
padding: 0 24px;
}
.grid{
row-gap: 24px;
column-gap: 14px;
bottom: -32px;
display: grid;
grid-template-areas:
"b a"
"c c";
}
.grid-a{
grid-area: a;
}
.grid-b{
grid-area: b;
}
.grid-c{
grid-area: c;
}
.grid-img{
max-width: unset;
}
.img1 img ,.img2 img ,.img3 img{
margin-bottom: 38px;
}
figcaption{
}
.cards{
margin-top: 112px;
flex-direction: column;
padding: 0 24px;
margin-bottom: 68px;
}
.card{
max-width: unset;
}
.image-oculos{
}
.picture-oculos{
width: 100%;
}
.sessao-oculos{
flex-direction: column-reverse;
margin-top: 98px;
}
.texto-oculos{
margin-top: 50px;
}
.texto-oculos h2{
font-weight: 600;
font-size: 24px;
line-height: 29px;
}
.texto-oculos p{
margin-top: 9px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
}