challenge-landing-page-manu.../assets/styles/styles.css

113 lines
1.8 KiB
CSS

/*resets da página*/
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
color: #000000;
}
/*Definindo escopos*/
.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;
}
@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%;
}
}
@media screen and (min-width: 2500px){
.top-infocard-text p{
font-size: 24px;
line-height: 32px;
}
}