challenge-landing-page-aman.../styles/main.css

443 lines
6.1 KiB
CSS
Raw Permalink Normal View History

2022-10-11 18:25:51 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: black;
font-family: "Inter", sans-serif;
2022-10-11 18:25:51 +00:00
}
/* Cabeçalho */
.page-header {
display: flex;
justify-content: center;
padding: 29px 0;
background: black;
}
.header-logo {
display: block;
2022-10-13 16:28:58 +00:00
max-width: 12%;
2022-10-11 18:25:51 +00:00
}
/* Corpo da pagina */
/* Banner principal */
.main-banner {
width: 100%;
}
2022-10-13 16:28:58 +00:00
/* InfoCard do Topo */
.top-infocard {
display: flex;
flex-direction: column;
gap: 73px;
align-items: center;
padding: 73px 0 179px;
width: 100%;
}
.top-infocard-text {
text-align: center;
2022-10-11 23:50:37 +00:00
width: 40%;
}
.top-infocard-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.top-infocard-title {
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
}
.top-infocard-description {
text-align: left;
line-height: 24px;
margin-top: 28px;
}
.top-infocard-image {
display: block;
2022-10-13 14:27:37 +00:00
max-width: 17%;
}
2022-10-13 16:28:58 +00:00
/* Card do Topo */
.top-cards {
display: flex;
justify-content: center;
gap: 21px;
padding: 0 0 80px;
}
.top-card {
display: flex;
width: 18%;
gap: 27px;
padding: 35px 0 27px;
flex-direction: column;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
}
.top-card-image {
display: block;
2022-10-13 14:27:37 +00:00
max-width: 30%;
}
.top-card-description {
2022-10-11 23:50:37 +00:00
width: 85%;
line-height: 24px;
text-align: center;
}
2022-10-13 16:28:58 +00:00
/* Card do Meio */
.middle-cards {
display: flex;
gap: 39px;
background: #e0e0e0;
justify-content: center;
}
.middle-card {
width: 30%;
position: relative;
top: 68px;
}
.middle-card-image {
display: block;
width: 100%;
}
2022-10-13 16:28:58 +00:00
/* Card de baixo */
.bottom-cards {
display: flex;
align-items: center;
justify-content: center;
padding: 197px 0 54px;
gap: 16px;
}
.bottom-card {
display: flex;
flex-direction: column;
padding: 35px 0 65px;
gap: 15px;
width: 23%;
align-items: center;
background: #ffffff;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
}
.bottom-card-image {
2022-10-13 14:27:37 +00:00
display: block;
max-width: 24%;
}
.bottom-card-description {
width: 85%;
text-align: center;
line-height: 24px;
}
2022-10-13 16:28:58 +00:00
/* InfoCard de baixo */
.bottom-infocards {
display: flex;
flex-direction: column;
align-items: center;
gap: 50px;
padding: 54px 0 116px;
}
2022-10-11 23:50:37 +00:00
.bottom-infocard {
display: flex;
justify-content: center;
}
.bottom-infocard-text {
2022-10-11 23:50:37 +00:00
width: 28%;
text-align: center;
}
.bottom-infocard-title {
font-size: 32px;
line-height: 39px;
font-weight: 600;
}
.bottom-infocard-description {
font-weight: 400;
font-size: 16px;
line-height: 24px;
}
.bottom-infocard-desktop {
2022-10-11 23:50:37 +00:00
width: 70%;
}
2022-10-13 16:28:58 +00:00
/* Rodapé */
2022-10-11 23:50:37 +00:00
.page-footer {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
padding: 38px 0;
background: #000000;
}
.footer-icons {
display: flex;
list-style: none;
gap: 16px;
2022-10-13 14:27:37 +00:00
text-align: center;
2022-10-11 23:50:37 +00:00
}
.footer-icon {
2022-10-13 14:27:37 +00:00
display: block;
2022-10-11 23:50:37 +00:00
max-width: 30%;
}
2022-10-13 14:27:37 +00:00
.footer-image {
width: 50%;
}
2022-10-11 23:50:37 +00:00
.footer-text {
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #bdbdbd;
}
2022-10-13 16:28:58 +00:00
/* Tela 4K */
2022-10-13 14:27:37 +00:00
@media screen and (min-width: 2500px) {
2022-10-13 16:28:58 +00:00
/* Corpo da pagina */
/* InfoCard do Topo */
2022-10-13 14:27:37 +00:00
.top-infocard-subtitle {
font-size: 62px;
line-height: 78px;
}
.top-infocard-title {
font-size: 96px;
line-height: 116px;
}
2022-10-13 16:28:58 +00:00
.top-infocard-description {
font-size: 32px;
line-height: 48px;
}
/* Card do Topo */
.top-card-description {
font-size: 32px;
line-height: 48px;
}
/* Card de baixo */
.bottom-card-description {
font-size: 32px;
line-height: 48px;
}
/* InfoCard de baixo */
2022-10-13 14:27:37 +00:00
.bottom-infocard-description {
font-size: 32px;
line-height: 48px;
}
.bottom-infocard-title {
font-size: 64px;
line-height: 78px;
}
2022-10-13 16:28:58 +00:00
/* Rodapé */
2022-10-13 14:27:37 +00:00
.footer-text {
font-size: 20px;
line-height: 24px;
}
.footer-image {
width: 100%;
}
}
2022-10-13 16:28:58 +00:00
/* Remove banner mobile */
2022-10-13 14:27:37 +00:00
@media screen and (min-width: 415px) {
/* Corpo da pagina */
/* Banner principal */
.main-banner-mobile {
display: none;
}
2022-10-13 16:28:58 +00:00
/* InfoCard de baixo */
.bottom-infocard-mobile {
display: none;
}
}
2022-10-13 16:28:58 +00:00
/* Tela Mobile */
2022-10-11 18:25:51 +00:00
@media screen and (max-width: 1024px) {
/* Cabeçalho */
2022-10-11 18:25:51 +00:00
.header-logo {
2022-10-13 16:28:58 +00:00
max-width: 55%;
2022-10-11 18:25:51 +00:00
}
2022-10-13 16:28:58 +00:00
/* Corpo da pagina */
/* InfoCard do Topo */
.top-infocard {
2022-10-13 16:28:58 +00:00
padding: 73px 28px 90px;
width: 100%;
}
2022-10-13 16:28:58 +00:00
.top-infocard-text {
width: 86%;
}
.top-infocard-subtitle {
font-size: 23px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 33px;
}
2022-10-13 16:28:58 +00:00
.top-infocard-description {
text-align: center;
}
2022-10-13 16:28:58 +00:00
.top-infocard-image {
max-width: 72%;
}
2022-10-13 16:28:58 +00:00
/* Card do Topo */
.top-cards {
align-items: center;
flex-direction: column;
padding: 0 32px 80px;
}
.top-card {
2022-10-13 16:28:58 +00:00
width: 100%;
}
2022-10-13 16:28:58 +00:00
/* Card do Meio */
.middle-cards {
flex-direction: row;
flex-wrap: wrap;
gap: 14px;
padding: 0 23px 0;
}
.middle-card {
top: 32px;
}
.middle-card-mobile {
2022-10-13 16:28:58 +00:00
width: 96%;
margin-top: 14px;
}
.middle-cards-mobile {
2022-10-13 16:28:58 +00:00
width: 47%;
}
2022-10-13 16:28:58 +00:00
/* Card de baixo */
.bottom-cards {
padding: 112px 23px 98px;
flex-direction: column;
}
.bottom-card {
2022-10-13 16:28:58 +00:00
width: 100%;
}
.bottom-card-image {
2022-10-13 14:27:37 +00:00
max-width: 28%;
}
.bottom-card-description {
width: 82%;
font-size: 14px;
}
2022-10-13 16:28:58 +00:00
/* InfoCard de baixo */
.bottom-infocard-mobile {
width: 100%;
}
.bottom-infocards {
flex-direction: column-reverse;
}
.bottom-infocard {
display: flex;
justify-content: center;
padding: 0 32px 0;
}
.bottom-infocard-text {
2022-10-13 16:28:58 +00:00
display: flex;
flex-direction: column;
gap: 9px;
2022-10-11 23:50:37 +00:00
width: 85%;
}
.bottom-infocard-title {
font-size: 24px;
line-height: 29px;
}
2022-10-11 23:50:37 +00:00
2022-10-13 16:28:58 +00:00
/* Rodapé */
2022-10-11 23:50:37 +00:00
.footer-text {
width: 63%;
text-align: center;
}
2022-10-11 18:25:51 +00:00
}
2022-10-13 14:27:37 +00:00
2022-10-13 16:28:58 +00:00
/* Remove Banner Desktop */
2022-10-13 14:27:37 +00:00
@media screen and (max-width: 414px) {
2022-10-13 16:28:58 +00:00
/* Corpo da pagina */
/* Banner Principal */
2022-10-13 14:27:37 +00:00
.main-banner-desktop {
display: none;
}
2022-10-13 16:28:58 +00:00
/* InfoCard de baixo */
2022-10-13 14:27:37 +00:00
.bottom-infocard-desktop {
display: none;
}
}