challenge-landing-page-vict.../main.css

453 lines
6.4 KiB
CSS
Raw Normal View History

2022-10-13 15:03:15 +00:00
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
2022-10-09 23:54:59 +00:00
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
2022-10-10 01:43:13 +00:00
body {
font-family: 'inter', sans-serif;
}
2022-10-13 15:03:15 +00:00
2022-10-09 23:54:59 +00:00
.head-logo {
display: flex;
flex-direction: column;
align-items: center;
background-color: black;
}
2022-10-13 15:03:15 +00:00
2022-10-09 23:54:59 +00:00
.head-image {
width: 100%;
padding: 28px 0 ;
}
.main-banner {
width: 100%;
2022-10-10 19:10:57 +00:00
display: block;
}
.main-image-desktop {
margin-bottom: 180px;
2022-10-10 01:43:13 +00:00
}
.middle-information {
2022-10-10 01:43:13 +00:00
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
2022-10-10 20:42:04 +00:00
padding: 74px 0 80px;
2022-10-10 01:43:13 +00:00
}
.middle-text {
display:flex;
2022-10-10 01:43:13 +00:00
flex-direction: column;
align-items: center;
width: 40%;
margin-bottom: 74px;
2022-10-10 01:43:13 +00:00
}
.middle-information-subtitle {
2022-10-13 15:03:15 +00:00
font-weight: 400;
2022-10-10 01:43:13 +00:00
font-size: 32px;
line-height: 39px;
text-transform: uppercase;
}
.middle-information-title {
2022-10-10 01:43:13 +00:00
font-weight: 500;
font-size: 48px;
line-height: 58px;
text-transform: uppercase;
margin-bottom: 28px;
}
2022-10-13 15:03:15 +00:00
.middle-information-description {
font-size: 16px;
line-height: 24px;
}
2022-10-10 19:10:57 +00:00
.middle-cards {
display: flex;
justify-content: center;
gap: 22px;
2022-10-13 15:03:15 +00:00
width: 100%;
}
2022-10-10 19:10:57 +00:00
.middle-card {
display: flex;
flex-direction: column;
align-items: center;
2022-10-13 15:03:15 +00:00
width: 18%;
2022-10-10 19:10:57 +00:00
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;
}
2022-10-13 15:03:15 +00:00
.grid {
display: grid;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.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;
}
2022-10-10 20:42:04 +00:00
2022-10-13 15:03:15 +00:00
.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;
2022-10-10 20:42:04 +00:00
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.head-image {
width: 300%;
2022-10-10 20:42:04 +00:00
}
2022-10-13 15:03:15 +00:00
.middle-text {
width: 150%;
}
.middle-information-subtitle {
font-size: 80px;
line-height: 85px;
}
2022-10-10 20:42:04 +00:00
2022-10-13 15:03:15 +00:00
.middle-information-title {
font-size: 80px;
line-height: 85px;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.middle-information-description {
font-size: 35px;
line-height: 38px;
}
.main-image-desktop {
width: 200%;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.middle-card {
width: 100%;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.middle-card-description {
font-size: 40px;
line-height: 42px;
text-align: center;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.bottom-card-description {
font-size: 40px;
line-height: 42px;
text-align: center;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.bottom-information-subtitle {
font-size: 40px;
line-height: 42px;
}
.bottom-information-description {
font-size: 40px;
line-height: 42px;
text-align: center;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.footer-text {
font-size: 32px;
line-height: 35px;
text-transform: uppercase;
color: #BDBDBD;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
@media (max-width: 1024px) {
.main-image-desktop {
display: none;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.main-image-mobile {
display: flex;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.main-banner-desktop {
display: none;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.main-banner-mobile {
display: flex;
}
.bottom-image-desktop {
display: none;
2022-10-13 15:03:15 +00:00
}
.bottom-image-mobile {
display: flex;
margin-bottom: 50px;
}
2022-10-13 15:03:15 +00:00
.bottom-box {
flex-direction: column-reverse;
margin-bottom: 88px;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.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;
}
2022-10-10 19:10:57 +00:00
2022-10-13 15:03:15 +00:00
.footer-text {
width: 63%;
text-align: center;
}
2022-10-13 15:03:15 +00:00
.middle-cards {
flex-direction: column;
align-items: center;
margin: 90px 0 80px 0;
}
.middle-card {
width: 84%;
}
.middle-information {
2022-10-13 15:03:15 +00:00
padding-bottom: 0px;
}
.middle-information-subtitle {
font-size: 20px;
line-height: 24px;
}
.middle-information-title {
2022-10-13 15:03:15 +00:00
font-weight: 500;
font-size: 28px;
line-height: 34px;
}
2022-10-13 15:03:15 +00:00
}
@media (max-width: 768px) {
.middle-banners {
height: 1030px;
padding: 0 23px;
}
.grid-template-banners {
grid-template-areas:
"one two"
"three three";
2022-10-13 15:03:15 +00:00
grid-column-gap: 7px;
grid-row-gap: 23px;
}
.middle-banners-image {
margin-top: 32px;
}
.middle-banners-image:nth-child(3) {
margin-top: 0;
}
}
2022-10-13 15:03:15 +00:00
@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;
}
}