feat: adicionando os 4 "cards" finais

This commit is contained in:
Ana Carolina Duarte Cavalcante 2022-10-09 15:36:37 -03:00
parent 5c4e722320
commit aafa556d88
2 changed files with 126 additions and 12 deletions

View File

@ -82,6 +82,42 @@
</div>
</div>
<div class="bottom-cards">
<div class="bottom-cards-container">
<div class="first-bottom-card">
<figure>
<img src="./assets/svg/four-cards-money.svg" alt="ícone mercado">
<figcaption>
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="second-bottom-card">
<figure>
<img src="./assets/svg/four-cards-payment.svg" alt="ícone de bolsa com um escudo e ícone de confirmação">
<figcaption>
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="three-bottom-card">
<figure>
<img src="./assets/svg/four-cards-laptop.svg" alt="ícone de uma mão aberta com um símbolo de dólar em cima">
<figcaption>
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="four-bottom-card">
<figure>
<img src="./assets/svg/four-cards-phone.svg" alt="ícone de uma mão aberta com um símbolo de dólar em cima">
<figcaption>
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>
</div>
</main>
</body>
</html>

View File

@ -53,6 +53,11 @@
}
/* primeiros cards */
.first-content-card {
margin-top: 179px;
margin-bottom: 62px;
width: 100%;
}
.content-card-container {
max-width: 1092px;
@ -67,12 +72,6 @@
margin: auto;
}
.first-content-card {
margin-top: 179px;
margin-bottom: 62px;
width: 100%;
}
.first-card figure, .second-card figure, .three-card figure {
width: 100%;
max-width: 350px;
@ -107,24 +106,66 @@
height: 530px;
display: grid;
grid-template-areas:
"A B C";
"A B C";
justify-content: center;
align-items: center;
gap: 39px;
position: relative;
margin: auto;
top: 62px;
padding-left: 72px;
padding-right: 72px;
padding-bottom: 0;
padding-top: 62px;
}
.first-card-macbook figure img,.second-card-macbook figure img,.third-card-macbook figure img{
.first-card-macbook figure img, .second-card-macbook figure img, .third-card-macbook figure img {
max-width: 566px;
width: 100%;
}
/* área final com 4 cards */
.bottom-cards {
margin-top: 191px;
margin-bottom: 108px;
width: 100%;
}
.bottom-cards-container {
max-width: 1776px;
width: 100%;
height: 332px;
display: grid;
grid-template-columns: repeat(4, 1fr);
justify-content: center;
align-items: center;
gap: 16px;
position: relative;
margin: auto;
}
.first-bottom-card figure, .second-bottom-card figure, .three-bottom-card figure, .four-bottom-card figure {
width: 100%;
max-width: 432px;
height: 332px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
display: flex;
justify-content: space-around;
align-items: center;
flex-direction: column;
margin: 0px auto;
padding: 27px;
}
.first-bottom-card figcaption, .second-bottom-card figcaption, .three-bottom-card figcaption, .four-bottom-card figcaption {
max-width: 367px;
width: 100%;
height: auto;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
color: #000000;
}
@media screen and (max-width: 1025px) {
.background-main figure img {
height: 100%;
@ -230,6 +271,43 @@
width: 100%;
}
.bottom-cards {
margin-top: 80px;
width: 100%;
max-height: 1376px;
display: flex;
justify-content: center;
align-items: center;
}
.bottom-cards-container {
width: 100%;
height: 100%;
grid-template-columns: repeat(1, 1fr);
justify-content: space-around;
padding: 0 23px;
gap: 16px;
}
}
@media screen and (max-width: 281px){
.cards-macbook {
height: auto;
}
.cards-macbook-container {
height: auto;
top: 32px;
}
.first-bottom-card figure, .second-bottom-card figure, .three-bottom-card figure, .four-bottom-card figure {
height: auto;
}
.bottom-cards {
max-height: 1640px;
}
}
@media screen and (min-width: 2500px) {