challenge-landing-page-emer.../assets/style.css

306 lines
4.7 KiB
CSS
Raw Normal View History

2022-10-08 22:06:05 +00:00
@charset "UTF-8";
* {
2022-10-08 22:06:05 +00:00
margin: 0;
padding: 0;
2022-10-12 20:10:06 +00:00
box-sizing: border-box;
2022-10-08 22:06:05 +00:00
}
2022-10-08 23:43:02 +00:00
/*Header*/
2022-10-08 22:06:05 +00:00
.page-header {
2022-10-08 22:06:05 +00:00
display: flex;
justify-content: center;
align-items: center;
background-color: black;
height: 101px;
}
.logo-header {
2022-10-08 22:06:05 +00:00
display: block;
}
/* Body*/
2022-10-08 23:43:02 +00:00
.main-banner {
width: 100%;
}
.section-1 {
2022-10-08 23:43:02 +00:00
display: flex;
flex-direction: column;
text-align: center;
2022-10-08 23:43:02 +00:00
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;
}
2022-10-08 23:43:02 +00:00
.main-title p {
max-width: 766px;
margin-top: 28px;
}
2022-10-08 23:43:02 +00:00
.computer-image{
max-width: 239px;
}
2022-10-08 23:43:02 +00:00
.cards-wrapper {
display: flex;
gap: 21px;
margin-top: 179px;
}
.card {
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 350px;
2022-10-08 23:43:02 +00:00
padding: 35px 26px 27px 26px;
}
2022-10-12 18:38:51 +00:00
.card figcaption {
2022-10-08 23:43:02 +00:00
font-family: 'Inter', sans-serif;
font-style: normal;
font-weight: 400;
font-size: 16px;
line-height: 24px;
text-align: center;
margin-top: 27px;
}
2022-10-12 19:20:05 +00:00
.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;
}
2022-10-12 20:10:06 +00:00
.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;
}
2022-10-12 21:15:33 +00:00
.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%;
}
2022-10-12 22:04:00 +00:00
footer{
background-color: black;
padding: 38px 0;
}
.image-footers{
display: flex;
align-items: center;
justify-content: center;
gap: 16px;
}
footer p {
color: #BDBDBD;
2022-10-13 19:43:39 +00:00
font-family: 'Inter', sans-serif;
2022-10-12 22:04:00 +00:00
text-align: center;
margin-top: 16px;
2022-10-13 19:43:39 +00:00
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
2022-10-12 22:04:00 +00:00
}
2022-10-12 18:34:44 +00:00
@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;
}
2022-10-12 19:20:05 +00:00
.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;
}
2022-10-12 20:10:06 +00:00
.cards-bottom{
flex-direction: column;
justify-content: center;
align-items: center;
padding: 0 24px;
margin-bottom: 98px;
}
.card,.cards-bottom .card{
2022-10-12 20:10:06 +00:00
max-width: unset;
}
2022-10-12 21:15:33 +00:00
.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;
}
2022-10-12 22:04:00 +00:00
footer{
padding: 32px 0;
}
2022-10-12 20:10:06 +00:00
2022-10-13 19:43:39 +00:00
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;
}
}