carloswinter #1

Merged
carloswinter merged 9 commits from carloswinter into main 2022-10-11 13:31:34 +00:00
21 changed files with 534 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 492 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 965 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 350 B

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

387
assets/styles/main.css Normal file
View File

@ -0,0 +1,387 @@
*{
margin:0;
padding:0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
}
.header{
text-align: center;
background: #000000;
width: 100%;
height: 100px;
padding:28px;
}
.header img{
}
.topbannerdesktop{
width: 100%;
}
.topbannermobile{
display: none;
}
.topinfo{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.topinfo-texts{
text-align: center;
margin-top: 73px;
width: 43%;
}
.topinfo-subtitle{
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
line-height: 39px;
}
.topinfo-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.topinfo-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
text-align: left;
}
.topinfo-img{
margin-top:70px;
}
.topcards{
margin: 0 25%;
}
.topcards-wrapper{
margin-top: 178px;
margin-bottom: 80px;
display: flex;
justify-content: center;
gap:21px;
}
.topcard{
padding: 46px 26px 27px;
text-align: center;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.topcard-text{
min-width: 300px;
margin-top: 38px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.middle{
background: #E0E0E0;
}
.middle-wrapper{
display: flex;
align-items: center;
position: relative;
justify-content: center;
top:62px;
width: 100%;
}
.gridimg{
margin:0 72px;
display: grid;
flex-wrap:nowrap;
grid-template-columns: 1fr 1fr 1fr;
gap:39px;
width: 100%;
}
.middle-img1{
display: block;
width: 100%;
}
.middle-img2{
display: block;
width: 100%;
}
.middle-img3{
display: block;
width: 100%;
}
.middlecards{
display:flex;
margin: 129px 72px 0 72px;
gap:16px;
background: #FFFFFF;
}
.middlecard{
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
text-align: center;
padding:51px 32px 65px 32px;
}
.middlecard-text{
margin-top: 32px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottombanner{
margin-top:108px;
}
.bottombanner figure{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.bottombanner figure figcaption{
width: 35%;
}
.bottombanner-subtitle{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottombanner-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-bottom: 50px;
}
.bottombanner-desktop{
display: block;
width: 71%;
}
.bottombanner-mobile{
display:none;
}
.footer{
width: 100%;
background-color: #000000;
margin-top: 116px;
padding: 38px;
display: flex;
align-items: center;
flex-direction: column;
gap: 17px;
}
.footer a{
text-decoration: none;
}
.footer nav figure{
display: flex;
gap:21px;
}
.footerimg{
}
.footer-text{
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width: 767px){
.topbannerdesktop{
display:none;
}
.topbannermobile{
width: 100%;
display: block;
}
}
@media screen and (max-width: 1439px){
.topinfo-texts{
min-width: 86%;
}
.topinfo-subtitle{
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.topinfo-title{
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
.topinfo-text{
text-align: center;
font-size: 16px;
line-height: 24px;
}
.figuretopinfo{
text-align: center;
}
.topinfo-img{
width: 75%;
}
.topcards{
margin: 0 10%;
}
.topcards-wrapper{
margin-top: 90px;
margin-bottom: 80px;
flex-direction:column;
gap:24px;
}
.topcard-text{
min-width: 0;
}
.middle-wrapper{
top:32px;
}
.gridimg{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(1, 1fr);
grid-row-gap: 24px;
grid-column-gap: 14px;
width: 100%;
margin: 0 23px;
}
.middle-img1{
grid-area: 1 / 3 / 2 / 5;
}
.middle-img2{
grid-area: 1 / 1 / 2 / 3;
}
.middle-img3{
grid-area: 2 / 1 / 3 / 5;
}
.middlecards{
gap:16px;
margin: 80px 23px;
flex-direction: column;
}
.middlecard{
}
.middlecard-text{
font-size: 14px;
}
.bottombanner-desktop{
display: none;
}
.bottombanner-mobile{
display:block;
}
.bottombanner{
margin-top: 98px;
}
.bottombanner figure{
display:flex;
flex-direction: column-reverse;
align-items: center;
text-align: center;
}
.bottombanner figure figcaption{
width:auto;
margin: 0 7%;
}
.bottombanner-subtitle{
margin-top: 50px;
margin-bottom: 9px;
font-size: 24px;
line-height: 29px;
}
.bottombanner-text{
margin:0;
}
.bottombanner-desktop{
display: none;
}
.bottombanner-mobile{
display:block;
width: 100%;
}
.footer{
margin-top: 87px;
padding: 32px;
}
.footer-text{
text-align: center;
font-size: 10px;
line-height: 12px;
}
}
@media screen and (min-width: 2500px){
.topinfo-subtitle{
font-size: 64px;
line-height: 78px;
}
.topinfo-title{
font-size: 96px;
line-height: 116px;
}
.topinfo-text{
font-size: 32px;
line-height: 48px;
margin-top: 28px;
}
.figuretopinfo{
width: 100%;
text-align: center;
}
.topinfo-img{
width: 13vw;
}
.topcard-text{
font-weight: 400;
font-size: 32px;
line-height: 48px;
}
.topcard figure img{
width: 3vw;
}
.middlecard-text{
font-size: 32px;
line-height: 48px;
}
.middlecard figure img{
width: 3vw;
}
.bottombanner-subtitle{
font-size: 64px;
line-height: 78px;
}
.bottombanner-text{
font-size: 32px;
line-height: 48px;
}
.footer-text{
font-size: 20px;
line-height: 24px;
}
}

138
index.html Normal file
View File

@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./assets/styles/main.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<title>Desafio 1 - M3 Academy</title>
</head>
<body>
<header class="header">
<figure>
<a href="#">
<img src="./assets/images/svg/Logo-M3Academy.svg" alt="Logo-M3Academy">
</a>
</figure>
</header>
<section class="topbanner">
<figure>
<img src="./assets/images/img/topLaptop.png" class="topbannerdesktop"alt="Banner do Topo">
</figure>
<figure>
<img src="./assets/images/img/topLaptopmobile.png" class="topbannermobile"alt="Banner do Topo">
</figure>
</section>
<section class="topinfo">
<div class="topinfo-texts">
<article>
<h2 class="topinfo-subtitle">Lorem ipsum</h2>
<h1 class="topinfo-title">dolor sit amet</h1>
<p class="topinfo-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui. </p>
</article>
</div>
<figure class="figuretopinfo">
<img src="./assets/images/img/topinfopcs.png" class="topinfo-img" alt="Imagem do topo">
</figure>
</section>
<section class="topcards">
<div class="topcards-wrapper">
<div class="topcard">
<figure>
<img src="./assets/images/img/topcard1.png" alt="Primeira imagem dos cards">
<figcaption class="topcard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
<div class="topcard">
<figure>
<img src="./assets/images/img/topcard2.png" alt="Segunda imagem dos cards">
<figcaption class="topcard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
<div class="topcard">
<figure>
<img src="./assets/images/img/topcard3.png" alt="Terceira imagem dos cards">
<figcaption class="topcard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
</div>
</section>
<main>
<section class="middle">
<div class="middle-wrapper">
<div class="gridimg">
<img src="./assets/images/img/middlenote1.png" class="middle-img1" alt="Primeiro notebook meio">
<img src="./assets/images/img/middlenote2.png" class="middle-img2" alt="Segundo notebook meio">
<img src="./assets/images/img/middlenote3.png" class="middle-img3" alt="Terceiro notebook meio">
</div>
</div>
</section>
<section class="middlecards">
<div class="middlecard">
<figure>
<img src="./assets/images/img/middlecard.png" alt="Primeira imagem dos cards do meio">
<figcaption class="middlecard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
<div class="middlecard">
<figure>
<img src="./assets/images/img/middlecard2.png" alt="Segunda imagem dos cards do meio">
<figcaption class="middlecard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
<div class="middlecard">
<figure>
<img src="./assets/images/img/middlecard3.png" alt="Terceira imagem dos cards do meio">
<figcaption class="middlecard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
<div class="middlecard">
<figure>
<img src="./assets/images/img/middlecard4.png" alt="Quarta imagem dos cards do meio">
<figcaption class="middlecard-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. </figcaption>
</figure>
</div>
</section>
<section class="bottombanner">
<figure>
<figcaption>
<h2 class="bottombanner-subtitle">
Lorem ipsum dolor sit amet
</h2>
<p class="bottombanner-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum.
Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis.
Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.
</p>
</figcaption>
<img class="bottombanner-desktop" src="./assets/images/img/bottom-bannerdesktop.png" alt="Banner de baixo desktop">
<img class="bottombanner-mobile" src="./assets/images/img/bottom-bannermobile.png" alt="Banner de baixo mobile">
</figure>
</section>
</main>
<footer class="footer">
<nav>
<figure>
<a href="#">
<img class="footerimg" src="./assets/images/img/iglogo.png" alt="Ícone Instagram">
</a>
<a href="#">
<img class="footerimg" src="./assets/images/img/fblogo.png" alt="Ícone Facebook">
</a>
<a href="#">
<img class="footerimg" src="./assets/images/img/ytlogo.png" alt="Ícone Youtube">
</a>
</figure>
</nav>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body>
</html>