challenge-landing-page-marc.../styles/styles.css

271 lines
4.4 KiB
CSS
Raw Normal View History

2022-10-10 22:55:13 +00:00
* {
margin: 0;
padding: 0;
}
2022-10-10 22:55:13 +00:00
header {
align-items: center;
height: 101px;
display: flex;
justify-content: center;
background: black;
width: 100%;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.banner-1-desktop {
width: 100%;
}
.banner-1-mobile {
width: 100%;
display: none;
}
2022-10-11 01:46:28 +00:00
.first-section h2 {
text-transform: uppercase;
font-size: 32px;
line-height: 39px;
font-weight: 400;
}
.first-section h1 {
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
line-height: 58px;
}
.first-section p {
margin-top: 28px;
text-align: left;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.text-1 {
width: 50%;
}
.first-section {
2022-10-11 02:34:44 +00:00
margin-top: 74px;
2022-10-11 01:46:28 +00:00
text-align: center;
display: flex;
justify-content: center;
align-items: center;
}
.image-computer{
width: 18%;
}
2022-10-11 02:34:44 +00:00
.image-section {
display: flex;
justify-content: center;
margin-top: 74px;
}
.section-cards {
justify-content: center;
align-items: center;
gap: 21px;
display: flex;
}
.image-card {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 18%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 179px;
}
.image-card-image {
display: block;
margin-top: 36px;
}
.image-card-paragraph {
padding-top: 27px;
padding: 26px;
max-width: 300px;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
2022-10-11 20:12:45 +00:00
.midle-card-section {
display: flex;
background: #E0E0E0;
margin-top: 80px;
justify-content: center;
2022-10-11 20:12:45 +00:00
align-items: center;
gap: 40px;
}
2022-10-12 01:25:05 +00:00
2022-10-11 20:12:45 +00:00
.midle-card {
2022-10-12 01:25:05 +00:00
position: relative;
top: 32px;
2022-10-11 20:12:45 +00:00
}
.midle-card-div {
2022-10-12 01:25:05 +00:00
display: flex;
gap: 40px;
justify-content: center;
2022-10-11 20:12:45 +00:00
}
.midle-card-section img {
flex-direction: row;
max-width: 50vmin;
}
.midle-card-section > img {
max-width: 50vmin;
}
.section-cards-second {
2022-10-12 14:57:10 +00:00
padding: 0 72px;
justify-content: center;
align-items: center;
gap: 16px;
display: flex;
}
.image-card-second {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 432px;
max-height: 332px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-top: 162px;
}
.image-card-image-second {
display: block;
margin-top: 36px;
}
.image-card-paragraph-second {
font-family: 'Inter';
font-style: normal;
color: #000000;
padding-top: 14px;
padding-bottom: 64px;
padding: 32px;
max-width: 368px;
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
2022-10-12 14:57:10 +00:00
.text-2-section h2 {
font-family: 'inter';
font-weight: 600;
font-size: 32px;
line-height: 40px;
text-align: center;
}
.text-2-section p {
font-family: 'inter';
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
}
.text-2 {
width: 28.65%;
}
.text-2-section {
margin-top: 118px;
display: flex;
justify-content: center;
align-items: center;
}
@media screen and (max-width: 1024px) {
2022-10-11 20:12:45 +00:00
.banner-1-desktop {
display: none;
}
.banner-1-mobile {
display: unset;
}
.text-1 {
width: 86.47%;
}
.first-section p {
text-align: center;
}
.section-cards {
display: flex;
flex-direction: column;
margin-top: 90px;
}
2022-10-11 20:12:45 +00:00
.image-card {
max-width: 84.54%;
margin-top: 0%;
padding-top: 35px;
padding-left: 26px;
padding-right: 26px;
padding-bottom: 27px;
}
2022-10-11 20:12:45 +00:00
.image-computer {
width: 57.73%;
}
2022-10-12 01:25:05 +00:00
.midle-card-section {
flex-direction: column;
padding: 0 23px;
gap: 24px;
}
2022-10-11 20:12:45 +00:00
2022-10-12 01:25:05 +00:00
.midle-card-div {
padding: 0 20px;
2022-10-12 01:25:05 +00:00
flex-direction: row-reverse;
gap: 14px;
justify-content: center;
}
2022-10-12 01:25:05 +00:00
.midle-card-div img {
max-width: 54.2%;
2022-10-11 02:34:44 +00:00
}
2022-10-12 01:25:05 +00:00
.midle-card-section > img {
max-width: 100%;
2022-10-11 02:34:44 +00:00
}
.section-cards-second {
display: flex;
flex-direction: column;
margin-top: 112px;
}
.image-card-second {
max-width: 84.54%;
margin-top: 0%;
padding-top: 35px;
padding-left: 26px;
padding-right: 26px;
padding-bottom: 27px;
}
2022-10-11 20:12:45 +00:00
}