challenge-landing-page/assents/style/estilo.css
2022-10-13 01:19:08 -03:00

206 lines
3.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;
}
/*Card de baixo */
.amiga {
display: flex;
align-items: center;
justify-content: center;
padding: 0 4.5rem;
}
.card-total-bottom {
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 6rem;
gap: 16px;
width: 100%;
margin: 0;
}
.card-foto-bottom {
display: block;
margin-bottom: 15px;
width: 28%;
height: 47%;
}
.text-card-bottom {
font-size: 16px;
line-height: 24px;
max-width: 367px;
text-align: center;
}
/*Galeria de fotos*/
.gallery {
display: flex;
justify-content: center;
align-items: center;
background-color: #E0E0E0;
height: 14%;
max-height: 570px;
padding-top: 62px;
}
.gallery-box {
display: flex;
align-items: center;
justify-content: center;
gap: 39px;
width: 30%;
height: 89%;
}
.gallery-foto {
display: block;
width: 100%;
height: 100%;
max-width: 556px;
max-height: 530px;
}
@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;
}
}