challenge-landing-page-carl.../assets/styles/main.css

388 lines
6.4 KiB
CSS
Raw Normal View History

*{
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{
}
2022-10-10 01:23:34 +00:00
.topbannerdesktop{
width: 100%;
2022-10-10 01:23:34 +00:00
}
.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;
}
2022-10-09 02:16:52 +00:00
.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;
}
2022-10-09 04:09:10 +00:00
.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%;
}
2022-10-10 14:57:22 +00:00
.middlecards{
display:flex;
2022-10-11 00:37:39 +00:00
margin: 129px 72px 0 72px;
2022-10-10 14:57:22 +00:00
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;
2022-10-11 00:37:39 +00:00
}
.bottombanner{
2022-10-11 01:36:23 +00:00
margin-top:108px;
2022-10-11 00:53:19 +00:00
}
.bottombanner figure{
display: flex;
flex-direction: column;
align-items: center;
2022-10-11 01:36:23 +00:00
2022-10-11 00:37:39 +00:00
text-align: center;
}
2022-10-11 01:36:23 +00:00
.bottombanner figure figcaption{
width: 35%;
}
2022-10-11 00:53:19 +00:00
2022-10-11 00:37:39 +00:00
.bottombanner-subtitle{
font-weight: 600;
font-size: 32px;
line-height: 39px;
}
.bottombanner-text{
font-weight: 400;
font-size: 16px;
line-height: 24px;
margin-bottom: 50px;
}
.bottombanner-desktop{
display: block;
2022-10-11 01:36:23 +00:00
width: 71%;
2022-10-11 00:37:39 +00:00
}
.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;
2022-10-10 14:57:22 +00:00
}
2022-10-10 14:57:22 +00:00
@media screen and (max-width: 767px){
2022-10-10 01:23:34 +00:00
.topbannerdesktop{
display:none;
}
.topbannermobile{
width: 100%;
display: block;
}
}
2022-10-10 14:57:22 +00:00
@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%;
}
2022-10-09 02:16:52 +00:00
.topcards{
margin: 0 10%;
}
.topcards-wrapper{
2022-10-10 14:57:22 +00:00
margin-top: 90px;
2022-10-09 02:16:52 +00:00
margin-bottom: 80px;
flex-direction:column;
gap:24px;
}
.topcard-text{
min-width: 0;
}
2022-10-09 04:09:10 +00:00
.middle-wrapper{
2022-10-10 01:23:34 +00:00
top:32px;
2022-10-09 04:09:10 +00:00
}
.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%;
2022-10-10 01:23:34 +00:00
margin: 0 23px;
2022-10-09 04:09:10 +00:00
}
.middle-img1{
grid-area: 1 / 3 / 2 / 5;
}
.middle-img2{
2022-10-10 14:57:22 +00:00
2022-10-09 04:09:10 +00:00
grid-area: 1 / 1 / 2 / 3;
}
.middle-img3{
grid-area: 2 / 1 / 3 / 5;
}
2022-10-10 14:57:22 +00:00
.middlecards{
gap:16px;
margin: 80px 23px;
flex-direction: column;
}
.middlecard{
}
.middlecard-text{
font-size: 14px;
}
2022-10-11 00:53:19 +00:00
.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;
}
2022-10-11 01:36:23 +00:00
.bottombanner figure figcaption{
width:auto;
margin: 0 7%;
}
2022-10-11 00:53:19 +00:00
.bottombanner-subtitle{
margin-top: 50px;
margin-bottom: 9px;
font-size: 24px;
line-height: 29px;
}
.bottombanner-text{
2022-10-11 01:36:23 +00:00
margin:0;
2022-10-11 00:53:19 +00:00
}
.bottombanner-desktop{
display: none;
}
.bottombanner-mobile{
display:block;
width: 100%;
}
2022-10-11 01:36:23 +00:00
2022-10-11 00:53:19 +00:00
.footer{
margin-top: 87px;
padding: 32px;
}
.footer-text{
text-align: center;
font-size: 10px;
line-height: 12px;
}
}
2022-10-09 04:09:10 +00:00
@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{
2022-10-11 00:05:12 +00:00
width: 13vw;
2022-10-09 02:16:52 +00:00
}
.topcard-text{
font-weight: 400;
font-size: 32px;
line-height: 48px;
}
2022-10-11 00:05:12 +00:00
.topcard figure img{
width: 3vw;
}
2022-10-10 14:57:22 +00:00
.middlecard-text{
font-size: 32px;
line-height: 48px;
}
2022-10-11 00:05:12 +00:00
.middlecard figure img{
width: 3vw;
}
2022-10-11 01:36:23 +00:00
.bottombanner-subtitle{
font-size: 64px;
line-height: 78px;
}
.bottombanner-text{
font-size: 32px;
line-height: 48px;
}
.footer-text{
font-size: 20px;
line-height: 24px;
}
}