challenge-landing-page-Gust.../assets/Css/Styles.css

170 lines
3.3 KiB
CSS
Raw Normal View History

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.Page-Header{
display: flex;
justify-content: center;
padding: 30px 0;
background: #000000;
}
.main-banner{
display: block;
width: 100%;
}
.Header-Logo{
display: block;
}
.TopInfocard{
display: flex;
align-items: center;
justify-content: center;
padding: 74px 0 74px;
}
.TopInfocardText{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
height: 182px;
max-width: 766px;
}
.TopInfocardSubtitle{
width: 100%;
font-weight: 400;
font-size: 32px;
line-height: 40px;
max-width: 220px;
max-height: 40px;
}
.TopInfocardTitle{
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.TopInfocardDescription{
font-weight: 400;
text-align: center;
padding: 0 52px;
font-size: 16px;
line-height: 24px;
}
.PcContainer{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.ImageTop{
max-width: 316px;
max-height: 352px;
display: flex;
justify-content: center;
align-items: center;
}
.Cards{
display: grid;
grid-template-columns: repeat(3,max-content);
gap: 20px;
justify-content: center;
padding: 142px 0 180px;
}
.CardBox{
display: flex;
justify-content: center;
flex-direction: column;
align-items:center;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
max-width: 300px;
font-size: 16px;
height: 288px;
line-height: 24px;
font-weight: 400;
}
.CardDescription{
text-align: center;
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
@media screen and (max-width: 1023px) {
.MainBannerDesktop{
display: none;
}
.TopInfocard{
padding: 144px 0 66px;
}
.ImageTop{
max-width: 240px;
max-height: 240px;
}
.TopInfocardSubtitle{
font-size: 20px;
max-width: 138px;
max-height: 24px;
line-height: 24px;
}
.TopInfocardTitle{
font-size: 28px;
line-height: 34px;
}
.TopInfocardDescription{
font-size: 16px;
line-height: 24px;
padding: 0 28px;
max-width: 358px;
max-height: 116px;
}
.Cards{
grid-template-columns: 1fr;
padding: 90px 32px ;
gap:24px;
justify-items: center;
}
}
@media screen and (min-width: 1024px) {
.MainBannerMobile{
display: none;
}
}
/* Concertar medidas futuramente */
@media screen and (min-width: 2500px) {
.TopInfocardText{
max-width: 1532px;
height: 364px;
}
.TopInfocardSubtitle{
font-size: 40px;
}
.TopInfocardTitle{
font-size: 60px;
}
.TopInfocardDescription{
line-height: 30px;
font-size: 38px;
}
.ImageTop{
max-width: 630px;
max-height: 704px;
height: 704px;
}
.CardBox{
max-width: 600px;
font-size: 64px;
height: 578px;
line-height: 24px;
}
.imageCard{
width: 204px;
height: 206px;
}
.CardDescription{
font-size: 38px;
line-height: 28px;
}
}