challenge-landing-page-gabr.../assets/style/main.css

189 lines
3.1 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
color: #000000;
}
.page-header {
display: flex;
justify-content: center;
padding: 28px 0;
background: #000000;
}
.logo-header {
display: block;
max-width: 226px;
width: 100%;
}
.image-main {
width: 100%;
}
.first-infocard {
display: block;
text-align: center;
}
.first-infocard-text {
display: flex;
align-items: center;
flex-direction: column;
padding: 73px 0 73px 0;
}
.first-infocard-subtitle {
text-transform: uppercase;
font-size: 32px;
font-weight: 400;
line-height: 39px;
}
.first-infocard-title {
text-transform: uppercase;
font-size: 48px;
font-weight: 500;
line-height: 58px;
}
.first-infocard-description {
max-width: 766px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
padding-top: 28px;
}
.first-infocard-image {
margin-bottom: 180px;
}
.second-infocard {
display: grid;
justify-content: center;
grid-template-columns: repeat(3,350px);
gap: 22px;
}
.second-infocard-middle {
width: 350px;
height: 288px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.second-infocard-image {
margin: 0 auto;
display: block;
padding-top: 36px;
}
.second-infocard-text {
font-size: 16px;
line-height: 24px;
text-align: center;
padding: 26px;
}
.banner-middle {
background: #E0E0E0;
margin-top: 80px;
}
.banner-middle-align {
display: flex;
gap: 40px
}
.banner-middle-images {
display: flex;
justify-content: center;
padding: 0 72px;
position: relative;
top: 62px;
gap: 40px;
}
.banner-middle-image {
max-width: 566px;
width: 100%;
}
@media screen and (min-width: 769px) and (max-width: 1270px) {
.second-infocard {
grid-template-columns: repeat(2, 350px);
}
}
@media screen and (max-width: 768px) {
.first-infocard-title {
font-size: 28px;
line-height: 34px;
}
.first-infocard-subtitle {
font-size: 20px;
line-height: 24px;
}
.first-infocard-description {
margin: 28px;
}
.first-infocard-image {
max-width: 239px;
max-height: 239px;
margin-bottom: 90px;
}
.second-infocard {
grid-template-columns: 350px;
}
.banner-middle-image {
display: flex;
flex-direction: column;
margin: 0 auto;
position: relative;
top: 32px;
}
.banner-middle-images {
display: flex;
width: 100%;
flex-direction: column;
align-items: center;
row-gap: 24px;
}
.image2, .image1 {
max-width: 177px;
}
.image3 {
max-width: 368px;
}
.banner-middle-align {
display: flex;
flex-direction: row-reverse;
column-gap: 14px;
}
}
@media screen and (max-width: 415px) {
.image-main-desktop {
content: url(../imagem/banner-main-mobile.png);
}
}