leonardopereirarocha #1

Closed
LeonardoPereiraRocha wants to merge 7 commits from leonardopereirarocha into main
18 changed files with 452 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 362 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 MiB

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 341 KiB

BIN
assets/img/photo1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

BIN
assets/img/photo2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 KiB

BIN
assets/img/photo3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 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: 959 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

@ -4,6 +4,11 @@
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header{
display: flex;
justify-content: center;
@ -11,8 +16,339 @@
background-color: #000;
}
.logo-header{
.logo-header, .main-banner-desktop{
width: 100%;
display: block;
height: auto;
}
}
.top-infocard-subtitle{
margin-top: 73px;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.top-infocard-text{
max-width: 766px;
text-align: center;
}
.top-infocard-title{
margin-bottom: 28px;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-image{
width: 20%;
display: block;
margin-bottom: 177px;
}
.top-infocard-description{
font-size: 16px;
line-height: 24px;
margin-bottom: 84px;
}
.top-card{
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 21px;
padding: 74px 0;
justify-content: center;
margin-bottom: 81px;
}
.card{
display: flex;
flex-direction: column;
align-items: center;
padding: 25px 25px;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-image{
width: 20%;
display: block;
margin-bottom: 27px;
}
.card-text{
max-width: 350px;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.middle-photo{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 39px;
background: #E0E0E0;
padding-left: 72px;
padding-right: 72px;
position: relative;
}
.photo,.photo-desktop{
position: relative;
margin-bottom: -62px;
margin-top: 62px;
max-width: 100%;
width: 100%;
}
.photo-mobile{
display: none;
}
.second-card {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
padding: 191px 0;
justify-content: center;
}
.card-2{
display: flex;
flex-direction: column;
align-items: center;
margin: 0 12px;
padding: 35px 32px 35px 33px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.card2-text{
max-width: 367px;
font-size: 16px;
line-height: 24px;
text-align: center
}
.card2-image{
width: 20%;
display: block;
margin-bottom: 12px;
}
.final-card{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.final-card-info{
max-width: 550px;
text-align: center;
}
.final-card-title{
font-weight: 600;
font-size: 32px;
line-height: 39px;
text-align: center;
}
.final-card-text{
font-size: 16px;
line-height: 24px;
text-align: center;
margin-bottom: 50px;
}
.final-card-image-desktop{
width: 70%;
margin-bottom: 116px;
}
@media screen and (max-width:414px) {
.main-banner-desktop, .final-card-image-desktop {
display: none;
}
.main-banner-mobile, .final-card-image-mobile {
max-width: 100%;
}
.final-card-image-mobile{
margin-bottom: 50px;
}
}
@media screen and (max-width:768px){
.final-card-info{
max-width: 350px;
}
.final-card-text{
font-size: 16px;
line-height: 24px;
}
.final-card-title{
font-size: 24px;
line-height: 29px;
}
.top-card{
grid-template-columns: 1fr;
padding: 35px 33px 35px 33px;
}
.middle-photo{
gap: 13px;
grid-template-columns: repeat(2, 1fr);
padding-left: 23px;
padding-right: 23px;
text-align: center;
justify-content: center;
}
.photo{
margin-top: 32px;
}
.photo-desktop{
display: none;
}
.photo-mobile{
display: block;
justify-content: center;
margin-top: 100px;
}
}
@media screen and (max-width:992px) {
.top-infocard-image{
width: 40%;
}
.second-card{
grid-template-columns: 1fr;
margin: 0 23px;
}
.top-infocard-description{
margin: 0 28px 73px;
padding: 26px 36px;
}
.top-infocard-title{
font-size: 28px;
line-height: 34px;
text-transform: uppercase;
}
.top-infocard-subtitle{
font-size: 20px;
line-height: 24px;
}
}
@media screen and (min-width: 993px) and (max-width: 1250px){
.second-card {
grid-template-columns: repeat(2, max-content);
margin: 0 23px;
}
}
@media screen and (min-width: 769px) and (max-width: 1250px){
.top-card {
grid-template-columns: repeat(2, max-content);
padding: 35px 33px;
}
}
@media screen and (min-width:415px){
.main-banner-mobile, .final-card-image-mobile {
display: none;
}
}
@media screen and (min-width:2500px){
.top-infocard-text {
max-width: 2000px;
}
.top-infocard-title{
font-size: 144px;
line-height: 174px;
margin-bottom: 84px;
}
.top-infocard-subtitle{
margin-top: 219px;
font-size: 96px;
line-height: 117px;
}
.top-infocard-description{
font-size: 48px;
line-height: 72px;
margin-bottom: 252px;
}
.top-card{
padding: 222px 0;
}
.card-text{
max-width: 1050px;
font-size: 48px;
line-height: 72px;
}
.card2-text{
max-width: 1100px;
font-size: 48px;
line-height: 72px;
}
.second-card {
padding: 573px 0;
}
.final-card-info{
max-width: 1050px;
}
.final-card-text{
font-size: 48px;
line-height: 72px;
margin-bottom: 150px;
}
.final-card-title{
font-size: 72px;
line-height: 87px;
}
}

View File

@ -2,10 +2,18 @@
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>M3 Academy Landing Page</title>
<link rel="stylesheet" href="./assets/styles/style.css" />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap" rel="stylesheet">
</head>
<body>
<header class="page-header">
@ -14,5 +22,111 @@
</a>
</header>
<div>
<img class="main-banner-desktop" src="./assets/img/main-banner-desktop.png" alt="Banner Principal"/>
<img class="main-banner-mobile" src="./assets/img/main-banner-mobile.png" alt="Banner Principal"/>
</div>
<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/img/top-infocard-image.png" alt="Imagem do infocard do topo"/>
</section>
<section class="top-card">
<div class="card">
<img class="card-image" src = "./assets/img/top-card-image-1.png" alt="Primeira imagem do card" />
<p class="card-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="card">
<img class="card-image" src = "./assets/img/top-card-image-2.png" alt="Segunda imagem do card" />
<p class="card-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
<div class="card">
<img class="card-image" src = "./assets/img/top-card-image-3.png" alt="Terceira imagem do card" />
<p class="card-text">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</div>
</section>
<div class="middle-photo">
<img class="photo" src="./assets/img/photo1.png" alt="Primeira foto do meio da página" />
<img class="photo" src="./assets/img/photo2.png" alt="Segunda foto do meio da página" />
<img class="photo-desktop" id="photo3" src="./assets/img/photo3.png" alt="Terceira foto do meio da página" />
</div>
<section class="second-card">
<div class="card-2">
<img class="card2-image" src = "./assets/img/second-card-image-1.png" alt="Primeira imagem do card inferior" />
<p class="card2-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="card-2">
<img class="card2-image" src = "./assets/img/second-card-image-2.png" alt="Primeira imagem do card inferior" />
<p class="card2-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="card-2">
<img class="card2-image" src = "./assets/img/second-card-image-3.png" alt="Primeira imagem do card inferior" />
<p class="card2-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="card-2">
<img class="card2-image" src = "./assets/img/second-card-image-4.png" alt="Primeira imagem do card inferior" />
<p class="card2-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="final-card">
<img class="final-card-image-mobile" src="./assets/img/final-photo-mobile.png" alt="Banner final da pagina" />
<div class="final-card-info">
<h1 class="final-card-title" >Lorem ipsum dolor sit amet</h1>
<p class="final-card-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>
</div>
<img class="final-card-image-desktop" src="./assets/img/final-photo-desktop.png" alt="Banner final da pagina" />
</section>
</body>
</html>