challenge-landing-page-carl.../assets/styles/main.css
2022-10-10 21:53:19 -03:00

374 lines
6.1 KiB
CSS

*{
margin:0;
padding:0;
box-sizing: border-box;
}
body{
font-family: 'Inter', sans-serif;
}
.header{
text-align: center;
background: #000000;
width: 100%;
height: 100px;
padding:28px;
}
.header img{
}
.topbannerdesktop{
width: 100%;
}
.topbannermobile{
display: none;
}
.topinfo{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.topinfo-texts{
text-align: center;
margin-top: 73px;
width: 43%;
}
.topinfo-subtitle{
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
line-height: 39px;
}
.topinfo-title{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.topinfo-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-top: 28px;
text-align: left;
}
.topinfo-img{
margin-top:70px;
}
.topcards{
margin: 0 25%;
}
.topcards-wrapper{
margin-top: 178px;
margin-bottom: 80px;
display: flex;
justify-content: center;
gap:21px;
}
.topcard{
padding: 46px 26px 27px;
text-align: center;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.topcard-text{
min-width: 300px;
margin-top: 38px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.middle{
background: #E0E0E0;
}
.middle-wrapper{
display: flex;
align-items: center;
position: relative;
justify-content: center;
top:62px;
width: 100%;
}
.gridimg{
margin:0 72px;
display: grid;
flex-wrap:nowrap;
grid-template-columns: 1fr 1fr 1fr;
gap:39px;
width: 100%;
}
.middle-img1{
display: block;
width: 100%;
}
.middle-img2{
display: block;
width: 100%;
}
.middle-img3{
display: block;
width: 100%;
}
.middlecards{
display:flex;
margin: 129px 72px 0 72px;
gap:16px;
background: #FFFFFF;
}
.middlecard{
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
text-align: center;
padding:51px 32px 65px 32px;
}
.middlecard-text{
margin-top: 32px;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottombanner{
display:flex;
flex-direction: column;
align-items: center;
margin-top: 108px;
}
.bottombanner figure{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.bottombanner-subtitle{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottombanner-text{
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
max-width: 550px;
margin-bottom: 50px;
}
.bottombanner-desktop{
display: block;
width: 100%;
}
.bottombanner-mobile{
display:none;
}
.footer{
width: 100%;
background-color: #000000;
margin-top: 116px;
padding: 38px;
display: flex;
align-items: center;
flex-direction: column;
gap: 17px;
}
.footer a{
text-decoration: none;
}
.footer nav figure{
display: flex;
gap:21px;
}
.footerimg{
}
.footer-text{
font-weight: 400;
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
@media screen and (max-width: 767px){
.topbannerdesktop{
display:none;
}
.topbannermobile{
width: 100%;
display: block;
}
}
@media screen and (max-width: 1439px){
.topinfo-texts{
min-width: 86%;
}
.topinfo-subtitle{
font-weight: 400;
font-size: 20px;
line-height: 24px;
}
.topinfo-title{
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
.topinfo-text{
text-align: center;
font-size: 16px;
line-height: 24px;
}
.figuretopinfo{
text-align: center;
}
.topinfo-img{
width: 75%;
}
.topcards{
margin: 0 10%;
}
.topcards-wrapper{
margin-top: 90px;
margin-bottom: 80px;
flex-direction:column;
gap:24px;
}
.topcard-text{
min-width: 0;
}
.middle-wrapper{
top:32px;
}
.gridimg{
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(1, 1fr);
grid-row-gap: 24px;
grid-column-gap: 14px;
width: 100%;
margin: 0 23px;
}
.middle-img1{
grid-area: 1 / 3 / 2 / 5;
}
.middle-img2{
grid-area: 1 / 1 / 2 / 3;
}
.middle-img3{
grid-area: 2 / 1 / 3 / 5;
}
.middlecards{
gap:16px;
margin: 80px 23px;
flex-direction: column;
}
.middlecard{
}
.middlecard-text{
font-size: 14px;
}
.bottombanner-desktop{
display: none;
}
.bottombanner-mobile{
display:block;
}
.bottombanner{
margin-top: 98px;
}
.bottombanner figure{
display:flex;
flex-direction: column-reverse;
align-items: center;
text-align: center;
}
.bottombanner-subtitle{
margin-top: 50px;
margin-bottom: 9px;
font-size: 24px;
line-height: 29px;
}
.bottombanner-text{
margin:0 32px;
}
.bottombanner-desktop{
display: none;
}
.bottombanner-mobile{
display:block;
width: 100%;
}
.footer{
margin-top: 87px;
padding: 32px;
}
.footer-text{
text-align: center;
font-size: 10px;
line-height: 12px;
}
}
@media screen and (min-width: 2500px){
.topinfo-subtitle{
font-size: 64px;
line-height: 78px;
}
.topinfo-title{
font-size: 96px;
line-height: 116px;
}
.topinfo-text{
font-size: 32px;
line-height: 48px;
margin-top: 28px;
}
.figuretopinfo{
width: 100%;
text-align: center;
}
.topinfo-img{
width: 13vw;
}
.topcard-text{
font-weight: 400;
font-size: 32px;
line-height: 48px;
}
.topcard figure img{
width: 3vw;
}
.middlecard-text{
font-size: 32px;
line-height: 48px;
}
.middlecard figure img{
width: 3vw;
}
}