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

443 lines
6.1 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
color: black;
font-family: "Inter", sans-serif;
}
/* Cabeçalho */
.page-header {
display: flex;
justify-content: center;
padding: 29px 0;
background: black;
}
.header-logo {
display: block;
max-width: 12%;
}
/* Corpo da pagina */
/* Banner principal */
.main-banner {
width: 100%;
}
/* 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;
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;
max-width: 17%;
}
/* 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;
max-width: 30%;
}
.top-card-description {
width: 85%;
line-height: 24px;
text-align: center;
}
/* 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%;
}
/* 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 {
display: block;
max-width: 24%;
}
.bottom-card-description {
width: 85%;
text-align: center;
line-height: 24px;
}
/* InfoCard de baixo */
.bottom-infocards {
display: flex;
flex-direction: column;
align-items: center;
gap: 50px;
padding: 54px 0 116px;
}
.bottom-infocard {
display: flex;
justify-content: center;
}
.bottom-infocard-text {
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 {
width: 70%;
}
/* Rodapé */
.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;
text-align: center;
}
.footer-icon {
display: block;
max-width: 30%;
}
.footer-image {
width: 50%;
}
.footer-text {
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #bdbdbd;
}
/* Tela 4K */
@media screen and (min-width: 2500px) {
/* Corpo da pagina */
/* InfoCard do Topo */
.top-infocard-subtitle {
font-size: 62px;
line-height: 78px;
}
.top-infocard-title {
font-size: 96px;
line-height: 116px;
}
.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 */
.bottom-infocard-description {
font-size: 32px;
line-height: 48px;
}
.bottom-infocard-title {
font-size: 64px;
line-height: 78px;
}
/* Rodapé */
.footer-text {
font-size: 20px;
line-height: 24px;
}
.footer-image {
width: 100%;
}
}
/* Remove banner mobile */
@media screen and (min-width: 415px) {
/* Corpo da pagina */
/* Banner principal */
.main-banner-mobile {
display: none;
}
/* InfoCard de baixo */
.bottom-infocard-mobile {
display: none;
}
}
/* Tela Mobile */
@media screen and (max-width: 1024px) {
/* Cabeçalho */
.header-logo {
max-width: 55%;
}
/* Corpo da pagina */
/* InfoCard do Topo */
.top-infocard {
padding: 73px 28px 90px;
width: 100%;
}
.top-infocard-text {
width: 86%;
}
.top-infocard-subtitle {
font-size: 23px;
line-height: 24px;
}
.top-infocard-title {
font-size: 28px;
line-height: 33px;
}
.top-infocard-description {
text-align: center;
}
.top-infocard-image {
max-width: 72%;
}
/* Card do Topo */
.top-cards {
align-items: center;
flex-direction: column;
padding: 0 32px 80px;
}
.top-card {
width: 100%;
}
/* Card do Meio */
.middle-cards {
flex-direction: row;
flex-wrap: wrap;
gap: 14px;
padding: 0 23px 0;
}
.middle-card {
top: 32px;
}
.middle-card-mobile {
width: 96%;
margin-top: 14px;
}
.middle-cards-mobile {
width: 47%;
}
/* Card de baixo */
.bottom-cards {
padding: 112px 23px 98px;
flex-direction: column;
}
.bottom-card {
width: 100%;
}
.bottom-card-image {
max-width: 28%;
}
.bottom-card-description {
width: 82%;
font-size: 14px;
}
/* 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 {
display: flex;
flex-direction: column;
gap: 9px;
width: 85%;
}
.bottom-infocard-title {
font-size: 24px;
line-height: 29px;
}
/* Rodapé */
.footer-text {
width: 63%;
text-align: center;
}
}
/* Remove Banner Desktop */
@media screen and (max-width: 414px) {
/* Corpo da pagina */
/* Banner Principal */
.main-banner-desktop {
display: none;
}
/* InfoCard de baixo */
.bottom-infocard-desktop {
display: none;
}
}