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

99 lines
1.6 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%;
display: block;
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;
padding: 74px 0 180px;
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;
}
@media screen and (max-width: 414px) {
.main-banner-desktop, .main-image-desktop {
display: none;
}
}
@media screen and (min-width:415px ) {
.main-banner-mobile, .main-image-mobile {
display: none;
}
}
@media screen and (max-width:1024px) {
.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;
}
}