Adiciona os cards de baixo desktop e mobile
@ -2,13 +2,11 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
|
||||
.page-header {
|
||||
@ -16,7 +14,6 @@ body {
|
||||
justify-content: center;
|
||||
background: #000000;
|
||||
padding: 28px 0;
|
||||
|
||||
}
|
||||
|
||||
.header-logo {
|
||||
@ -55,8 +52,7 @@ body {
|
||||
|
||||
.top-infocard-description {
|
||||
line-height: 24px;
|
||||
font-size: 16px;
|
||||
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.top-cards {
|
||||
@ -89,12 +85,46 @@ body {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
margin-top: 114px;
|
||||
background: linear-gradient(180deg, #00C8FF 0%, #15ACD6 100%);
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) and (max-width:1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
|
||||
.bottom-cards-wrapper {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
gap: 20px;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
top: -60px;
|
||||
}
|
||||
|
||||
.bottom-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
padding: 36px 32px 66px;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
|
||||
}
|
||||
|
||||
.bottom-card-image {
|
||||
display: block;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.bottom-card-description {
|
||||
max-width: 368px;
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
line-height: 24px;
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@ -105,11 +135,25 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 414px) {
|
||||
.main-banner-desktop,
|
||||
.middle-banner-desktop {
|
||||
display: none;
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-cards {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
.bottom-cards {
|
||||
margin-top: 114px;
|
||||
padding: 0 26px;
|
||||
}
|
||||
|
||||
.bottom-cards-wrapper {
|
||||
grid-template-columns: 1fr;
|
||||
gap: 16px;
|
||||
}
|
||||
.bottom-card-description {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 992px) {
|
||||
@ -134,17 +178,21 @@ body {
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
.top-cards {
|
||||
grid-template-columns: 1fr;
|
||||
padding: 36px 26px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 1200px) {
|
||||
.top-cards {
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 769px) and (max-width: 992px) {
|
||||
.bottom-card-description {
|
||||
max-width: 280px;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 993px) and (max-width:1280px) {
|
||||
.top-infocard-text {
|
||||
max-width: 520px;
|
||||
margin-right: 70px;
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 790 B After Width: | Height: | Size: 790 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 743 B After Width: | Height: | Size: 743 B |
219
index.html
@ -1,83 +1,174 @@
|
||||
<!DOCTYPE html>
|
||||
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<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" />
|
||||
<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 Landing Page</title>
|
||||
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;900&display=swap" rel="stylesheet">
|
||||
|
||||
<link rel="stylesheet" href="./_assets/css/main.css">
|
||||
</head>
|
||||
<title>M3 Landing Page</title>
|
||||
|
||||
<body>
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;900&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
|
||||
<!-- Header | Image and background -->
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img class="header-logo" src="./_assets/images/logo_m3.svg" alt="Logo M3" />
|
||||
</a>
|
||||
</header>
|
||||
<link rel="stylesheet" href="./_assets/css/main.css" />
|
||||
</head>
|
||||
|
||||
<main>
|
||||
<body>
|
||||
<!-- Header | Image and background -->
|
||||
<header class="page-header">
|
||||
<a href="/">
|
||||
<img
|
||||
class="header-logo"
|
||||
src="./_assets/images/logo_m3.svg"
|
||||
alt="Logo M3"
|
||||
/>
|
||||
</a>
|
||||
</header>
|
||||
|
||||
<!-- Main Banner | desktop and Mobile -->
|
||||
<section>
|
||||
<img class="main-banner main-banner-desktop" src="./_assets/images/main-banner-desktop.jpg" alt="Banner principal Desktop" />
|
||||
<img class="main-banner main-banner-mobile" src="./_assets/images/main-banner-mobile.jpg" alt="Banner principal Mobile" />
|
||||
</section>
|
||||
<main>
|
||||
<!-- Main Banner | desktop and Mobile -->
|
||||
<section>
|
||||
<img
|
||||
class="main-banner main-banner-desktop"
|
||||
src="./_assets/images/main-banner-desktop.jpg"
|
||||
alt="Banner principal Desktop"
|
||||
/>
|
||||
<img
|
||||
class="main-banner main-banner-mobile"
|
||||
src="./_assets/images/main-banner-mobile.jpg"
|
||||
alt="Banner principal Mobile"
|
||||
/>
|
||||
</section>
|
||||
|
||||
<!-- First Infocard -->
|
||||
<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>
|
||||
<!-- First Infocard -->
|
||||
<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>
|
||||
<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="Banner do Infocard do Topo" />
|
||||
<img
|
||||
class="top-infocard-image"
|
||||
src="./_assets/images/top-infocard-image.png"
|
||||
alt="Banner do Infocard do Topo"
|
||||
/>
|
||||
</section>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img class="top-card-image" src="./_assets/images/top-card-image-01.svg" 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>
|
||||
<section class="top-cards">
|
||||
<div class="top-card">
|
||||
<img
|
||||
class="top-card-image"
|
||||
src="./_assets/images/top-card-image-01.svg"
|
||||
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-image-02.svg" 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-card-image-02.svg"
|
||||
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-card-image-03.svg" 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>
|
||||
<div class="top-card">
|
||||
<img
|
||||
class="top-card-image"
|
||||
src="./_assets/images/top-card-image-03.svg"
|
||||
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>
|
||||
<!-- Middle Banner | desktop and Mobile -->
|
||||
<section>
|
||||
<img
|
||||
class="middle-banner middle-banner-desktop"
|
||||
src="./_assets/images/middle-banner-desktop.jpg"
|
||||
alt="Banner do Meio Desktop"
|
||||
/>
|
||||
<img
|
||||
class="middle-banner middle-banner-mobile"
|
||||
src="./_assets/images/middle-banner-mobile.jpg"
|
||||
alt="Banner do Meio Mobile"
|
||||
/>
|
||||
</section>
|
||||
|
||||
<!-- Middle Banner | desktop and Mobile -->
|
||||
<section>
|
||||
<img class="middle-banner middle-banner-desktop" src="./_assets/images/middle-banner-desktop.jpg" alt="Banner do Meio Desktop" />
|
||||
<img class="middle-banner middle-banner-mobile" src="./_assets/images/middle-banner-mobile.jpg" alt="Banner do Meio Mobile" />
|
||||
</section>
|
||||
<!-- Bottom Card | desktop and Mobile -->
|
||||
<section class="bottom-cards">
|
||||
|
||||
<div class="bottom-cards-wrapper">
|
||||
|
||||
</main>
|
||||
</body>
|
||||
<div class="bottom-card">
|
||||
<img class="bottom-card-image" src="./_assets/images/bottom-card-image-01.svg" alt="Imagem do Primeiro Card de Baixo." />
|
||||
<p class="bottom-card-description">
|
||||
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">
|
||||
<img class="bottom-card-image" src="./_assets/images/bottom-card-image-02.svg" alt="Imagem do Segundo Card de Baixo." />
|
||||
<p class="bottom-card-description">
|
||||
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">
|
||||
<img class="bottom-card-image" src="./_assets/images/bottom-card-image-03.svg" alt="Imagem do Terceiro Card de Baixo." />
|
||||
<p class="bottom-card-description">
|
||||
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">
|
||||
<img class="bottom-card-image" src="./_assets/images/bottom-card-image-04.svg" alt="Imagem do Quarto Card de Baixo." />
|
||||
<p class="bottom-card-description">
|
||||
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>
|
||||
|
||||
</section>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|