challenge-landing-page/style/style.css

111 lines
1.6 KiB
CSS
Raw Normal View History

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
/* variaveis de cores */
:root {
--black: #000000;
--white: #FFFFFF;
--grey-body: #E5E5E5;
--grey: #E0E0E0;
--grey-footer: #BDBDBD;
}
/* HEADER DA PAGINA */
header {
height: 100px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: var(--black);
}
.header-logo {
display: block;
}
main {
background-color: var(--grey-body);
}
/* BANNER DESKTOP */
.banner-img {
width: 100%;
display: block;
}
.banner-img-mobile {
display: none;
}
/* AREA ABAIXO DO BANNER */
.container-midle {
width: 100%;
}
.container-midle-flex {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-top: 74px;
border: 2px solid red;
}
.container-midle-title {
width: 22%;
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.container-midle-subtitle {
width: 11.75%;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.container-midle-paragraph {
width: 40%;
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin: 30px 0 74px;
}
/* .container-midle-banner {
max-width: 315px;
} */
.container-midle-img {
border: 1px solid;
width: 16%;
height: 16%;
display: block;
}
@media (max-width:1024px) {
/* BANNER MOBILE */
.banner-img-desktop {
display: none;
}
.banner-img-mobile {
display: block;
}
}