challenge-landing-page-vict.../main.css
2022-10-13 12:25:58 -03:00

458 lines
6.5 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'inter', sans-serif;
}
.head-logo {
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
}
.head-image {
width: 100%;
padding: 28px 0 ;
}
.main-banner {
width: 100%;
display: block;
}
.main-image-desktop {
margin-bottom: 180px;
}
.middle-information {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 74px 0 80px;
}
.middle-text {
display:flex;
flex-direction: column;
align-items: center;
width: 40%;
margin-bottom: 74px;
}
.middle-information-subtitle {
font-weight: 400;
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.middle-information-title {
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
margin-bottom: 28px;
}
.middle-information-description {
font-size: 16px;
line-height: 24px;
}
.middle-cards {
display: flex;
justify-content: center;
gap: 22px;
width: 100%;
}
.middle-card {
display: flex;
flex-direction: column;
align-items: center;
width: 18%;
background-color:#FFFFFF;
box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23);
padding: 36px 26px 28px;
}
.middle-card-image {
margin-bottom: 26px;
}
.middle-card-description {
font-size: 16px;
line-height: 24px;
text-align: center;
}
.grid {
display: grid;
}
.grid-template-banners {
grid-template-areas: "one two three";
grid-column-gap: 40px;
}
.middle-banners {
width: 100%;
height: 530px;
position: relative;
background-color: #BDBDBD;
padding: 0 72px;
margin-bottom: 40px;
}
.middle-banners-image {
width: 100%;
margin-top: 62px;
}
.image-banner-one {
grid-area: one;
}
.image-banner-two {
grid-area: two;}
.image-banner-three {
grid-area: three;
}
.bottom-cards {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
margin: 130px 0 108px 0;
}
.bottom-card {
display:flex;
flex-direction: column;
align-items: center;
width: 24%;
padding: 34px 32px 64px;
background: #FFFFFF;
box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.15);
margin: 16px;
}
.bottom-card-image {
margin-bottom: 14px;
}
.bottom-card-description {
font-size: 16px;
line-height: 24px;
text-align: center;
}
.bottom-box {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 116px;
}
.bottom-informations {
width: 30%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 50px;
}
.bottom-information-subtitle {
font-size: 32px;
line-height: 39px;
font-weight: 600;
text-align: center;
}
.bottom-information-description {
font-size: 16px;
line-height: 24px;
text-align: center;
}
.page-footer {
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
padding: 38px 0;
background-color: #000000;
}
.footer-icons {
list-style: none;
display: flex;
}
.footer-icon {
margin: 0 8px;
margin-bottom: 16px;
}
.footer-icon:nth-child(3) {
margin-top: 4px;
}
.footer-text {
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
color: #BDBDBD;
}
.main-image-desktop {
display: flex;
}
.main-image-mobile {
display: none;
}
.main-banner-desktop {
display: flex;
}
.main-banner-mobile {
display: none;
}
.bottom-image-desktop {
width: 70%;
display: flex;
}
.bottom-image-mobile {
width: 100%;
display: none;
}
@media (min-width:4000px) {
.middle-banners {
height: 1200px;
}
.head-image {
width: 300%;
}
.middle-text {
width: 150%;
}
.middle-information-subtitle {
font-size: 80px;
line-height: 85px;
}
.middle-information-title {
font-size: 80px;
line-height: 85px;
}
.middle-information-description {
font-size: 35px;
line-height: 38px;
}
.main-image-desktop {
width: 200%;
}
.middle-card {
width: 100%;
}
.middle-card-description {
font-size: 40px;
line-height: 42px;
text-align: center;
}
.bottom-card-description {
font-size: 40px;
line-height: 42px;
text-align: center;
}
.bottom-information-subtitle {
font-size: 40px;
line-height: 42px;
}
.bottom-information-description {
font-size: 40px;
line-height: 42px;
text-align: center;
}
.footer-text {
font-size: 32px;
line-height: 35px;
text-transform: uppercase;
color: #BDBDBD;
}
}
@media (max-width: 1024px) {
.main-image-desktop {
display: none;
}
.main-image-mobile {
display: flex;
}
.main-banner-desktop {
display: none;
}
.main-banner-mobile {
display: flex;
}
.bottom-image-desktop {
display: none;
}
.bottom-image-mobile {
display: flex;
margin-bottom: 50px;
}
.bottom-box {
flex-direction: column-reverse;
margin-bottom: 88px;
}
.bottom-cards {
flex-direction: column;
margin: 80px 0 98px 0;
}
.bottom-card {
width: 89%;
}
.bottom-card-description {
font-size: 14px;
line-height: 24px;
text-align: center;
}
.bottom-information-subtitle {
font-weight: 600;
font-size: 24px;
line-height: 29px;
text-align: center;
}
.bottom-information-description {
font-size: 16px;
line-height: 24px;
text-align: center;
}
.footer-text {
width: 63%;
text-align: center;
}
.middle-cards {
flex-direction: column;
align-items: center;
margin: 90px 0 80px 0;
}
.middle-card {
width: 84%;
}
.middle-information {
padding-bottom: 0px;
}
.middle-information-subtitle {
font-size: 20px;
line-height: 24px;
}
.middle-information-title {
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
}
@media (max-width: 768px) {
.middle-banners {
height: 1030px;
padding: 0 23px;
}
.grid-template-banners {
grid-template-areas:
"one two"
"three three";
grid-column-gap: 7px;
grid-row-gap: 23px;
}
.middle-banners-image {
margin-top: 32px;
}
.middle-banners-image:nth-child(3) {
margin-top: 0;
}
}
@media (max-width: 520px) {
.middle-banners {
height: 574px;
}
}
@media (max-width: 480px) {
.bottom-informations {
width: 85%;
}
.middle-banners {
height: 550px;
}
.middle-text {
width: 86%;
}
}
@media (max-width:320px) {
.middle-banners {
height: 400px;
}
}
@media (max-width:280px) {
.middle-banners {
height: 350px;
}
}