challenge-landing-page-vict.../main.css

163 lines
2.4 KiB
CSS
Raw Normal View History

2022-10-10 01:43:13 +00:00
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
2022-10-09 23:54:59 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-10-10 01:43:13 +00:00
body {
font-family: 'inter', sans-serif;
}
/* estilização do fundo */
2022-10-09 23:54:59 +00:00
.head-logo {
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
}
/* posicionamento da imagem */
.head-image {
width: 100%;
padding: 28px 0 ;
}
.main-banner {
width: 100%;
2022-10-10 19:10:57 +00:00
display: block;
}
.main-image-desktop {
margin-bottom: 180px;
2022-10-10 01:43:13 +00:00
}
.middle-information {
2022-10-10 01:43:13 +00:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
2022-10-10 20:42:04 +00:00
padding: 74px 0 80px;
2022-10-10 01:43:13 +00:00
}
/* estilização para caixa do texto ( não coloquei em 40% para quebrar no paragrafo do figma */
.middle-text {
display:flex;
2022-10-10 01:43:13 +00:00
flex-direction: column;
align-items: center;
width: 40%;
margin-bottom: 74px;
2022-10-10 01:43:13 +00:00
}
.middle-information-subtitle {
2022-10-10 01:43:13 +00:00
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.middle-information-title {
2022-10-10 01:43:13 +00:00
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
margin-bottom: 28px;
}
2022-10-10 19:10:57 +00:00
.middle-cards {
display: flex;
justify-content: center;
gap: 22px;
}
2022-10-10 19:10:57 +00:00
.middle-card {
display: flex;
flex-direction: column;
align-items: center;
max-width: 18%;
background-color:#FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 36px 26px 28px;
}
.middle-card-image {
display: block;
margin-bottom: 26px;
}
.middle-card-description {
font-size: 16px;
line-height: 24px;
text-align: center;
}
2022-10-10 20:42:04 +00:00
.middle-banners {
display:flex;
align-items: center;
justify-content: center;
background: #E0E0E0;
2022-10-10 19:10:57 +00:00
2022-10-10 20:42:04 +00:00
}
.middle-banners-image {
margin-top: 62px;
max-width: 30%;
width: 100%;
display: flex;
}
2022-10-10 19:10:57 +00:00
2022-10-10 20:42:04 +00:00
.middle-banners-image:nth-child(2) {
margin: 62px 40px 0 40px ;
}
2022-10-10 19:10:57 +00:00
@media screen and (min-width: 1025px) {
.main-banner-mobile, .main-image-mobile {
display: none;
}
2022-10-10 19:10:57 +00:00
}
/* @media screen and (max-width:1024px) {
.main-banner-desktop, .main-image-desktop {
display: none;
}
.middle-text {
width: 100%;
max-width: 112%;
text-align: center;
}
.middle-information {
padding: 74px 28px 90px;
}
.middle-information-subtitle {
font-size: 20px;
line-height: 24px;
}
.middle-information-title {
font-size: 28px;
line-height: 34px;
}
}
2022-10-10 19:10:57 +00:00
*/