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

99 lines
1.6 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'inter', sans-serif;
}
/* estilização do fundo */
.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;
}
.middle-information {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 74px 0 180px;
}
/* estilização para caixa do texto ( não coloquei em 40% para quebrar no paragrafo do figma */
.middle-text {
display:flex;
flex-direction: column;
align-items: center;
width: 40%;
margin-bottom: 74px;
}
.middle-information-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.middle-information-title {
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;
}
}