challenge-landing-page/assents/style/estilo.css

145 lines
2.1 KiB
CSS

/*configurações globais*/
* {
margin: 0;
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
}
/*Logo da M3 Academy*/
.page-header {
display: flex;
justify-content: center;
background-color: black;
padding: 29px 0 29px;
}
.logo-m3 {
width: 12%;
height: 42%;
min-height: 23px;
min-width: 110px;
}
/*Banner do top*/
.banner-principal {
width: 100%;
min-height: 19%;
}
.banner-big {
display: block;
width: 100%;
height: auto;
}
.banner-big-mobile {
display: none;
width: 100%;
max-height: 700px;
height: 11%;
}
/*Imagem */
.theree-computer {
margin-bottom: 179px;
}
/*texto inicial*/
.text {
display: block;
text-align: center;
font-family: 'Inter';
}
.box-text {
flex-direction: row;
text-transform: uppercase;
margin-top: 79px;
}
.text-title {
font-weight: 500px;
font-size: 48px;
line-height: 58px;
padding-bottom: 29px;
}
.text-sub-title {
font-weight: 400;
font-size: 32px;
line-height: 39px;
}
.text-description {
text-align: justify;
margin: 0 30% 76px;
padding: 0 28px;
width: 45%;
}
/*Cards do topo*/
.cards-top {
display: grid;
grid-template-columns: repeat(3, max-content);
gap: 20px;
justify-content: center;
}
.card {
display: flex;
flex-direction: column;
align-items: center;
padding: 36px 26px 27px ;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.card-foto {
display: block;
margin-bottom: 27px;
width: 35%;
height: 46%;
}
.text-card {
font-size: 16px;
line-height: 24px;
max-width: 300px;
text-align: center;
}
@media screen and (max-width: 1023px) {
.banner-big {
display: none;
}
.banner-big-mobile {
display: block;
}
.text-description {
text-align: center;
margin: 0 0 79px;
width: 100%;
}
.text-card {
max-width: max-content;
}
.theree-computer {
width: 239px;
height: 239px;
}
.cards-top {
grid-template-columns: 1fr;
margin: 0 32px;
}
}