forked from M3-Academy/challenge-landing-page
306 lines
4.7 KiB
CSS
306 lines
4.7 KiB
CSS
@charset "UTF-8";
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
/*Header*/
|
|
|
|
.page-header {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: black;
|
|
height: 101px;
|
|
}
|
|
|
|
.logo-header {
|
|
display: block;
|
|
}
|
|
/* Body*/
|
|
.main-banner {
|
|
width: 100%;
|
|
}
|
|
|
|
.section-1 {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text-align: center;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0 28px;
|
|
|
|
}
|
|
|
|
.main-title {
|
|
font-family: 'Inter', sans-serif;
|
|
padding: 73px 0;
|
|
}
|
|
|
|
.main-title h2,
|
|
.main-title h1 {
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.main-title h1 {
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.main-title h2 {
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.main-title p {
|
|
max-width: 766px;
|
|
margin-top: 28px;
|
|
}
|
|
|
|
.computer-image{
|
|
max-width: 239px;
|
|
}
|
|
|
|
.cards-wrapper {
|
|
display: flex;
|
|
gap: 21px;
|
|
margin-top: 179px;
|
|
}
|
|
|
|
.card {
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
max-width: 350px;
|
|
padding: 35px 26px 27px 26px;
|
|
}
|
|
|
|
.card figcaption {
|
|
font-family: 'Inter', sans-serif;
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
text-align: center;
|
|
margin-top: 27px;
|
|
|
|
}
|
|
|
|
.grid-images{
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 80px;
|
|
background-color: #E0E0E0;
|
|
padding: 0 72px;
|
|
}
|
|
|
|
.grid-images-wrapper{
|
|
display: flex;
|
|
position: relative;
|
|
bottom: -62px;
|
|
gap: 39px;
|
|
}
|
|
|
|
.grid-images-wrapper img{
|
|
width: 100%;
|
|
max-width: 566px;
|
|
max-height: 530px;
|
|
}
|
|
|
|
.cards-bottom{
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
text-align: center;
|
|
justify-content: center;
|
|
margin-top: 191px;
|
|
margin-bottom: 108px;
|
|
}
|
|
|
|
.cards-bottom .card{
|
|
max-width: 432px;
|
|
}
|
|
|
|
.section-2{
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
max-width: 1360px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
margin-bottom: 116px;
|
|
}
|
|
|
|
.bottom-texts{
|
|
margin-bottom: 50px;
|
|
}
|
|
|
|
.section-2 .bottom-texts h2{
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 600;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
}
|
|
|
|
.section-2 .bottom-texts p {
|
|
max-width: 550px;
|
|
font-family: 'Inter', sans-serif;
|
|
font-weight: 400;
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.image-bottom{
|
|
max-width: 1360px;
|
|
width: 100%;
|
|
}
|
|
|
|
footer{
|
|
background-color: black;
|
|
padding: 38px 0;
|
|
}
|
|
|
|
.image-footers{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 16px;
|
|
|
|
}
|
|
|
|
footer p {
|
|
color: #BDBDBD;
|
|
font-family: 'Inter', sans-serif;
|
|
text-align: center;
|
|
margin-top: 16px;
|
|
font-weight: 400;
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width:1024px) {
|
|
|
|
.main-title{
|
|
padding: 73px 0 65px;
|
|
}
|
|
|
|
.main-title h1{
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
min-height: 49px;
|
|
}
|
|
|
|
.main-title h2{
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.main-title p{
|
|
margin-top: 0;
|
|
}
|
|
|
|
.cards-wrapper{
|
|
flex-direction: column;
|
|
margin-top: 90px;
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.grid-images{
|
|
padding: 0 24px;
|
|
}
|
|
|
|
.grid-images-wrapper{
|
|
display: grid;
|
|
row-gap: 24px;
|
|
column-gap: 14px;
|
|
bottom: -32px;
|
|
grid-template-areas:
|
|
"b a"
|
|
"c c";
|
|
grid-template-columns: auto;
|
|
grid-template-rows: auto;
|
|
}
|
|
|
|
.grid-image-a{
|
|
grid-area: a;
|
|
}
|
|
|
|
.grid-image-b{
|
|
grid-area: b;
|
|
}
|
|
|
|
.grid-image-c{
|
|
grid-area: c;
|
|
}
|
|
|
|
.grid-images-wrapper img{
|
|
max-width: unset;
|
|
}
|
|
|
|
.cards-bottom{
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 0 24px;
|
|
margin-bottom: 98px;
|
|
}
|
|
|
|
.card,.cards-bottom .card{
|
|
max-width: unset;
|
|
}
|
|
|
|
.section-2{
|
|
flex-direction: column-reverse;
|
|
margin-bottom: 87px;
|
|
}
|
|
|
|
.section-2 picture{
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
.bottom-texts{
|
|
margin-top: 50px;
|
|
margin-bottom: unset;
|
|
padding: 0 32px;
|
|
}
|
|
|
|
.bottom-texts h2{
|
|
margin-bottom: 9px;
|
|
font-size: 24px;
|
|
line-height: 29px;
|
|
}
|
|
|
|
.bottom-texts p {
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.image-bottom{
|
|
max-height: 414px;
|
|
object-fit: cover;
|
|
}
|
|
|
|
footer{
|
|
padding: 32px 0;
|
|
}
|
|
|
|
footer p {
|
|
font-family: 'Inter';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-size: 10px;
|
|
line-height: 12px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
color: #BDBDBD;
|
|
}
|
|
|
|
}
|