challenge-landing-page-jose.../style.css
2022-10-09 13:51:48 -03:00

267 lines
4.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
}
.header_landing {
background-color: #000;
display: flex;
justify-content: center;
}
.logo_m3 {
margin: 28px 0;
}
.primary_banner {
width: 100%;
}
.info_texts {
text-align: center;
width: 50%;
margin: 0 auto;
}
.info_subtitle {
margin-top: 76px;
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.info_title {
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.info_description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 76px;
margin-bottom: 76px;
}
.container {
display: flex;
margin-top: 178px;
gap: 22px;
justify-content: center;
}
.card {
background-color: #fff;
display: flex;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
justify-content: center;
align-items: center;
text-align: center;
width: 20%;
padding: 2rem;
margin-bottom: 80px;
}
.card_paragraph {
margin-top: 30px;
}
.img_card {
width: 100px;
}
.second_container {
padding: 3rem;
height: 400px;
background-color: #E0E0E0;
display: flex;
gap: 24px;
width: 100%;
justify-content: center;
}
.preview_img {
width: 410px;
}
.section_down {
display: flex;
flex-direction: column;
align-items: center;
}
.img_subdescription {
margin-top: 50px;
}
.info_footer {
padding: 2.5rem;
background-color: #000;
color: #fff;
margin-top: 116px;
}
.itens_footer {
display: flex;
justify-content: center;
align-items: center;
gap: 22px;
list-style: none;
margin-bottom: 16px;
}
.text_footer {
color: #BDBDBD;
}
/*----------------------------------------------------------------------------*/
@media screen and (max-width: 413px) {
.primary_banner {
display: none;
}
.banner_mobile {
width: 100%;
max-width: 414px;
}
.info_image,
.info_texts {
display: flex;
flex-direction: column;
align-items: center;
}
}
/*----------------------------------------------------------------------------*/
@media screen and (min-width:414px) {
.banner_mobile {
display: none;
}
.info_image,
.info_texts {
display: flex;
flex-direction: column;
align-items: center;
}
}
/*----------------------------------------------------------------------------*/
@media screen and (max-width:1120px) {
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.card {
width: 350px;
margin: 0 32px 24px;
}
.second_container {
display: block;
width: 100%;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
margin-top: 80px;
}
.preview_img {
width: 178px;
text-align: center;
}
.preview_solo {
width: 360px;
display: flex;
margin: 0 auto;
flex-direction: column;
}
.img_subdescription {
display: none;
}
.img_mobile {
width: 100%;
margin: 50px 0 50px;
align-items: center;
}
.section_down {
flex-direction: column-reverse;
}
}
/*----------------------------------------------------------------------------*/
@media screen and (min-width:2199px) {
.second_container {
display: flex;
justify-content: center;
height: 680px;
}
.preview_img {
width: 100%;
width: 720px;
}
.info_subtitle {
margin-top: 76px;
font-weight: 400;
font-size: 56px;
line-height: 39px;
text-transform: uppercase;
}
.info_title {
font-weight: 500;
font-size: 64px;
line-height: 58px;
text-transform: uppercase;
margin-top: 40px;
}
.info_description {
font-weight: 400;
font-size: 44px;
line-height: 56px;
margin-top: 76px;
margin-bottom: 76px;
}
}
@media screen and (min-width:1121px) {
.img_mobile {
display: none;
}
}