challenge-landing-page-caio.../styles.css

479 lines
10 KiB
CSS

/* CÓDIGO DE IMPORTAÇÃO DA FONTE / FONT IMPORT CODE */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@font-face {
font-family: 'Inter';
src: 'https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap' ;
}
* {
font-family: 'Bebas Neue', cursive;
font-family: 'Inter', sans-serif;
}
/* CÓDIGO DE IMPORTAÇÃO DA FONTE / FONT IMPORT CODE */
* {
margin: 0;
border: 0;
align-items: center;
justify-content: center;
}
header {
display: flex;
width: 100%;
background-color: black;
padding-top: 28px;
padding-bottom: 28px;
}
.header-logo {
width: 226.16px; height: 43px;
}
.main-poster {
width: 100%;
margin-bottom: 73px;
}
.info-1 {
display: flex;
flex-direction: column;
}
.info-1-subtitulo {
text-transform: uppercase;
font-weight: 400;
font-size: 32px;
width: 220px;
max-width: 100%;
height: 39px;
}
.info-1-titulo {
text-transform: uppercase;
font-weight: 500;
font-size: 48px;
width: 403px;
max-width: 100%;
height: 58px;
margin-bottom: 28px;
}
.info-1-texto {
font-weight: 400;
font-size: 16px;
line-height: 24px;
width: 766px;
max-width: 100%;
height: 56px;
margin-bottom: 73px;
}
.computadores {
width: 315.5;
max-width: 100%;
height: 315;
margin-bottom: 178.5px;
}
/* -------------------------- */
.cards-1 {
display: flex;
gap: 21px;
}
.card-1-1, .card-1-2, .card-1-3 {
display: flex;
flex-direction: column;
width: 18.23%;
max-width: 350px;
height: 287px;
gap: 21px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
margin-bottom: 80px;
}
.card-logo-1-1, .card-logo-1-2, .card-logo-1-3 {
display: block;
width: 103px;
height: 103px;
}
.card-1-text {
font-size: 16px;
font-weight: 400;
max-width: 299px;
height: 95px;
text-align: center;
}
/* -------------------------- */
.laptops-background {
display: flex;
width: 100%;
height: 530px;
margin-bottom: -468px;
background-color: #E0E0E0;
}
.laptops-img-div {
display: flex;
margin-left: 72px;
margin-right: 72px;
gap: 39px;
}
.laptop-img {
width: 566px;
max-width: 100%;
height: 530px;
margin-bottom: 129px;
}
/* -------------------------- */
.cards-2 {
display: flex;
justify-content: center;
gap: 16px;
}
.card-2-1, .card-2-2, .card-2-3, .card-2-4 {
display: flex;
flex-direction: column;
width: 432px;
max-width: 100%;
height: 332px;
gap: 21px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
margin-bottom: 108px;
}
.card-logo-2-1, .card-logo-2-2, .card-logo-2-3{
display: block;
width: 104px;
max-width: 100%;
height: 104px;
}
.card-logo-2-4{
display: block;
width: 85px;
max-width: 100%;
height: 104px;
}
.card-2-text {
font-size: 16px;
font-weight: 400;
width: 367px;
max-width: 100%;
height: 95px;
line-height: 24px;
text-align: center;
}
/* -------------------------- */
.info-2 {
display: flex;
flex-direction: column;
}
.titulo-2 {
font-weight: 600;
font-size: 32px;
}
.titulo-2-texto {
font-weight: 400;
font-size: 16px;
width: 550px;
max-width: 100%;
text-align: center;
margin-bottom: 50px;
}
.titulo-2-div {
display: flex;
flex-direction: column;
}
.end-image-div {
display: flex;
}
.end-image {
margin-top: 50px;
width: 70.83%;
max-width: 100%;
height: 276px;
margin-bottom: 116px;
}
footer {
display: flex;
height: 128px;
width: 100%;
background: black;
flex-direction: column;
}
.footer-div {
display: flex;
flex-direction: column;
}
.footer-imgs {
display: flex;
justify-content: space-around;
align-self: center;
width: 104px;
height: 24px;
gap: 16px;
margin-bottom: 17px;
}
.facebook-logo, .youtube-logo, .instagram-logo {
width: 25px;
height: 25px;
gap: 16px;
}
.footer-text {
font-weight: 400;
width: fit-content;
height: 11px;
color: #BDBDBD;
size: 10px;
line-height: 12.1px;
}
@media only screen and (max-width: 414px){
.info-1-subtitulo {width: 138px; height: 24px; font-size: 20px; margin-bottom: 1px;}
.info-1-titulo {width: 235px; height: 49px; font-size: 28px; margin-bottom: 46px;}
.info-1-texto {width: 357px; height: 115px; font-size: 16px ; text-align: center; margin-bottom: 65px;}
.computadores {width: 239px; height: 239.38px; margin-bottom: 90.62px;}
.cards-1 {flex-direction: column; gap: 24px;}
.card-1-1, .card-1-2, .card-1-3 {width: 350px; height: 287px; max-width: 100%;}
.card-1-text {line-height: 24px;}
.laptops-img-div {flex-wrap: wrap; margin-left: 0; margin-right: 0; gap: 14px;}
.laptops-background {height: 574px; margin-bottom: -541px;}
.laptop-img {width: 177px; height: 178px; margin-bottom: 0px;}
.flex-break {flex-basis: 100%; height: 0;}
.laptop-img3 {width: 368px; height: 372px; margin-top: -5px; margin-bottom: 80px;}
/*margin-top aqui define a distância da gap vertical entre o quadro maior e os menores*/
.cards-2 {flex-direction: column; gap: 16px;}
.card-2-1, .card-2-2, .card-2-3, .card-2-4 {width: 368px; height: 332px; margin-bottom: 0px;}
.card-2-text {font-size: 14px; line-height: 24px; width: 302px; height: 113;}
.info-2 {flex-direction: column-reverse;}
.end-image {margin-top: 98px; width: 100%; height: auto; margin-bottom: 50px;}
.titulo-2 {margin-bottom: 9px; width: 315px; max-width: 100%; height: 29px; font-size: 24px; line-height: 29.05px;}
.titulo-2-texto {margin-bottom: 87px; width: 350px; max-width: 100%; height: 192px; font-size: 16px; line-height: 24px;}
.footer-div {display: flex; flex-direction: column; height: 64px;}
.footer-imgs {margin-bottom: 16px;}
.footer-text {width: 261px; max-width: 100%; height: 23px; font-size: 10px; line-height: 12.1px; text-align: center;}
}
@media screen and (max-width: 425px) {
.titulo-2 {margin-bottom: 9px; width: 265px; max-width: 100%; height: 29px; font-size: 20px; line-height: 25.05px;}
.titulo-2-texto {margin-bottom: 47px; width: 260px; max-width: 100%; height: 232px; font-size: 12px; line-height: 16px;}
.footer-div {display: flex; flex-direction: column; height: 64px;}
.footer-imgs {margin-bottom: 16px;}
.footer-text {width: 261px; max-width: 100%; height: 23px; font-size: 10px; line-height: 12.1px; text-align: center;}
}
@media screen and (min-width: 992px) {
.titulo-2 {margin-bottom: 9px; width: fit-content; max-width: 100%; height: 29px; line-height: 25.05px; font-size: 40px;}
.titulo-2-texto {margin-bottom: 47px; width: 660px; max-width: 100%; height: 232px; line-height: 16px;}
}
.laptops-img-div {flex-wrap: wrap; margin-left: 0; margin-right: 0; gap: 14px;}
.laptops-background {height: 574px; margin-bottom: -541px;}
.laptop-img {width: 177px; height: 178px; margin-bottom: 0px;}
.flex-break {flex-basis: 100%; height: 0;}
.laptop-img3 {width: 368px; height: 372px; margin-top: -5px; margin-bottom: 80px;}
.cards-1 {flex-wrap: wrap;}
.card-1-1, .card-1-2, .card-1-3 {width: 350px; height: 287px; max-width: 100%;}
.cards-2 {flex-wrap: wrap;}
.footer-div {display: flex; flex-direction: column; height: 64px;}
.footer-imgs {margin-bottom: 16px;}
.footer-text {width: 261px; max-width: 100%; height: 23px; font-size: 10px; line-height: 12.1px; text-align: center;}
@media screen and (min-width: 3840px) {
header {
padding-top: 56px;
padding-bottom: 56px;
}
.header-logo {
width: 452.32px; height: 86px;
}
.main-poster {
margin-bottom: 146px;
}
/*-------------------------------------*/
.info-1-subtitulo {
font-size: 64px;
width: 440px;
height: 78px;
}
.info-1-titulo {
font-size: 96px;
width: 806px;
height: 116px;
margin-bottom: 56px;
}
.info-1-texto {
font-size: 32px;
line-height: 48px;
width: 1488px;
height: 108px;
margin-bottom: 120px;
}
.computadores {
width: 631px;
height: 630px;
margin-bottom: 357px;
}
/* -------------------------- */
.cards-1 {
display: flex;
gap: 21px;
}
.card-1-1, .card-1-2, .card-1-3 {
display: flex;
flex-direction: column;
width: 18.23%;
max-width: 700px;
height: 574px;
gap: 42px;
background: #FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
margin-bottom: 160px;
}
.card-logo-1-1, .card-logo-1-2, .card-logo-1-3 {
display: block;
width: 206px;
height: 206px;
}
.card-1-text {
font-size: 32px;
font-weight: 400;
max-width: 598px;
height: 190px;
text-align: center;
}
/* -------------------------- */
.laptops-background {
height: 1060px;
margin-bottom: -936px;
}
.laptops-img-div {
margin-left: 144px;
margin-right: 144px;
gap: 78px;
}
.laptop-img {
width: 1132px;
height: 1060px;
margin-bottom: 258px;
}
/* -------------------------- */
.cards-2 {
gap: 32px;
}
.card-2-1, .card-2-2, .card-2-3, .card-2-4 {
width: 864px;
height: 664px;
gap: 42px;
margin-bottom: 216px;
}
.card-logo-2-1, .card-logo-2-2, .card-logo-2-3, .card-logo-2-4{
width: 208px;
height: 208px;
}
.card-2-text {
font-size: 32px;
width: 734px;
height: 190px;
line-height: 48px;
}
/* -------------------------- */
.titulo-2 {
font-size: 64px;
}
.titulo-2-texto {
font-size: 32px;
width: 1100px;
margin-bottom: 100px;
}
.end-image {
margin-top: 100px;
width: 70.83%;
height: 552px;
margin-bottom: 232px;
}
footer {
height: 256px;
width: 100%;
}
.footer-imgs {
width: 208px;
height: 48px;
gap: 32px;
margin-bottom: 34px;
}
.facebook-logo, .youtube-logo, .instagram-logo {
width: 50px;
height: 50px;
gap: 32px;
}
.footer-text {
height: 22px;
size: 20px;
line-height: 24.2px;
}
}