forked from M3-Academy/challenge-landing-page
159 lines
2.5 KiB
CSS
159 lines
2.5 KiB
CSS
/*resets da página*/
|
|
*{
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Inter', sans-serif;
|
|
color: #000000;
|
|
}
|
|
/*Definindo estilos gerais*/
|
|
.galeria-content,
|
|
.content,
|
|
.top-infocard,
|
|
.page-banner-principal-mobile,
|
|
.page-logo,
|
|
.page-banner-principal-desktop{
|
|
width: 100%;
|
|
}
|
|
/*Estilo menu/header*/
|
|
.page-logo{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 29px 0;
|
|
background: #000000;
|
|
}
|
|
|
|
.logo-m3academy{
|
|
display: block;
|
|
}
|
|
|
|
/*Banner mobile*/
|
|
|
|
.page-banner-principal-mobile{
|
|
display: none;
|
|
}
|
|
|
|
/*Estilo do top infocard*/
|
|
|
|
.top-infocard{
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 73px 0;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
max-width: 766px;
|
|
}
|
|
|
|
.top-infocard-text > h2,h1{
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-text h2{
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
line-height: 39px;
|
|
}
|
|
|
|
.top-infocard-text h1{
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
line-height: 58px;
|
|
}
|
|
|
|
.top-infocard-text p{
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
padding: 65px 0 0 0;
|
|
}
|
|
|
|
/*Estilo do primeiro setor de boxes*/
|
|
.content{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 20px;
|
|
padding: 80px 0;
|
|
}
|
|
|
|
.box{
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 33%;
|
|
max-width: 350px;
|
|
padding: 27px 26px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: #FFFFFF;
|
|
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
|
|
}
|
|
|
|
.box-text{
|
|
margin-top: 27px;
|
|
text-align: center;
|
|
}
|
|
|
|
/*Estilo da galeria*/
|
|
|
|
.galeria-content{
|
|
background: #E0E0E0;
|
|
}
|
|
|
|
@media screen and (max-width: 1024px){
|
|
.page-banner-principal-mobile{
|
|
display: block;
|
|
}
|
|
|
|
.page-banner-principal-desktop{
|
|
display: none;
|
|
}
|
|
|
|
.top-infocard{
|
|
padding: 73px 28px;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
max-width: 357px;
|
|
text-align: center;
|
|
}
|
|
|
|
.top-infocard-text h2{
|
|
font-size: 20px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-text h1{
|
|
font-size: 28px;
|
|
line-height: 34px;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
width: 60%;
|
|
}
|
|
|
|
.content{
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 90px 32px;
|
|
row-gap: 20px;
|
|
}
|
|
|
|
.box{
|
|
width: 100%;
|
|
}
|
|
|
|
}
|
|
|
|
@media screen and (min-width: 2500px){
|
|
.top-infocard-text p{
|
|
font-size: 24px;
|
|
line-height: 32px;
|
|
}
|
|
} |