forked from M3-Academy/practice-time-landing-page
121 lines
1.9 KiB
CSS
121 lines
1.9 KiB
CSS
* {
|
|
padding: 0;
|
|
margin: 0;
|
|
box-sizing: border-box;
|
|
font-family: 'Inter', sans-serif;
|
|
color: #000000;
|
|
|
|
}
|
|
/*///////////// HEADER /////////////////// */
|
|
.page-header {
|
|
background: #000000;
|
|
display: flex;
|
|
justify-content: center;
|
|
padding: 28px 0;
|
|
}
|
|
|
|
.header-logo {
|
|
display: block;
|
|
}
|
|
|
|
/*///////////// SECTION 01 + @media desktop e mobile /////////////////// */
|
|
|
|
.main-banner {
|
|
display: block;
|
|
width: 100%;
|
|
|
|
}
|
|
/*///////////// SECTION 02 INFO CARD TOP ///////////////////*/
|
|
.top-infocard {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 80px 0 96px;
|
|
}
|
|
|
|
|
|
.top-infocard-text{
|
|
max-width: 766px;
|
|
margin-right: 124px;
|
|
}
|
|
|
|
.top-infocard-subtitle {
|
|
font-weight: 400;
|
|
font-size: 32px;
|
|
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.top-infocard-title {
|
|
font-weight: 500;
|
|
font-size: 48px;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
.top-infocard-description {
|
|
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
/*///////////////// ABAIXO DE 414PX /////////////////*/
|
|
|
|
@media screen and (max-width: 414px){
|
|
.main-banner-desktop {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/*///////////////// ACIMA DE 768PX /////////////////*/
|
|
@media screen and (max-width: 992px){
|
|
.top-infocard{
|
|
flex-direction: column;
|
|
padding: 84px 26px 158px;
|
|
}
|
|
|
|
.top-infocard-text{
|
|
margin: 0 0 68px;
|
|
}
|
|
|
|
.top-infocard-subtitle{
|
|
font-size: 20px;
|
|
}
|
|
|
|
.top-infocard-title{
|
|
font-size: 28px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.top-infocard-description{
|
|
font-size: 16px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.top-infocard-image{
|
|
width: 100%;
|
|
max-width: 240px;
|
|
}
|
|
}
|
|
|
|
/*//////////////////MEDIA DE UM TAMANHO ATE O OUTR////////////////*/
|
|
@media screen and (min-width: 993px) and (max-width: 1280px) {
|
|
.top-infocard-text{
|
|
max-width: 520px;
|
|
margin-right: 70px;
|
|
}
|
|
}
|
|
|
|
/*///////////////// ABAIXO DE 415PX /////////////////*/
|
|
@media screen and (min-width: 415px ) {
|
|
.main-banner-mobile{
|
|
display: none;
|
|
}
|
|
|
|
}
|
|
|