challenge-landing-page-jose.../style.css

190 lines
3.2 KiB
CSS
Raw Normal View History

2022-10-08 16:33:51 +00:00
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&display=swap');
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
2022-10-08 16:33:51 +00:00
body {
font-family: 'Inter', sans-serif;
2022-10-08 21:50:44 +00:00
2022-10-08 16:33:51 +00:00
}
.header_landing {
background-color: #000;
display: flex;
justify-content: center;
}
.logo_m3 {
margin: 28px 0;
}
.primary_banner {
width: 100%;
}
2022-10-08 16:33:51 +00:00
.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;
}
2022-10-08 21:50:44 +00:00
.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;
}
2022-10-08 22:52:40 +00:00
.second_container {
padding: 3rem;
2022-10-09 11:50:37 +00:00
height: 420px;
2022-10-08 22:52:40 +00:00
background-color: #E0E0E0;
display: flex;
gap: 24px;
width: 100%;
2022-10-09 11:50:37 +00:00
justify-content: center;
2022-10-08 22:52:40 +00:00
}
.preview_img {
width: 100%;
}
2022-10-09 11:50:37 +00:00
/*----------------------------------------------------------------------------*/
@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;
}
}
2022-10-09 11:50:37 +00:00
/*----------------------------------------------------------------------------*/
@media screen and (min-width:414px) {
.banner_mobile {
display: none;
}
.info_image,
.info_texts {
display: flex;
flex-direction: column;
align-items: center;
}
2022-10-08 21:50:44 +00:00
}
2022-10-09 11:50:37 +00:00
/*----------------------------------------------------------------------------*/
2022-10-08 21:50:44 +00:00
@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;
}
2022-10-09 11:50:37 +00:00
}
/*----------------------------------------------------------------------------*/
@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;
}
}