Yan_Garriga #1

Merged
Yan_Garriga merged 20 commits from Yan_Garriga into main 2022-10-13 19:29:38 +00:00
10 changed files with 587 additions and 8 deletions

BIN
assets/images/logo1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 B

BIN
assets/images/logo2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 287 B

BIN
assets/images/logo3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 B

View File

Before

Width:  |  Height:  |  Size: 234 KiB

After

Width:  |  Height:  |  Size: 234 KiB

View File

Before

Width:  |  Height:  |  Size: 215 KiB

After

Width:  |  Height:  |  Size: 215 KiB

View File

Before

Width:  |  Height:  |  Size: 318 KiB

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -0,0 +1,372 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
text-align: center;
}
.page-header {
display: flex;
justify-content: center;
background: #000000;
padding: 29px 0;
}
.main-banner-row {
max-width: 100%;
}
.top-infocard {
display: flex;
justify-content: center;
padding: 4% 0 0;
}
.top-infocard-text {
width: 45% ;
line-height: 24px;
}
.top-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
line-height: 39px;
}
.top-infocard-title {
margin-bottom: 28px;
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
line-height: 58px;
}
.top-infocard-description {
font-size: 16px;
line-height: 28px;
text-align: justify;
}
.header-logo {
display: block;
}
.main-banner {
width: 100%;
display: block;
}
.top-infocard-image {
padding: 7% 0;
width: 41%;
align-items: center;
}
.top-card-image {
display: block;
margin-bottom: 1.40vw;
}
.top-cards {
background: #FFFFFF;
grid-template-columns: repeat(3, max-content);
padding: 6% 4% 4%;
display: grid;
gap: 48px;
justify-content: center;
}
.top-card {
flex-direction: column;
align-items: center;
display: flex;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 36px 1.3vw 26px;
}
.top-card-description {
max-width: 15.5vw;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.middle-banner {
max-width: 100%;
margin: auto;
background-color: #E0E0E0;
position: relative;
height: 27.6vw;
}
.middle-banner-group {
display: grid;
grid-template-columns: repeat(3, 1fr);
padding: 0 72px;
position: absolute;
top: 58px;
gap: 39px;
}
.middle-banner-item {
max-width: 100%;
}
.middle-banner-image {
max-width: 100%;
}
.bottom-card {
background: #FFFFFF;
grid-template-columns: repeat(4, 4fr);
display: grid;
justify-content: center;
text-align: center;
margin: 0 4%;
width: 92.5vw;
padding-top: 7%;
max-width: 100%;
gap: 16px;
}
.bottom-card-group {
flex-direction: column;
align-items: center;
display: flex;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
gap: 16px;
}
.bottom-card-image {
padding-top: 8% ;
}
.bottom-card-text {
font-size: 14px;
line-height: 24px;
padding: 0 20px 10px;
}
.bottom-infocard-desktop {
margin: 6% 30% 3%;
}
.bottom-infocard-tittle {
font-weight: 600;
font-size: 32px;
line-height: 39px;
margin-bottom: 2%;
}
.bottom-infocard-paragraph {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottom-banner-image {
width: 100%;
padding: 3% 15% 6%;
}
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
padding: 2% 0;
background-color: #000000;
}
.footer-icons {
display: flex;
list-style: none;
padding-bottom: 26px;
}
.footer-icon {
margin: 0 8px;
}
.footer-text {
text-transform: uppercase;
line-height: 12px;
color: #BDBDBD;
text-align: center;
}
.mobile {
display: none;
}
@media screen and (max-width: 1025px) {
.desktop {
display: none;
}
.mobile {
display: flex;
}
.bottom-banner-image-desktop {
display: none;
}
.main-banner-desktop {
display: none;
}
.bottom-infocard-desktop {
display: none;
}
.top-infocard-text {
margin: 0 7%;
width: 100%;
}
.top-infocard-title {
font-size: 28px;
margin-bottom: 12px;
line-height: 34px;
}
.top-infocard-subtitle {
font-size: 20px;
line-height: 24px;
margin-top: 18%;
}
.top-infocard-description {
line-height: 24px;
font-size: 16px;
text-align: center;
}
.top-infocard-image {
padding: 64px 0 90px 0;
width: 74%;
}
.top-cards {
grid-template-columns: 1fr;
padding: 0 32px 112px;
gap: 5.79vw;
}
.top-card-description {
padding: 0 10px;
max-width: 100%;
}
.middle-banner-group {
grid-template-columns: repeat(2, 1fr);
align-items: center;
top: 32px;
gap: 3.38vw;
padding: 32px 0 0;
position: static;
margin-bottom: 0;
max-width: 88%;
width: 100%;
}
.middle-banner {
/* height: 138.647vw; */
flex-direction: column;
align-items: center;
height: fit-content;
padding-bottom: 82.125vw;
}
.middle-banner-image {
width: 100%;
}
.middle-banner-item {
width: 100%;
margin: auto;
}
.img-full {
max-width: 88%;
position: absolute;
bottom: -32px;
}
.middle-banner-item:last-child img {
width: 100%;
}
.bottom-infocard-tittle {
font-size: 24px;
}
.bottom-card-group {
grid-template-columns: 1fr;
width: 100%;
}
.bottom-card {
display: flex;
flex-direction: column;
gap: 15px;
padding: 19% 0 24%;
}
.bottom-card-text {
font-size: 14px;
padding: 0 20px 20px;
}
.bottom-banner-image-mobile {
padding: 0;
}
.bottom-infocard-group {
margin: 12% 2% 21%;
}
.bottom-infocard-mobile {
padding: 0 3%;
}
.page-footer {
padding: 20px 0;
font-size: 12px;
}
}
@media screen and (min-width: 1026px) {
.main-banner-mobile {
display: none;
}
.bottom-banner-image-mobile {
display: none;
}
.bottom-infocard-mobile {
display: none;
}
}
@media screen and (min-width: 2000px) {
.middle-banner-desktop {
width: 0%;
}
.middle-banner-group {
padding: 0 15%;
top: 35%;
margin: 0;
height: 100%;
}
}

View File

@ -2,20 +2,227 @@
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>M3 Desafio 1</title>
<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" />
<title>M3 Desafio 1</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./assets/styles.css/main.css" />
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./assets/images/Logo-M3Academy 1.png" alt="Logo M3-Academy">
<img class="header-logo" src="./assets/images/Logo-M3Academy 1.png" alt="Logo M3-Academy" />
</a>
</header>
<main>
<section class="main-banner-row">
<img class="main-banner main-banner-desktop" src="./assets/images/Main-banner-desktop.png"
alt="Banner principal desktop" />
<img class="main-banner main-banner-mobile" src="./assets/images/main-banner-mobile.png"
alt="Banner principal mobile" />
</section>
<section class="top-infocard">
<div class="top-infocard-text">
<h2 class="top-infocard-subtitle">Lorem ipsum</h2>
<h1 class="top-infocard-title">Dolor sit amet</h1>
<p class="top-infocard-description">
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>
<div>
<img class="top-infocard-image" src="./assets/images/top-infocard-image.png"
alt="Primeira infocard do topo" />
</div>
</section>
<section class="top-cards">
<div class="top-card">
<img class="top-card-image" src="./assets/images/top-card01.png"
alt="Imagem do Primeiro card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="./assets/images/top-card-02.png"
alt="Imagem do Segundo card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
<div class="top-card">
<img class="top-card-image" src="./assets/images/top-card03.png"
alt="Imagem do Terceiro card do Topo" />
<p class="top-card-description">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla
interdum.
</p>
</div>
</section>
<section class="middle-banner desktop">
<div class="middle-banner-group">
<div class="middle-banner-item">
<img class="middle-banner-image" src="./assets/images/middle-banner-01.png"
alt="Primeiro banner do Meio" />
</div>
<div class="middle-banner-item">
<img class="middle-banner-image" src="./assets/images/middle-banner-02.png"
alt="Segundo banner do meio" />
</div>
<div class="middle-banner-item">
<img class="middle-banner-image" src="./assets/images/middle-banner-03.png"
alt="Terceiro banner do meio" />
</div>
</div>
</section>
<section class="middle-banner mobile">
<div class="middle-banner-group">
<div class="middle-banner-item">
<img class="middle-banner-image" src="./assets/images/middle-banner-01.png"
alt="Primeiro banner do Meio" />
</div>
<div class="middle-banner-item">
<img class="middle-banner-image" src="./assets/images/middle-banner-02.png"
alt="Segundo banner do meio" />
</div>
</div>
<div class="middle-banner-item img-full">
<img class="middle-banner-image" src="./assets/images/middle-banner-03.png"
alt="Terceiro banner do meio" />
</div>
</section>
<section class="bottom-card">
<div class="bottom-card-group">
<img class="bottom-card-image" src="./assets/images/bottom-card-01.png" alt="image01-bottomcard" />
<p class="bottom-card-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.
</p>
</div>
<div class="bottom-card-group">
<img class="bottom-card-image" src="./assets/images/bottom-card-02.png" alt="image02-bottomcard" />
<p class="bottom-card-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.
</p>
</div>
<div class="bottom-card-group">
<img class="bottom-card-image" src="./assets/images/bottom-card-03.png" alt="image03-bottomcard" />
<p class="bottom-card-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.
</p>
</div>
<div class="bottom-card-group">
<img class="bottom-card-image" src="./assets/images/bottom-card-04.png" alt="image04-bottomcard" />
<p class="bottom-card-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.
</p>
</div>
</section>
<section class="bottom-infocard-desktop">
<div class="bottom-infocard-group">
<h3 class="bottom-infocard-tittle">Lorem ipsum dolor sit amet</h3>
<p class="bottom-infocard-paragraph">
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>
</div>
</section>
<section class="bottom-banner-row">
<div class="bottom-banner">
<img class="bottom-banner-image bottom-banner-image-desktop" src="./assets/images/bottom-banner-desktop.png" alt="banner de baixo" />
<img class="bottom-banner-image bottom-banner-image-mobile" src="./assets/images/bottom-banner-mobile.png" alt="banner de baixo mobile"/>
</div>
</section>
<section class="bottom-infocard-mobile">
<div class="bottom-infocard-group">
<h3 class="bottom-infocard-tittle ">Lorem ipsum dolor sit amet</h3>
<p class="bottom-infocard-paragraph">
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>
</div>
</section>
</main>
<footer class="page-footer">
<ul class="footer-icons">
<li class="footer-icon">
<a href="/">
<img src="./assets/images/logo1.png" alt="logo-footer1" />
</a>
</li>
<li class="footer-icon">
<a href="/">
<img src="./assets/images/logo2.png" alt="logo-footer2" />
</a>
</li>
<li class="footer-icon">
<a href="/">
<img src="./assets/images/logo3.png" alt="logo-footer3" />
</a>
</li>
</ul>
<p class="footer-text">
Copyright © 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body>
</html>